Loading...
Searching...
No Matches
Go to the documentation of this file.
15#ifndef __INTEL_SMRAM_SAVE_STATE_MAP_H__
16#define __INTEL_SMRAM_SAVE_STATE_MAP_H__
21#define SMM_DEFAULT_SMBASE 0x30000
26#define SMM_HANDLER_OFFSET 0x8000
31#define SMRAM_SAVE_STATE_MAP_OFFSET 0xfc00
39 UINT8 Reserved[0x200];
42 UINT8 Reserved1[0xf8];
46 UINT16 AutoHALTRestart;
47 UINT8 Reserved2[0x9C];
78 UINT8 Reserved1[0x1d0];
79 UINT32 GdtBaseHiDword;
80 UINT32 LdtBaseHiDword;
81 UINT32 IdtBaseHiDword;
84 UINT8 Reserved3[0x50];
86 UINT8 Reserved4[0x48];
87 UINT32 GdtBaseLoDword;
89 UINT32 IdtBaseLoDword;
91 UINT32 LdtBaseLoDword;
92 UINT8 Reserved7[0x38];
94 UINT32 EnEptVmxControl;
95 UINT8 Reserved8[0x14];
99 UINT16 AutoHALTRestart;
100 UINT8 Reserved9[0x18];
147#define SMRAM_SAVE_STATE_MIN_REV_ID_IOMISC 0x30004
152#define SMM_IO_LENGTH_BYTE 0x01
153#define SMM_IO_LENGTH_WORD 0x02
154#define SMM_IO_LENGTH_DWORD 0x04
159#define SMM_IO_TYPE_IN_IMMEDIATE 0x9
160#define SMM_IO_TYPE_IN_DX 0x1
161#define SMM_IO_TYPE_OUT_IMMEDIATE 0x8
162#define SMM_IO_TYPE_OUT_DX 0x0
163#define SMM_IO_TYPE_INS 0x3
164#define SMM_IO_TYPE_OUTS 0x2
165#define SMM_IO_TYPE_REP_INS 0x7
166#define SMM_IO_TYPE_REP_OUTS 0x6
176 UINT32 Reserved1 : 8;