Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ASM_IST_H |
| 2 | #define _ASM_IST_H |
| 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 | |
| 20 | #ifdef __KERNEL__ |
| 21 | |
H. Peter Anvin | 238b706 | 2007-07-18 17:19:30 -0700 | [diff] [blame] | 22 | #include <linux/types.h> |
| 23 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | struct ist_info { |
H. Peter Anvin | 238b706 | 2007-07-18 17:19:30 -0700 | [diff] [blame] | 25 | u32 signature; |
| 26 | u32 command; |
| 27 | u32 event; |
| 28 | u32 perf_level; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | }; |
| 30 | |
| 31 | extern struct ist_info ist_info; |
| 32 | |
| 33 | #endif /* __KERNEL__ */ |
| 34 | #endif /* _ASM_IST_H */ |