blob: 35a2fe9bc9212f799d3f3c2797af33d65b11eacd [file] [log] [blame]
Vegard Nossum77ef50a2008-06-18 17:08:48 +02001#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__ */
Vegard Nossum77ef50a2008-06-18 17:08:48 +020034#endif /* ASM_X86__IST_H */