2008-06-18 23:08:48 +08:00
|
|
|
#ifndef ASM_X86__IST_H
|
|
|
|
#define ASM_X86__IST_H
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Include file for the interface to IST BIOS
|
|
|
|
* Copyright 2002 Andy Grover <andrew.grover@intel.com>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation; either version 2, or (at your option) any
|
|
|
|
* later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2007-07-19 08:19:30 +08:00
|
|
|
#include <linux/types.h>
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
struct ist_info {
|
2007-10-22 08:56:19 +08:00
|
|
|
__u32 signature;
|
|
|
|
__u32 command;
|
|
|
|
__u32 event;
|
|
|
|
__u32 perf_level;
|
2005-04-17 06:20:36 +08:00
|
|
|
};
|
|
|
|
|
2007-10-22 08:56:19 +08:00
|
|
|
#ifdef __KERNEL__
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
extern struct ist_info ist_info;
|
|
|
|
|
|
|
|
#endif /* __KERNEL__ */
|
2008-06-18 23:08:48 +08:00
|
|
|
#endif /* ASM_X86__IST_H */
|