TianoCore EDK2
master
Loading...
Searching...
No Matches
SmmRegisterInfoGuid.h
Go to the documentation of this file.
1
9
#ifndef PAYLOAD_SMM_REGISTER_INFO_GUID_H_
10
#define PAYLOAD_SMM_REGISTER_INFO_GUID_H_
11
12
#include <
IndustryStandard/Acpi.h
>
13
17
extern
EFI_GUID
gSmmRegisterInfoGuid
;
18
23
typedef
EFI_ACPI_3_0_GENERIC_ADDRESS_STRUCTURE
PLD_GENERIC_ADDRESS
;
24
25
#define REGISTER_ID_SMI_GBL_EN 1
26
#define REGISTER_ID_SMI_GBL_EN_LOCK 2
27
#define REGISTER_ID_SMI_EOS 3
28
#define REGISTER_ID_SMI_APM_EN 4
29
#define REGISTER_ID_SMI_APM_STS 5
30
31
#pragma pack(1)
32
typedef
struct
{
33
UINT64 Id;
34
UINT64 Value;
35
PLD_GENERIC_ADDRESS
Address;
36
}
PLD_GENERIC_REGISTER
;
37
38
typedef
struct
{
39
UINT16 Revision;
40
UINT16 Reserved;
41
UINT32 Count;
42
PLD_GENERIC_REGISTER
Registers[0];
43
}
PLD_SMM_REGISTERS
;
44
45
#pragma pack()
46
47
#endif
Acpi.h
gSmmRegisterInfoGuid
EFI_GUID gSmmRegisterInfoGuid
PLD_GENERIC_ADDRESS
EFI_ACPI_3_0_GENERIC_ADDRESS_STRUCTURE PLD_GENERIC_ADDRESS
Definition:
SmmRegisterInfoGuid.h:23
EFI_ACPI_3_0_GENERIC_ADDRESS_STRUCTURE
Definition:
Acpi30.h:77
GUID
Definition:
Base.h:213
PLD_GENERIC_REGISTER
Definition:
SmmRegisterInfoGuid.h:32
PLD_SMM_REGISTERS
Definition:
SmmRegisterInfoGuid.h:38
UefiPayloadPkg
Include
Guid
SmmRegisterInfoGuid.h
Generated on Fri Nov 15 2024 18:01:26 for TianoCore EDK2 by
1.9.6