soc/intel/xeon_sp: Revise IIO domain ACPI name encoding
[coreboot2.git] / src / include / cpu / x86 / legacy_save_state.h
blob4c9923c82ce12e79cd5ef4de6744d66528a503b3
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __X86_LEGACY_SAVE_STATE_H__
4 #define __X86_LEGACY_SAVE_STATE_H__
6 #include <types.h>
8 /* Legacy x86 SMM State-Save Area
9 * starts @ 0x7e00
11 #define SMM_LEGACY_ARCH_OFFSET 0x7e00
13 typedef struct {
14 u8 reserved0[248];
15 u32 smbase;
16 u32 smm_revision;
17 u16 io_restart;
18 u16 autohalt_restart;
19 u8 reserved1[132];
20 u32 gdtbase;
21 u8 reserved2[8];
22 u32 idtbase;
23 u8 reserved3[16];
24 u32 es;
25 u32 cs;
26 u32 ss;
27 u32 ds;
28 u32 fs;
29 u32 gs;
30 u32 ldtbase;
31 u32 tr;
32 u32 dr7;
33 u32 dr6;
34 u32 eax;
35 u32 ecx;
36 u32 edx;
37 u32 ebx;
38 u32 esp;
39 u32 ebp;
40 u32 esi;
41 u32 edi;
42 u32 eip;
43 u32 eflags;
44 u32 cr3;
45 u32 cr0;
46 } __packed legacy_smm_state_save_area_t;
48 #endif