16#define ACPI_LARGE_GENERIC_REGISTER_DESCRIPTOR_NAME 0x02
18#define ACPI_GENERIC_REGISTER_DESCRIPTOR 0x82
28typedef PACKED
struct {
29 ACPI_LARGE_RESOURCE_HEADER Header;
31 UINT8 RegisterBitWidth;
32 UINT8 RegisterBitOffset;
34 UINT64 RegisterAddress;
49 UINT8 RegisterBitWidth;
50 UINT8 RegisterBitOffset;
58#define EFI_ACPI_2_0_SYSTEM_MEMORY 0
59#define EFI_ACPI_2_0_SYSTEM_IO 1
60#define EFI_ACPI_2_0_PCI_CONFIGURATION_SPACE 2
61#define EFI_ACPI_2_0_EMBEDDED_CONTROLLER 3
62#define EFI_ACPI_2_0_SMBUS 4
63#define EFI_ACPI_2_0_FUNCTIONAL_FIXED_HARDWARE 0x7F
80 UINT8 ExtendedChecksum;
87#define EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER_REVISION 0x02
107#define EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_TABLE_REVISION 0x01
118#define EFI_ACPI_2_0_EXTENDED_SYSTEM_DESCRIPTION_TABLE_REVISION 0x01
128 UINT8 PreferredPmProfile;
166 UINT64 XFirmwareCtrl;
181#define EFI_ACPI_2_0_FIXED_ACPI_DESCRIPTION_TABLE_REVISION 0x03
186#define EFI_ACPI_2_0_PM_PROFILE_UNSPECIFIED 0
187#define EFI_ACPI_2_0_PM_PROFILE_DESKTOP 1
188#define EFI_ACPI_2_0_PM_PROFILE_MOBILE 2
189#define EFI_ACPI_2_0_PM_PROFILE_WORKSTATION 3
190#define EFI_ACPI_2_0_PM_PROFILE_ENTERPRISE_SERVER 4
191#define EFI_ACPI_2_0_PM_PROFILE_SOHO_SERVER 5
192#define EFI_ACPI_2_0_PM_PROFILE_APPLIANCE_PC 6
198#define EFI_ACPI_2_0_LEGACY_DEVICES BIT0
199#define EFI_ACPI_2_0_8042 BIT1
205#define EFI_ACPI_2_0_WBINVD BIT0
206#define EFI_ACPI_2_0_WBINVD_FLUSH BIT1
207#define EFI_ACPI_2_0_PROC_C1 BIT2
208#define EFI_ACPI_2_0_P_LVL2_UP BIT3
209#define EFI_ACPI_2_0_PWR_BUTTON BIT4
210#define EFI_ACPI_2_0_SLP_BUTTON BIT5
211#define EFI_ACPI_2_0_FIX_RTC BIT6
212#define EFI_ACPI_2_0_RTC_S4 BIT7
213#define EFI_ACPI_2_0_TMR_VAL_EXT BIT8
214#define EFI_ACPI_2_0_DCK_CAP BIT9
215#define EFI_ACPI_2_0_RESET_REG_SUP BIT10
216#define EFI_ACPI_2_0_SEALED_CASE BIT11
217#define EFI_ACPI_2_0_HEADLESS BIT12
218#define EFI_ACPI_2_0_CPU_SW_SLP BIT13
226 UINT32 HardwareSignature;
227 UINT32 FirmwareWakingVector;
230 UINT64 XFirmwareWakingVector;
238#define EFI_ACPI_2_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_VERSION 0x01
244#define EFI_ACPI_2_0_S4BIOS_F BIT0
252 UINT32 LocalApicAddress;
259#define EFI_ACPI_2_0_MULTIPLE_APIC_DESCRIPTION_TABLE_REVISION 0x01
265#define EFI_ACPI_2_0_PCAT_COMPAT BIT0
272#define EFI_ACPI_2_0_PROCESSOR_LOCAL_APIC 0x00
273#define EFI_ACPI_2_0_IO_APIC 0x01
274#define EFI_ACPI_2_0_INTERRUPT_SOURCE_OVERRIDE 0x02
275#define EFI_ACPI_2_0_NON_MASKABLE_INTERRUPT_SOURCE 0x03
276#define EFI_ACPI_2_0_LOCAL_APIC_NMI 0x04
277#define EFI_ACPI_2_0_LOCAL_APIC_ADDRESS_OVERRIDE 0x05
278#define EFI_ACPI_2_0_IO_SAPIC 0x06
279#define EFI_ACPI_2_0_PROCESSOR_LOCAL_SAPIC 0x07
280#define EFI_ACPI_2_0_PLATFORM_INTERRUPT_SOURCES 0x08
292 UINT8 AcpiProcessorId;
300#define EFI_ACPI_2_0_LOCAL_APIC_ENABLED BIT0
310 UINT32 IoApicAddress;
311 UINT32 GlobalSystemInterruptBase;
322 UINT32 GlobalSystemInterrupt;
333 UINT32 GlobalSystemInterrupt;
342 UINT8 AcpiProcessorId;
354 UINT64 LocalApicAddress;
365 UINT32 GlobalSystemInterruptBase;
366 UINT64 IoSapicAddress;
375 UINT8 AcpiProcessorId;
393 UINT32 GlobalSystemInterrupt;
402 UINT32 WarningEnergyLevel;
403 UINT32 LowEnergyLevel;
404 UINT32 CriticalEnergyLevel;
410#define EFI_ACPI_2_0_SMART_BATTERY_DESCRIPTION_TABLE_REVISION 0x01
428#define EFI_ACPI_2_0_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE_REVISION 0x01
437#define EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER_SIGNATURE SIGNATURE_64('R', 'S', 'D', ' ', 'P', 'T', 'R', ' ')
445#define EFI_ACPI_2_0_MULTIPLE_SAPIC_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('A', 'P', 'I', 'C')
450#define EFI_ACPI_2_0_SIMPLE_BOOT_FLAG_TABLE_SIGNATURE SIGNATURE_32('B', 'O', 'O', 'T')
455#define EFI_ACPI_2_0_DEBUG_PORT_TABLE_SIGNATURE SIGNATURE_32('D', 'B', 'G', 'P')
460#define EFI_ACPI_2_0_DIFFERENTIATED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('D', 'S', 'D', 'T')
465#define EFI_ACPI_2_0_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE_SIGNATURE SIGNATURE_32('E', 'C', 'D', 'T')
470#define EFI_ACPI_2_0_EVENT_TIMER_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('E', 'T', 'D', 'T')
475#define EFI_ACPI_2_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE SIGNATURE_32('F', 'A', 'C', 'S')
480#define EFI_ACPI_2_0_FIXED_ACPI_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('F', 'A', 'C', 'P')
485#define EFI_ACPI_2_0_MULTIPLE_APIC_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('A', 'P', 'I', 'C')
490#define EFI_ACPI_2_0_PERSISTENT_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('P', 'S', 'D', 'T')
495#define EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('R', 'S', 'D', 'T')
500#define EFI_ACPI_2_0_SMART_BATTERY_SPECIFICATION_TABLE_SIGNATURE SIGNATURE_32('S', 'B', 'S', 'T')
505#define EFI_ACPI_2_0_SYSTEM_LOCALITY_INFORMATION_TABLE_SIGNATURE SIGNATURE_32('S', 'L', 'I', 'T')
510#define EFI_ACPI_2_0_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_SIGNATURE SIGNATURE_32('S', 'P', 'C', 'R')
515#define EFI_ACPI_2_0_STATIC_RESOURCE_AFFINITY_TABLE_SIGNATURE SIGNATURE_32('S', 'R', 'A', 'T')
520#define EFI_ACPI_2_0_SECONDARY_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('S', 'S', 'D', 'T')
525#define EFI_ACPI_2_0_SERVER_PLATFORM_MANAGEMENT_INTERFACE_SIGNATURE SIGNATURE_32('S', 'P', 'M', 'I')
530#define EFI_ACPI_2_0_EXTENDED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('X', 'S', 'D', 'T')
535#define EFI_ACPI_2_0_MEMORY_MAPPED_CONFIGURATION_BASE_ADDRESS_TABLE_SIGNATURE SIGNATURE_32('M', 'C', 'F', 'G')
PACKED struct @107 EFI_ACPI_GENERIC_REGISTER_DESCRIPTOR