H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame^] | 1 | #ifndef _ASM_X86_IST_H |
| 2 | #define _ASM_X86_IST_H |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | |
| 4 | /* |
| 5 | * Include file for the interface to IST BIOS |
| 6 | * Copyright 2002 Andy Grover <andrew.grover@intel.com> |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify it |
| 9 | * under the terms of the GNU General Public License as published by the |
| 10 | * Free Software Foundation; either version 2, or (at your option) any |
| 11 | * later version. |
| 12 | * |
| 13 | * This program is distributed in the hope that it will be useful, but |
| 14 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 16 | * General Public License for more details. |
| 17 | */ |
| 18 | |
| 19 | |
H. Peter Anvin | 238b706 | 2007-07-18 17:19:30 -0700 | [diff] [blame] | 20 | #include <linux/types.h> |
| 21 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | struct ist_info { |
Rusty Russell | ee8e7cf | 2007-10-22 10:56:19 +1000 | [diff] [blame] | 23 | __u32 signature; |
| 24 | __u32 command; |
| 25 | __u32 event; |
| 26 | __u32 perf_level; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 27 | }; |
| 28 | |
Rusty Russell | ee8e7cf | 2007-10-22 10:56:19 +1000 | [diff] [blame] | 29 | #ifdef __KERNEL__ |
| 30 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | extern struct ist_info ist_info; |
| 32 | |
| 33 | #endif /* __KERNEL__ */ |
H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame^] | 34 | #endif /* _ASM_X86_IST_H */ |