blob: 7e5dff1de0e9fc8a98cab9810a69f4549dec3c17 [file] [log] [blame]
H. Peter Anvin1965aae2008-10-22 22:26:29 -07001#ifndef _ASM_X86_IST_H
2#define _ASM_X86_IST_H
Linus Torvalds1da177e2005-04-16 15:20:36 -07003
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 Anvin238b7062007-07-18 17:19:30 -070020#include <linux/types.h>
21
Linus Torvalds1da177e2005-04-16 15:20:36 -070022struct ist_info {
Rusty Russellee8e7cf2007-10-22 10:56:19 +100023 __u32 signature;
24 __u32 command;
25 __u32 event;
26 __u32 perf_level;
Linus Torvalds1da177e2005-04-16 15:20:36 -070027};
28
Rusty Russellee8e7cf2007-10-22 10:56:19 +100029#ifdef __KERNEL__
30
Linus Torvalds1da177e2005-04-16 15:20:36 -070031extern struct ist_info ist_info;
32
33#endif /* __KERNEL__ */
H. Peter Anvin1965aae2008-10-22 22:26:29 -070034#endif /* _ASM_X86_IST_H */