2 ACPI 5.1 definitions from the ACPI Specification Revision 5.1 July, 2014.
4 Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 #include <IndustryStandard/Acpi50.h>
20 // Ensure proper structure formats
25 /// ACPI 5.1 Generic Address Space definition
29 UINT8 RegisterBitWidth
;
30 UINT8 RegisterBitOffset
;
33 } EFI_ACPI_5_1_GENERIC_ADDRESS_STRUCTURE
;
36 // Generic Address Space Address IDs
38 #define EFI_ACPI_5_1_SYSTEM_MEMORY 0
39 #define EFI_ACPI_5_1_SYSTEM_IO 1
40 #define EFI_ACPI_5_1_PCI_CONFIGURATION_SPACE 2
41 #define EFI_ACPI_5_1_EMBEDDED_CONTROLLER 3
42 #define EFI_ACPI_5_1_SMBUS 4
43 #define EFI_ACPI_5_1_PLATFORM_COMMUNICATION_CHANNEL 0x0A
44 #define EFI_ACPI_5_1_FUNCTIONAL_FIXED_HARDWARE 0x7F
47 // Generic Address Space Access Sizes
49 #define EFI_ACPI_5_1_UNDEFINED 0
50 #define EFI_ACPI_5_1_BYTE 1
51 #define EFI_ACPI_5_1_WORD 2
52 #define EFI_ACPI_5_1_DWORD 3
53 #define EFI_ACPI_5_1_QWORD 4
56 // ACPI 5.1 table structures
60 /// Root System Description Pointer Structure
70 UINT8 ExtendedChecksum
;
72 } EFI_ACPI_5_1_ROOT_SYSTEM_DESCRIPTION_POINTER
;
75 /// RSD_PTR Revision (as defined in ACPI 5.1 spec.)
77 #define EFI_ACPI_5_1_ROOT_SYSTEM_DESCRIPTION_POINTER_REVISION 0x02 ///< ACPISpec (Revision 5.1) says current value is 2
80 /// Common table header, this prefaces all ACPI tables, including FACS, but
81 /// excluding the RSD PTR structure
86 } EFI_ACPI_5_1_COMMON_HEADER
;
89 // Root System Description Table
90 // No definition needed as it is a common description table header, the same with
91 // EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT32 table pointers.
95 /// RSDT Revision (as defined in ACPI 5.1 spec.)
97 #define EFI_ACPI_5_1_ROOT_SYSTEM_DESCRIPTION_TABLE_REVISION 0x01
100 // Extended System Description Table
101 // No definition needed as it is a common description table header, the same with
102 // EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT64 table pointers.
106 /// XSDT Revision (as defined in ACPI 5.1 spec.)
108 #define EFI_ACPI_5_1_EXTENDED_SYSTEM_DESCRIPTION_TABLE_REVISION 0x01
111 /// Fixed ACPI Description Table Structure (FADT)
114 EFI_ACPI_DESCRIPTION_HEADER Header
;
118 UINT8 PreferredPmProfile
;
153 EFI_ACPI_5_1_GENERIC_ADDRESS_STRUCTURE ResetReg
;
157 UINT64 XFirmwareCtrl
;
159 EFI_ACPI_5_1_GENERIC_ADDRESS_STRUCTURE XPm1aEvtBlk
;
160 EFI_ACPI_5_1_GENERIC_ADDRESS_STRUCTURE XPm1bEvtBlk
;
161 EFI_ACPI_5_1_GENERIC_ADDRESS_STRUCTURE XPm1aCntBlk
;
162 EFI_ACPI_5_1_GENERIC_ADDRESS_STRUCTURE XPm1bCntBlk
;
163 EFI_ACPI_5_1_GENERIC_ADDRESS_STRUCTURE XPm2CntBlk
;
164 EFI_ACPI_5_1_GENERIC_ADDRESS_STRUCTURE XPmTmrBlk
;
165 EFI_ACPI_5_1_GENERIC_ADDRESS_STRUCTURE XGpe0Blk
;
166 EFI_ACPI_5_1_GENERIC_ADDRESS_STRUCTURE XGpe1Blk
;
167 EFI_ACPI_5_1_GENERIC_ADDRESS_STRUCTURE SleepControlReg
;
168 EFI_ACPI_5_1_GENERIC_ADDRESS_STRUCTURE SleepStatusReg
;
169 } EFI_ACPI_5_1_FIXED_ACPI_DESCRIPTION_TABLE
;
172 /// FADT Version (as defined in ACPI 5.1 spec.)
174 #define EFI_ACPI_5_1_FIXED_ACPI_DESCRIPTION_TABLE_REVISION 0x05
175 #define EFI_ACPI_5_1_FIXED_ACPI_DESCRIPTION_TABLE_MINOR_REVISION 0x01
178 // Fixed ACPI Description Table Preferred Power Management Profile
180 #define EFI_ACPI_5_1_PM_PROFILE_UNSPECIFIED 0
181 #define EFI_ACPI_5_1_PM_PROFILE_DESKTOP 1
182 #define EFI_ACPI_5_1_PM_PROFILE_MOBILE 2
183 #define EFI_ACPI_5_1_PM_PROFILE_WORKSTATION 3
184 #define EFI_ACPI_5_1_PM_PROFILE_ENTERPRISE_SERVER 4
185 #define EFI_ACPI_5_1_PM_PROFILE_SOHO_SERVER 5
186 #define EFI_ACPI_5_1_PM_PROFILE_APPLIANCE_PC 6
187 #define EFI_ACPI_5_1_PM_PROFILE_PERFORMANCE_SERVER 7
188 #define EFI_ACPI_5_1_PM_PROFILE_TABLET 8
191 // Fixed ACPI Description Table Boot Architecture Flags
192 // All other bits are reserved and must be set to 0.
194 #define EFI_ACPI_5_1_LEGACY_DEVICES BIT0
195 #define EFI_ACPI_5_1_8042 BIT1
196 #define EFI_ACPI_5_1_VGA_NOT_PRESENT BIT2
197 #define EFI_ACPI_5_1_MSI_NOT_SUPPORTED BIT3
198 #define EFI_ACPI_5_1_PCIE_ASPM_CONTROLS BIT4
199 #define EFI_ACPI_5_1_CMOS_RTC_NOT_PRESENT BIT5
202 // Fixed ACPI Description Table Arm Boot Architecture Flags
203 // All other bits are reserved and must be set to 0.
205 #define EFI_ACPI_5_1_ARM_PSCI_COMPLIANT BIT0
206 #define EFI_ACPI_5_1_ARM_PSCI_USE_HVC BIT1
209 // Fixed ACPI Description Table Fixed Feature Flags
210 // All other bits are reserved and must be set to 0.
212 #define EFI_ACPI_5_1_WBINVD BIT0
213 #define EFI_ACPI_5_1_WBINVD_FLUSH BIT1
214 #define EFI_ACPI_5_1_PROC_C1 BIT2
215 #define EFI_ACPI_5_1_P_LVL2_UP BIT3
216 #define EFI_ACPI_5_1_PWR_BUTTON BIT4
217 #define EFI_ACPI_5_1_SLP_BUTTON BIT5
218 #define EFI_ACPI_5_1_FIX_RTC BIT6
219 #define EFI_ACPI_5_1_RTC_S4 BIT7
220 #define EFI_ACPI_5_1_TMR_VAL_EXT BIT8
221 #define EFI_ACPI_5_1_DCK_CAP BIT9
222 #define EFI_ACPI_5_1_RESET_REG_SUP BIT10
223 #define EFI_ACPI_5_1_SEALED_CASE BIT11
224 #define EFI_ACPI_5_1_HEADLESS BIT12
225 #define EFI_ACPI_5_1_CPU_SW_SLP BIT13
226 #define EFI_ACPI_5_1_PCI_EXP_WAK BIT14
227 #define EFI_ACPI_5_1_USE_PLATFORM_CLOCK BIT15
228 #define EFI_ACPI_5_1_S4_RTC_STS_VALID BIT16
229 #define EFI_ACPI_5_1_REMOTE_POWER_ON_CAPABLE BIT17
230 #define EFI_ACPI_5_1_FORCE_APIC_CLUSTER_MODEL BIT18
231 #define EFI_ACPI_5_1_FORCE_APIC_PHYSICAL_DESTINATION_MODE BIT19
232 #define EFI_ACPI_5_1_HW_REDUCED_ACPI BIT20
233 #define EFI_ACPI_5_1_LOW_POWER_S0_IDLE_CAPABLE BIT21
236 /// Firmware ACPI Control Structure
241 UINT32 HardwareSignature
;
242 UINT32 FirmwareWakingVector
;
245 UINT64 XFirmwareWakingVector
;
250 } EFI_ACPI_5_1_FIRMWARE_ACPI_CONTROL_STRUCTURE
;
253 /// FACS Version (as defined in ACPI 5.1 spec.)
255 #define EFI_ACPI_5_1_FIRMWARE_ACPI_CONTROL_STRUCTURE_VERSION 0x02
258 /// Firmware Control Structure Feature Flags
259 /// All other bits are reserved and must be set to 0.
261 #define EFI_ACPI_5_1_S4BIOS_F BIT0
262 #define EFI_ACPI_5_1_64BIT_WAKE_SUPPORTED_F BIT1
265 /// OSPM Enabled Firmware Control Structure Flags
266 /// All other bits are reserved and must be set to 0.
268 #define EFI_ACPI_5_1_OSPM_64BIT_WAKE_F BIT0
271 // Differentiated System Description Table,
272 // Secondary System Description Table
273 // and Persistent System Description Table,
274 // no definition needed as they are common description table header, the same with
275 // EFI_ACPI_DESCRIPTION_HEADER, followed by a definition block.
277 #define EFI_ACPI_5_1_DIFFERENTIATED_SYSTEM_DESCRIPTION_TABLE_REVISION 0x02
278 #define EFI_ACPI_5_1_SECONDARY_SYSTEM_DESCRIPTION_TABLE_REVISION 0x02
281 /// Multiple APIC Description Table header definition. The rest of the table
282 /// must be defined in a platform specific manner.
285 EFI_ACPI_DESCRIPTION_HEADER Header
;
286 UINT32 LocalApicAddress
;
288 } EFI_ACPI_5_1_MULTIPLE_APIC_DESCRIPTION_TABLE_HEADER
;
291 /// MADT Revision (as defined in ACPI 5.1 spec.)
293 #define EFI_ACPI_5_1_MULTIPLE_APIC_DESCRIPTION_TABLE_REVISION 0x03
296 /// Multiple APIC Flags
297 /// All other bits are reserved and must be set to 0.
299 #define EFI_ACPI_5_1_PCAT_COMPAT BIT0
302 // Multiple APIC Description Table APIC structure types
303 // All other values between 0x0D and 0x7F are reserved and
304 // will be ignored by OSPM. 0x80 ~ 0xFF are reserved for OEM.
306 #define EFI_ACPI_5_1_PROCESSOR_LOCAL_APIC 0x00
307 #define EFI_ACPI_5_1_IO_APIC 0x01
308 #define EFI_ACPI_5_1_INTERRUPT_SOURCE_OVERRIDE 0x02
309 #define EFI_ACPI_5_1_NON_MASKABLE_INTERRUPT_SOURCE 0x03
310 #define EFI_ACPI_5_1_LOCAL_APIC_NMI 0x04
311 #define EFI_ACPI_5_1_LOCAL_APIC_ADDRESS_OVERRIDE 0x05
312 #define EFI_ACPI_5_1_IO_SAPIC 0x06
313 #define EFI_ACPI_5_1_LOCAL_SAPIC 0x07
314 #define EFI_ACPI_5_1_PLATFORM_INTERRUPT_SOURCES 0x08
315 #define EFI_ACPI_5_1_PROCESSOR_LOCAL_X2APIC 0x09
316 #define EFI_ACPI_5_1_LOCAL_X2APIC_NMI 0x0A
317 #define EFI_ACPI_5_1_GIC 0x0B
318 #define EFI_ACPI_5_1_GICD 0x0C
319 #define EFI_ACPI_5_1_GIC_MSI_FRAME 0x0D
320 #define EFI_ACPI_5_1_GICR 0x0E
323 // APIC Structure Definitions
327 /// Processor Local APIC Structure Definition
332 UINT8 AcpiProcessorId
;
335 } EFI_ACPI_5_1_PROCESSOR_LOCAL_APIC_STRUCTURE
;
338 /// Local APIC Flags. All other bits are reserved and must be 0.
340 #define EFI_ACPI_5_1_LOCAL_APIC_ENABLED BIT0
343 /// IO APIC Structure
350 UINT32 IoApicAddress
;
351 UINT32 GlobalSystemInterruptBase
;
352 } EFI_ACPI_5_1_IO_APIC_STRUCTURE
;
355 /// Interrupt Source Override Structure
362 UINT32 GlobalSystemInterrupt
;
364 } EFI_ACPI_5_1_INTERRUPT_SOURCE_OVERRIDE_STRUCTURE
;
367 /// Platform Interrupt Sources Structure Definition
377 UINT32 GlobalSystemInterrupt
;
378 UINT32 PlatformInterruptSourceFlags
;
379 UINT8 CpeiProcessorOverride
;
381 } EFI_ACPI_5_1_PLATFORM_INTERRUPT_APIC_STRUCTURE
;
385 // All other bits are reserved and must be set to 0.
387 #define EFI_ACPI_5_1_POLARITY (3 << 0)
388 #define EFI_ACPI_5_1_TRIGGER_MODE (3 << 2)
391 /// Non-Maskable Interrupt Source Structure
397 UINT32 GlobalSystemInterrupt
;
398 } EFI_ACPI_5_1_NON_MASKABLE_INTERRUPT_SOURCE_STRUCTURE
;
401 /// Local APIC NMI Structure
406 UINT8 AcpiProcessorId
;
409 } EFI_ACPI_5_1_LOCAL_APIC_NMI_STRUCTURE
;
412 /// Local APIC Address Override Structure
418 UINT64 LocalApicAddress
;
419 } EFI_ACPI_5_1_LOCAL_APIC_ADDRESS_OVERRIDE_STRUCTURE
;
422 /// IO SAPIC Structure
429 UINT32 GlobalSystemInterruptBase
;
430 UINT64 IoSapicAddress
;
431 } EFI_ACPI_5_1_IO_SAPIC_STRUCTURE
;
434 /// Local SAPIC Structure
435 /// This struct followed by a null-terminated ASCII string - ACPI Processor UID String
440 UINT8 AcpiProcessorId
;
445 UINT32 ACPIProcessorUIDValue
;
446 } EFI_ACPI_5_1_PROCESSOR_LOCAL_SAPIC_STRUCTURE
;
449 /// Platform Interrupt Sources Structure
459 UINT32 GlobalSystemInterrupt
;
460 UINT32 PlatformInterruptSourceFlags
;
461 } EFI_ACPI_5_1_PLATFORM_INTERRUPT_SOURCES_STRUCTURE
;
464 /// Platform Interrupt Source Flags.
465 /// All other bits are reserved and must be set to 0.
467 #define EFI_ACPI_5_1_CPEI_PROCESSOR_OVERRIDE BIT0
470 /// Processor Local x2APIC Structure Definition
478 UINT32 AcpiProcessorUid
;
479 } EFI_ACPI_5_1_PROCESSOR_LOCAL_X2APIC_STRUCTURE
;
482 /// Local x2APIC NMI Structure
488 UINT32 AcpiProcessorUid
;
489 UINT8 LocalX2ApicLint
;
491 } EFI_ACPI_5_1_LOCAL_X2APIC_NMI_STRUCTURE
;
500 UINT32 CPUInterfaceNumber
;
501 UINT32 AcpiProcessorUid
;
503 UINT32 ParkingProtocolVersion
;
504 UINT32 PerformanceInterruptGsiv
;
505 UINT64 ParkedAddress
;
506 UINT64 PhysicalBaseAddress
;
509 UINT32 VGICMaintenanceInterrupt
;
510 UINT64 GICRBaseAddress
;
512 } EFI_ACPI_5_1_GIC_STRUCTURE
;
515 /// GIC Flags. All other bits are reserved and must be 0.
517 #define EFI_ACPI_5_1_GIC_ENABLED BIT0
518 #define EFI_ACPI_5_1_PERFORMANCE_INTERRUPT_MODEL BIT1
519 #define EFI_ACPI_5_1_VGIC_MAINTENANCE_INTERRUPT_MODE_FLAGS BIT2
522 /// GIC Distributor Structure
529 UINT64 PhysicalBaseAddress
;
530 UINT32 SystemVectorBase
;
532 } EFI_ACPI_5_1_GIC_DISTRIBUTOR_STRUCTURE
;
535 /// GIC MSI Frame Structure
541 UINT32 GicMsiFrameId
;
542 UINT64 PhysicalBaseAddress
;
546 } EFI_ACPI_5_1_GIC_MSI_FRAME_STRUCTURE
;
549 /// GIC MSI Frame Flags. All other bits are reserved and must be 0.
551 #define EFI_ACPI_5_1_SPI_COUNT_BASE_SELECT BIT0
560 UINT64 DiscoveryRangeBaseAddress
;
561 UINT32 DiscoveryRangeLength
;
562 } EFI_ACPI_5_1_GICR_STRUCTURE
;
565 /// Smart Battery Description Table (SBST)
568 EFI_ACPI_DESCRIPTION_HEADER Header
;
569 UINT32 WarningEnergyLevel
;
570 UINT32 LowEnergyLevel
;
571 UINT32 CriticalEnergyLevel
;
572 } EFI_ACPI_5_1_SMART_BATTERY_DESCRIPTION_TABLE
;
575 /// SBST Version (as defined in ACPI 5.1 spec.)
577 #define EFI_ACPI_5_1_SMART_BATTERY_DESCRIPTION_TABLE_REVISION 0x01
580 /// Embedded Controller Boot Resources Table (ECDT)
581 /// The table is followed by a null terminated ASCII string that contains
582 /// a fully qualified reference to the name space object.
585 EFI_ACPI_DESCRIPTION_HEADER Header
;
586 EFI_ACPI_5_1_GENERIC_ADDRESS_STRUCTURE EcControl
;
587 EFI_ACPI_5_1_GENERIC_ADDRESS_STRUCTURE EcData
;
590 } EFI_ACPI_5_1_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE
;
593 /// ECDT Version (as defined in ACPI 5.1 spec.)
595 #define EFI_ACPI_5_1_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE_REVISION 0x01
598 /// System Resource Affinity Table (SRAT). The rest of the table
599 /// must be defined in a platform specific manner.
602 EFI_ACPI_DESCRIPTION_HEADER Header
;
603 UINT32 Reserved1
; ///< Must be set to 1
605 } EFI_ACPI_5_1_SYSTEM_RESOURCE_AFFINITY_TABLE_HEADER
;
608 /// SRAT Version (as defined in ACPI 5.1 spec.)
610 #define EFI_ACPI_5_1_SYSTEM_RESOURCE_AFFINITY_TABLE_REVISION 0x03
613 // SRAT structure types.
614 // All other values between 0x03 an 0xFF are reserved and
615 // will be ignored by OSPM.
617 #define EFI_ACPI_5_1_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY 0x00
618 #define EFI_ACPI_5_1_MEMORY_AFFINITY 0x01
619 #define EFI_ACPI_5_1_PROCESSOR_LOCAL_X2APIC_AFFINITY 0x02
622 /// Processor Local APIC/SAPIC Affinity Structure Definition
627 UINT8 ProximityDomain7To0
;
631 UINT8 ProximityDomain31To8
[3];
633 } EFI_ACPI_5_1_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY_STRUCTURE
;
636 /// Local APIC/SAPIC Flags. All other bits are reserved and must be 0.
638 #define EFI_ACPI_5_1_PROCESSOR_LOCAL_APIC_SAPIC_ENABLED (1 << 0)
641 /// Memory Affinity Structure Definition
646 UINT32 ProximityDomain
;
648 UINT32 AddressBaseLow
;
649 UINT32 AddressBaseHigh
;
655 } EFI_ACPI_5_1_MEMORY_AFFINITY_STRUCTURE
;
658 // Memory Flags. All other bits are reserved and must be 0.
660 #define EFI_ACPI_5_1_MEMORY_ENABLED (1 << 0)
661 #define EFI_ACPI_5_1_MEMORY_HOT_PLUGGABLE (1 << 1)
662 #define EFI_ACPI_5_1_MEMORY_NONVOLATILE (1 << 2)
665 /// Processor Local x2APIC Affinity Structure Definition
671 UINT32 ProximityDomain
;
676 } EFI_ACPI_5_1_PROCESSOR_LOCAL_X2APIC_AFFINITY_STRUCTURE
;
679 /// System Locality Distance Information Table (SLIT).
680 /// The rest of the table is a matrix.
683 EFI_ACPI_DESCRIPTION_HEADER Header
;
684 UINT64 NumberOfSystemLocalities
;
685 } EFI_ACPI_5_1_SYSTEM_LOCALITY_DISTANCE_INFORMATION_TABLE_HEADER
;
688 /// SLIT Version (as defined in ACPI 5.1 spec.)
690 #define EFI_ACPI_5_1_SYSTEM_LOCALITY_DISTANCE_INFORMATION_TABLE_REVISION 0x01
693 /// Corrected Platform Error Polling Table (CPEP)
696 EFI_ACPI_DESCRIPTION_HEADER Header
;
698 } EFI_ACPI_5_1_CORRECTED_PLATFORM_ERROR_POLLING_TABLE_HEADER
;
701 /// CPEP Version (as defined in ACPI 5.1 spec.)
703 #define EFI_ACPI_5_1_CORRECTED_PLATFORM_ERROR_POLLING_TABLE_REVISION 0x01
706 // CPEP processor structure types.
708 #define EFI_ACPI_5_1_CPEP_PROCESSOR_APIC_SAPIC 0x00
711 /// Corrected Platform Error Polling Processor Structure Definition
718 UINT32 PollingInterval
;
719 } EFI_ACPI_5_1_CPEP_PROCESSOR_APIC_SAPIC_STRUCTURE
;
722 /// Maximum System Characteristics Table (MSCT)
725 EFI_ACPI_DESCRIPTION_HEADER Header
;
726 UINT32 OffsetProxDomInfo
;
727 UINT32 MaximumNumberOfProximityDomains
;
728 UINT32 MaximumNumberOfClockDomains
;
729 UINT64 MaximumPhysicalAddress
;
730 } EFI_ACPI_5_1_MAXIMUM_SYSTEM_CHARACTERISTICS_TABLE_HEADER
;
733 /// MSCT Version (as defined in ACPI 5.1 spec.)
735 #define EFI_ACPI_5_1_MAXIMUM_SYSTEM_CHARACTERISTICS_TABLE_REVISION 0x01
738 /// Maximum Proximity Domain Information Structure Definition
743 UINT32 ProximityDomainRangeLow
;
744 UINT32 ProximityDomainRangeHigh
;
745 UINT32 MaximumProcessorCapacity
;
746 UINT64 MaximumMemoryCapacity
;
747 } EFI_ACPI_5_1_MAXIMUM_PROXIMITY_DOMAIN_INFORMATION_STRUCTURE
;
750 /// ACPI RAS Feature Table definition.
753 EFI_ACPI_DESCRIPTION_HEADER Header
;
754 UINT8 PlatformCommunicationChannelIdentifier
[12];
755 } EFI_ACPI_5_1_RAS_FEATURE_TABLE
;
758 /// RASF Version (as defined in ACPI 5.1 spec.)
760 #define EFI_ACPI_5_1_RAS_FEATURE_TABLE_REVISION 0x01
763 /// ACPI RASF Platform Communication Channel Shared Memory Region definition.
770 UINT8 RASCapabilities
[16];
771 UINT8 SetRASCapabilities
[16];
772 UINT16 NumberOfRASFParameterBlocks
;
773 UINT32 SetRASCapabilitiesStatus
;
774 } EFI_ACPI_5_1_RASF_PLATFORM_COMMUNICATION_CHANNEL_SHARED_MEMORY_REGION
;
777 /// ACPI RASF PCC command code
779 #define EFI_ACPI_5_1_RASF_PCC_COMMAND_CODE_EXECUTE_RASF_COMMAND 0x01
782 /// ACPI RASF Platform RAS Capabilities
784 #define EFI_ACPI_5_1_RASF_PLATFORM_RAS_CAPABILITY_HARDWARE_BASED_PATROL_SCRUB_SUPPOTED 0x01
785 #define EFI_ACPI_5_1_RASF_PLATFORM_RAS_CAPABILITY_HARDWARE_BASED_PATROL_SCRUB_SUPPOTED_AND_EXPOSED_TO_SOFTWARE 0x02
788 /// ACPI RASF Parameter Block structure for PATROL_SCRUB
794 UINT16 PatrolScrubCommand
;
795 UINT64 RequestedAddressRange
[2];
796 UINT64 ActualAddressRange
[2];
798 UINT8 RequestedSpeed
;
799 } EFI_ACPI_5_1_RASF_PATROL_SCRUB_PLATFORM_BLOCK_STRUCTURE
;
802 /// ACPI RASF Patrol Scrub command
804 #define EFI_ACPI_5_1_RASF_PATROL_SCRUB_COMMAND_GET_PATROL_PARAMETERS 0x01
805 #define EFI_ACPI_5_1_RASF_PATROL_SCRUB_COMMAND_START_PATROL_SCRUBBER 0x02
806 #define EFI_ACPI_5_1_RASF_PATROL_SCRUB_COMMAND_STOP_PATROL_SCRUBBER 0x03
809 /// Memory Power State Table definition.
812 EFI_ACPI_DESCRIPTION_HEADER Header
;
813 UINT8 PlatformCommunicationChannelIdentifier
;
815 // Memory Power Node Structure
816 // Memory Power State Characteristics
817 } EFI_ACPI_5_1_MEMORY_POWER_STATUS_TABLE
;
820 /// MPST Version (as defined in ACPI 5.1 spec.)
822 #define EFI_ACPI_5_1_MEMORY_POWER_STATE_TABLE_REVISION 0x01
825 /// MPST Platform Communication Channel Shared Memory Region definition.
831 UINT32 MemoryPowerCommandRegister
;
832 UINT32 MemoryPowerStatusRegister
;
834 UINT32 MemoryPowerNodeId
;
835 UINT64 MemoryEnergyConsumed
;
836 UINT64 ExpectedAveragePowerComsuned
;
837 } EFI_ACPI_5_1_MPST_PLATFORM_COMMUNICATION_CHANNEL_SHARED_MEMORY_REGION
;
840 /// ACPI MPST PCC command code
842 #define EFI_ACPI_5_1_MPST_PCC_COMMAND_CODE_EXECUTE_MPST_COMMAND 0x03
845 /// ACPI MPST Memory Power command
847 #define EFI_ACPI_5_1_MPST_MEMORY_POWER_COMMAND_GET_MEMORY_POWER_STATE 0x01
848 #define EFI_ACPI_5_1_MPST_MEMORY_POWER_COMMAND_SET_MEMORY_POWER_STATE 0x02
849 #define EFI_ACPI_5_1_MPST_MEMORY_POWER_COMMAND_GET_AVERAGE_POWER_CONSUMED 0x03
850 #define EFI_ACPI_5_1_MPST_MEMORY_POWER_COMMAND_GET_MEMORY_ENERGY_CONSUMED 0x04
853 /// MPST Memory Power Node Table
856 UINT8 PowerStateValue
;
857 UINT8 PowerStateInformationIndex
;
858 } EFI_ACPI_5_1_MPST_MEMORY_POWER_STATE
;
863 UINT16 MemoryPowerNodeId
;
866 UINT64 AddressLength
;
867 UINT32 NumberOfPowerStates
;
868 UINT32 NumberOfPhysicalComponents
;
869 //EFI_ACPI_5_1_MPST_MEMORY_POWER_STATE MemoryPowerState[NumberOfPowerStates];
870 //UINT16 PhysicalComponentIdentifier[NumberOfPhysicalComponents];
871 } EFI_ACPI_5_1_MPST_MEMORY_POWER_STRUCTURE
;
873 #define EFI_ACPI_5_1_MPST_MEMORY_POWER_STRUCTURE_FLAG_ENABLE 0x01
874 #define EFI_ACPI_5_1_MPST_MEMORY_POWER_STRUCTURE_FLAG_POWER_MANAGED 0x02
875 #define EFI_ACPI_5_1_MPST_MEMORY_POWER_STRUCTURE_FLAG_HOT_PLUGGABLE 0x04
878 UINT16 MemoryPowerNodeCount
;
880 } EFI_ACPI_5_1_MPST_MEMORY_POWER_NODE_TABLE
;
883 /// MPST Memory Power State Characteristics Table
886 UINT8 PowerStateStructureID
;
889 UINT32 AveragePowerConsumedInMPS0
;
890 UINT32 RelativePowerSavingToMPS0
;
891 UINT64 ExitLatencyToMPS0
;
892 } EFI_ACPI_5_1_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE
;
894 #define EFI_ACPI_5_1_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE_FLAG_MEMORY_CONTENT_PRESERVED 0x01
895 #define EFI_ACPI_5_1_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE_FLAG_AUTONOMOUS_MEMORY_POWER_STATE_ENTRY 0x02
896 #define EFI_ACPI_5_1_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE_FLAG_AUTONOMOUS_MEMORY_POWER_STATE_EXIT 0x04
899 UINT16 MemoryPowerStateCharacteristicsCount
;
901 } EFI_ACPI_5_1_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_TABLE
;
904 /// Memory Topology Table definition.
907 EFI_ACPI_DESCRIPTION_HEADER Header
;
909 } EFI_ACPI_5_1_MEMORY_TOPOLOGY_TABLE
;
912 /// PMTT Version (as defined in ACPI 5.1 spec.)
914 #define EFI_ACPI_5_1_MEMORY_TOPOLOGY_TABLE_REVISION 0x01
917 /// Common Memory Aggregator Device Structure.
925 } EFI_ACPI_5_1_PMMT_COMMON_MEMORY_AGGREGATOR_DEVICE_STRUCTURE
;
928 /// Memory Aggregator Device Type
930 #define EFI_ACPI_5_1_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_SOCKET 0x1
931 #define EFI_ACPI_5_1_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_MEMORY_CONTROLLER 0x2
932 #define EFI_ACPI_5_1_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_DIMM 0x3
935 /// Socket Memory Aggregator Device Structure.
938 EFI_ACPI_5_1_PMMT_COMMON_MEMORY_AGGREGATOR_DEVICE_STRUCTURE Header
;
939 UINT16 SocketIdentifier
;
941 //EFI_ACPI_5_1_PMMT_MEMORY_CONTROLLER_MEMORY_AGGREGATOR_DEVICE_STRUCTURE MemoryController[];
942 } EFI_ACPI_5_1_PMMT_SOCKET_MEMORY_AGGREGATOR_DEVICE_STRUCTURE
;
945 /// MemoryController Memory Aggregator Device Structure.
948 EFI_ACPI_5_1_PMMT_COMMON_MEMORY_AGGREGATOR_DEVICE_STRUCTURE Header
;
951 UINT32 ReadBandwidth
;
952 UINT32 WriteBandwidth
;
953 UINT16 OptimalAccessUnit
;
954 UINT16 OptimalAccessAlignment
;
956 UINT16 NumberOfProximityDomains
;
957 //UINT32 ProximityDomain[NumberOfProximityDomains];
958 //EFI_ACPI_5_1_PMMT_DIMM_MEMORY_AGGREGATOR_DEVICE_STRUCTURE PhysicalComponent[];
959 } EFI_ACPI_5_1_PMMT_MEMORY_CONTROLLER_MEMORY_AGGREGATOR_DEVICE_STRUCTURE
;
962 /// DIMM Memory Aggregator Device Structure.
965 EFI_ACPI_5_1_PMMT_COMMON_MEMORY_AGGREGATOR_DEVICE_STRUCTURE Header
;
966 UINT16 PhysicalComponentIdentifier
;
970 } EFI_ACPI_5_1_PMMT_DIMM_MEMORY_AGGREGATOR_DEVICE_STRUCTURE
;
973 /// Boot Graphics Resource Table definition.
976 EFI_ACPI_DESCRIPTION_HEADER Header
;
978 /// 2-bytes (16 bit) version ID. This value must be 1.
982 /// 1-byte status field indicating current status about the table.
983 /// Bits[7:1] = Reserved (must be zero)
984 /// Bit [0] = Valid. A one indicates the boot image graphic is valid.
988 /// 1-byte enumerated type field indicating format of the image.
990 /// 1 - 255 Reserved (for future use)
994 /// 8-byte (64 bit) physical address pointing to the firmware's in-memory copy
995 /// of the image bitmap.
999 /// A 4-byte (32-bit) unsigned long describing the display X-offset of the boot image.
1000 /// (X, Y) display offset of the top left corner of the boot image.
1001 /// The top left corner of the display is at offset (0, 0).
1003 UINT32 ImageOffsetX
;
1005 /// A 4-byte (32-bit) unsigned long describing the display Y-offset of the boot image.
1006 /// (X, Y) display offset of the top left corner of the boot image.
1007 /// The top left corner of the display is at offset (0, 0).
1009 UINT32 ImageOffsetY
;
1010 } EFI_ACPI_5_1_BOOT_GRAPHICS_RESOURCE_TABLE
;
1015 #define EFI_ACPI_5_1_BOOT_GRAPHICS_RESOURCE_TABLE_REVISION 1
1020 #define EFI_ACPI_5_1_BGRT_VERSION 0x01
1025 #define EFI_ACPI_5_1_BGRT_STATUS_NOT_DISPLAYED 0x00
1026 #define EFI_ACPI_5_1_BGRT_STATUS_DISPLAYED 0x01
1031 #define EFI_ACPI_5_1_BGRT_IMAGE_TYPE_BMP 0x00
1034 /// FPDT Version (as defined in ACPI 5.1 spec.)
1036 #define EFI_ACPI_5_1_FIRMWARE_PERFORMANCE_DATA_TABLE_REVISION 0x01
1039 /// FPDT Performance Record Types
1041 #define EFI_ACPI_5_1_FPDT_RECORD_TYPE_FIRMWARE_BASIC_BOOT_POINTER 0x0000
1042 #define EFI_ACPI_5_1_FPDT_RECORD_TYPE_S3_PERFORMANCE_TABLE_POINTER 0x0001
1045 /// FPDT Performance Record Revision
1047 #define EFI_ACPI_5_1_FPDT_RECORD_REVISION_FIRMWARE_BASIC_BOOT_POINTER 0x01
1048 #define EFI_ACPI_5_1_FPDT_RECORD_REVISION_S3_PERFORMANCE_TABLE_POINTER 0x01
1051 /// FPDT Runtime Performance Record Types
1053 #define EFI_ACPI_5_1_FPDT_RUNTIME_RECORD_TYPE_S3_RESUME 0x0000
1054 #define EFI_ACPI_5_1_FPDT_RUNTIME_RECORD_TYPE_S3_SUSPEND 0x0001
1055 #define EFI_ACPI_5_1_FPDT_RUNTIME_RECORD_TYPE_FIRMWARE_BASIC_BOOT 0x0002
1058 /// FPDT Runtime Performance Record Revision
1060 #define EFI_ACPI_5_1_FPDT_RUNTIME_RECORD_REVISION_S3_RESUME 0x01
1061 #define EFI_ACPI_5_1_FPDT_RUNTIME_RECORD_REVISION_S3_SUSPEND 0x01
1062 #define EFI_ACPI_5_1_FPDT_RUNTIME_RECORD_REVISION_FIRMWARE_BASIC_BOOT 0x02
1065 /// FPDT Performance Record header
1071 } EFI_ACPI_5_1_FPDT_PERFORMANCE_RECORD_HEADER
;
1074 /// FPDT Performance Table header
1079 } EFI_ACPI_5_1_FPDT_PERFORMANCE_TABLE_HEADER
;
1082 /// FPDT Firmware Basic Boot Performance Pointer Record Structure
1085 EFI_ACPI_5_1_FPDT_PERFORMANCE_RECORD_HEADER Header
;
1088 /// 64-bit processor-relative physical address of the Basic Boot Performance Table.
1090 UINT64 BootPerformanceTablePointer
;
1091 } EFI_ACPI_5_1_FPDT_BOOT_PERFORMANCE_TABLE_POINTER_RECORD
;
1094 /// FPDT S3 Performance Table Pointer Record Structure
1097 EFI_ACPI_5_1_FPDT_PERFORMANCE_RECORD_HEADER Header
;
1100 /// 64-bit processor-relative physical address of the S3 Performance Table.
1102 UINT64 S3PerformanceTablePointer
;
1103 } EFI_ACPI_5_1_FPDT_S3_PERFORMANCE_TABLE_POINTER_RECORD
;
1106 /// FPDT Firmware Basic Boot Performance Record Structure
1109 EFI_ACPI_5_1_FPDT_PERFORMANCE_RECORD_HEADER Header
;
1112 /// Timer value logged at the beginning of firmware image execution.
1113 /// This may not always be zero or near zero.
1117 /// Timer value logged just prior to loading the OS boot loader into memory.
1118 /// For non-UEFI compatible boots, this field must be zero.
1120 UINT64 OsLoaderLoadImageStart
;
1122 /// Timer value logged just prior to launching the previously loaded OS boot loader image.
1123 /// For non-UEFI compatible boots, the timer value logged will be just prior
1124 /// to the INT 19h handler invocation.
1126 UINT64 OsLoaderStartImageStart
;
1128 /// Timer value logged at the point when the OS loader calls the
1129 /// ExitBootServices function for UEFI compatible firmware.
1130 /// For non-UEFI compatible boots, this field must be zero.
1132 UINT64 ExitBootServicesEntry
;
1134 /// Timer value logged at the point just prior towhen the OS loader gaining
1135 /// control back from calls the ExitBootServices function for UEFI compatible firmware.
1136 /// For non-UEFI compatible boots, this field must be zero.
1138 UINT64 ExitBootServicesExit
;
1139 } EFI_ACPI_5_1_FPDT_FIRMWARE_BASIC_BOOT_RECORD
;
1142 /// FPDT Firmware Basic Boot Performance Table signature
1144 #define EFI_ACPI_5_1_FPDT_BOOT_PERFORMANCE_TABLE_SIGNATURE SIGNATURE_32('F', 'B', 'P', 'T')
1147 // FPDT Firmware Basic Boot Performance Table
1150 EFI_ACPI_5_1_FPDT_PERFORMANCE_TABLE_HEADER Header
;
1152 // one or more Performance Records.
1154 } EFI_ACPI_5_1_FPDT_FIRMWARE_BASIC_BOOT_TABLE
;
1157 /// FPDT "S3PT" S3 Performance Table
1159 #define EFI_ACPI_5_1_FPDT_S3_PERFORMANCE_TABLE_SIGNATURE SIGNATURE_32('S', '3', 'P', 'T')
1162 // FPDT Firmware S3 Boot Performance Table
1165 EFI_ACPI_5_1_FPDT_PERFORMANCE_TABLE_HEADER Header
;
1167 // one or more Performance Records.
1169 } EFI_ACPI_5_1_FPDT_FIRMWARE_S3_BOOT_TABLE
;
1172 /// FPDT Basic S3 Resume Performance Record
1175 EFI_ACPI_5_1_FPDT_PERFORMANCE_RECORD_HEADER Header
;
1177 /// A count of the number of S3 resume cycles since the last full boot sequence.
1181 /// Timer recorded at the end of BIOS S3 resume, just prior to handoff to the
1182 /// OS waking vector. Only the most recent resume cycle's time is retained.
1186 /// Average timer value of all resume cycles logged since the last full boot
1187 /// sequence, including the most recent resume. Note that the entire log of
1188 /// timer values does not need to be retained in order to calculate this average.
1190 UINT64 AverageResume
;
1191 } EFI_ACPI_5_1_FPDT_S3_RESUME_RECORD
;
1194 /// FPDT Basic S3 Suspend Performance Record
1197 EFI_ACPI_5_1_FPDT_PERFORMANCE_RECORD_HEADER Header
;
1199 /// Timer value recorded at the OS write to SLP_TYP upon entry to S3.
1200 /// Only the most recent suspend cycle's timer value is retained.
1202 UINT64 SuspendStart
;
1204 /// Timer value recorded at the final firmware write to SLP_TYP (or other
1205 /// mechanism) used to trigger hardware entry to S3.
1206 /// Only the most recent suspend cycle's timer value is retained.
1209 } EFI_ACPI_5_1_FPDT_S3_SUSPEND_RECORD
;
1212 /// Firmware Performance Record Table definition.
1215 EFI_ACPI_DESCRIPTION_HEADER Header
;
1216 } EFI_ACPI_5_1_FIRMWARE_PERFORMANCE_RECORD_TABLE
;
1219 /// Generic Timer Description Table definition.
1222 EFI_ACPI_DESCRIPTION_HEADER Header
;
1223 UINT64 CntControlBasePhysicalAddress
;
1225 UINT32 SecurePL1TimerGSIV
;
1226 UINT32 SecurePL1TimerFlags
;
1227 UINT32 NonSecurePL1TimerGSIV
;
1228 UINT32 NonSecurePL1TimerFlags
;
1229 UINT32 VirtualTimerGSIV
;
1230 UINT32 VirtualTimerFlags
;
1231 UINT32 NonSecurePL2TimerGSIV
;
1232 UINT32 NonSecurePL2TimerFlags
;
1233 UINT64 CntReadBasePhysicalAddress
;
1234 UINT32 PlatformTimerCount
;
1235 UINT32 PlatformTimerOffset
;
1236 } EFI_ACPI_5_1_GENERIC_TIMER_DESCRIPTION_TABLE
;
1239 /// GTDT Version (as defined in ACPI 5.1 spec.)
1241 #define EFI_ACPI_5_1_GENERIC_TIMER_DESCRIPTION_TABLE_REVISION 0x01
1244 /// Timer Flags. All other bits are reserved and must be 0.
1246 #define EFI_ACPI_5_1_GTDT_TIMER_FLAG_TIMER_INTERRUPT_MODE BIT0
1247 #define EFI_ACPI_5_1_GTDT_TIMER_FLAG_TIMER_INTERRUPT_POLARITY BIT1
1248 #define EFI_ACPI_5_1_GTDT_TIMER_FLAG_ALWAYS_ON_CAPABILITY BIT2
1251 /// Platform Timer Type
1253 #define EFI_ACPI_5_1_GTDT_GT_BLOCK 0
1254 #define EFI_ACPI_5_1_GTDT_SBSA_GENERIC_WATCHDOG 1
1257 /// GT Block Structure
1264 UINT32 GTBlockTimerCount
;
1265 UINT32 GTBlockTimerOffset
;
1266 } EFI_ACPI_5_1_GTDT_GT_BLOCK_STRUCTURE
;
1269 /// GT Block Timer Structure
1272 UINT8 GTFrameNumber
;
1276 UINT32 GTxPhysicalTimerGSIV
;
1277 UINT32 GTxPhysicalTimerFlags
;
1278 UINT32 GTxVirtualTimerGSIV
;
1279 UINT32 GTxVirtualTimerFlags
;
1280 UINT32 GTxCommonFlags
;
1281 } EFI_ACPI_5_1_GTDT_GT_BLOCK_TIMER_STRUCTURE
;
1284 /// GT Block Physical Timers and Virtual Timers Flags. All other bits are reserved and must be 0.
1286 #define EFI_ACPI_5_1_GTDT_GT_BLOCK_TIMER_FLAG_TIMER_INTERRUPT_MODE BIT0
1287 #define EFI_ACPI_5_1_GTDT_GT_BLOCK_TIMER_FLAG_TIMER_INTERRUPT_POLARITY BIT1
1290 /// Common Flags Flags. All other bits are reserved and must be 0.
1292 #define EFI_ACPI_5_1_GTDT_GT_BLOCK_COMMON_FLAG_SECURE_TIMER BIT0
1293 #define EFI_ACPI_5_1_GTDT_GT_BLOCK_COMMON_FLAG_ALWAYS_ON_CAPABILITY BIT1
1296 /// SBSA Generic Watchdog Structure
1302 UINT64 RefreshFramePhysicalAddress
;
1303 UINT64 WatchdogControlFramePhysicalAddress
;
1304 UINT32 WatchdogTimerGSIV
;
1305 UINT32 WatchdogTimerFlags
;
1306 } EFI_ACPI_5_1_GTDT_SBSA_GENERIC_WATCHDOG_STRUCTURE
;
1309 /// SBSA Generic Watchdog Timer Flags. All other bits are reserved and must be 0.
1311 #define EFI_ACPI_5_1_GTDT_SBSA_GENERIC_WATCHDOG_FLAG_TIMER_INTERRUPT_MODE BIT0
1312 #define EFI_ACPI_5_1_GTDT_SBSA_GENERIC_WATCHDOG_FLAG_TIMER_INTERRUPT_POLARITY BIT1
1313 #define EFI_ACPI_5_1_GTDT_SBSA_GENERIC_WATCHDOG_FLAG_SECURE_TIMER BIT2
1316 /// Boot Error Record Table (BERT)
1319 EFI_ACPI_DESCRIPTION_HEADER Header
;
1320 UINT32 BootErrorRegionLength
;
1321 UINT64 BootErrorRegion
;
1322 } EFI_ACPI_5_1_BOOT_ERROR_RECORD_TABLE_HEADER
;
1325 /// BERT Version (as defined in ACPI 5.1 spec.)
1327 #define EFI_ACPI_5_1_BOOT_ERROR_RECORD_TABLE_REVISION 0x01
1330 /// Boot Error Region Block Status Definition
1333 UINT32 UncorrectableErrorValid
:1;
1334 UINT32 CorrectableErrorValid
:1;
1335 UINT32 MultipleUncorrectableErrors
:1;
1336 UINT32 MultipleCorrectableErrors
:1;
1337 UINT32 ErrorDataEntryCount
:10;
1339 } EFI_ACPI_5_1_ERROR_BLOCK_STATUS
;
1342 /// Boot Error Region Definition
1345 EFI_ACPI_5_1_ERROR_BLOCK_STATUS BlockStatus
;
1346 UINT32 RawDataOffset
;
1347 UINT32 RawDataLength
;
1349 UINT32 ErrorSeverity
;
1350 } EFI_ACPI_5_1_BOOT_ERROR_REGION_STRUCTURE
;
1353 // Boot Error Severity types
1355 #define EFI_ACPI_5_1_ERROR_SEVERITY_CORRECTABLE 0x00
1356 #define EFI_ACPI_5_1_ERROR_SEVERITY_FATAL 0x01
1357 #define EFI_ACPI_5_1_ERROR_SEVERITY_CORRECTED 0x02
1358 #define EFI_ACPI_5_1_ERROR_SEVERITY_NONE 0x03
1361 /// Generic Error Data Entry Definition
1364 UINT8 SectionType
[16];
1365 UINT32 ErrorSeverity
;
1367 UINT8 ValidationBits
;
1369 UINT32 ErrorDataLength
;
1372 } EFI_ACPI_5_1_GENERIC_ERROR_DATA_ENTRY_STRUCTURE
;
1375 /// Generic Error Data Entry Version (as defined in ACPI 5.1 spec.)
1377 #define EFI_ACPI_5_1_GENERIC_ERROR_DATA_ENTRY_REVISION 0x0201
1380 /// HEST - Hardware Error Source Table
1383 EFI_ACPI_DESCRIPTION_HEADER Header
;
1384 UINT32 ErrorSourceCount
;
1385 } EFI_ACPI_5_1_HARDWARE_ERROR_SOURCE_TABLE_HEADER
;
1388 /// HEST Version (as defined in ACPI 5.1 spec.)
1390 #define EFI_ACPI_5_1_HARDWARE_ERROR_SOURCE_TABLE_REVISION 0x01
1393 // Error Source structure types.
1395 #define EFI_ACPI_5_1_IA32_ARCHITECTURE_MACHINE_CHECK_EXCEPTION 0x00
1396 #define EFI_ACPI_5_1_IA32_ARCHITECTURE_CORRECTED_MACHINE_CHECK 0x01
1397 #define EFI_ACPI_5_1_IA32_ARCHITECTURE_NMI_ERROR 0x02
1398 #define EFI_ACPI_5_1_PCI_EXPRESS_ROOT_PORT_AER 0x06
1399 #define EFI_ACPI_5_1_PCI_EXPRESS_DEVICE_AER 0x07
1400 #define EFI_ACPI_5_1_PCI_EXPRESS_BRIDGE_AER 0x08
1401 #define EFI_ACPI_5_1_GENERIC_HARDWARE_ERROR 0x09
1404 // Error Source structure flags.
1406 #define EFI_ACPI_5_1_ERROR_SOURCE_FLAG_FIRMWARE_FIRST (1 << 0)
1407 #define EFI_ACPI_5_1_ERROR_SOURCE_FLAG_GLOBAL (1 << 1)
1410 /// IA-32 Architecture Machine Check Exception Structure Definition
1418 UINT32 NumberOfRecordsToPreAllocate
;
1419 UINT32 MaxSectionsPerRecord
;
1420 UINT64 GlobalCapabilityInitData
;
1421 UINT64 GlobalControlInitData
;
1422 UINT8 NumberOfHardwareBanks
;
1424 } EFI_ACPI_5_1_IA32_ARCHITECTURE_MACHINE_CHECK_EXCEPTION_STRUCTURE
;
1427 /// IA-32 Architecture Machine Check Bank Structure Definition
1431 UINT8 ClearStatusOnInitialization
;
1432 UINT8 StatusDataFormat
;
1434 UINT32 ControlRegisterMsrAddress
;
1435 UINT64 ControlInitData
;
1436 UINT32 StatusRegisterMsrAddress
;
1437 UINT32 AddressRegisterMsrAddress
;
1438 UINT32 MiscRegisterMsrAddress
;
1439 } EFI_ACPI_5_1_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_BANK_STRUCTURE
;
1442 /// IA-32 Architecture Machine Check Bank Structure MCA data format
1444 #define EFI_ACPI_5_1_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_DATA_FORMAT_IA32 0x00
1445 #define EFI_ACPI_5_1_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_DATA_FORMAT_INTEL64 0x01
1446 #define EFI_ACPI_5_1_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_DATA_FORMAT_AMD64 0x02
1449 // Hardware Error Notification types. All other values are reserved
1451 #define EFI_ACPI_5_1_HARDWARE_ERROR_NOTIFICATION_POLLED 0x00
1452 #define EFI_ACPI_5_1_HARDWARE_ERROR_NOTIFICATION_EXTERNAL_INTERRUPT 0x01
1453 #define EFI_ACPI_5_1_HARDWARE_ERROR_NOTIFICATION_LOCAL_INTERRUPT 0x02
1454 #define EFI_ACPI_5_1_HARDWARE_ERROR_NOTIFICATION_SCI 0x03
1455 #define EFI_ACPI_5_1_HARDWARE_ERROR_NOTIFICATION_NMI 0x04
1458 /// Hardware Error Notification Configuration Write Enable Structure Definition
1462 UINT16 PollInterval
:1;
1463 UINT16 SwitchToPollingThresholdValue
:1;
1464 UINT16 SwitchToPollingThresholdWindow
:1;
1465 UINT16 ErrorThresholdValue
:1;
1466 UINT16 ErrorThresholdWindow
:1;
1468 } EFI_ACPI_5_1_HARDWARE_ERROR_NOTIFICATION_CONFIGURATION_WRITE_ENABLE_STRUCTURE
;
1471 /// Hardware Error Notification Structure Definition
1476 EFI_ACPI_5_1_HARDWARE_ERROR_NOTIFICATION_CONFIGURATION_WRITE_ENABLE_STRUCTURE ConfigurationWriteEnable
;
1477 UINT32 PollInterval
;
1479 UINT32 SwitchToPollingThresholdValue
;
1480 UINT32 SwitchToPollingThresholdWindow
;
1481 UINT32 ErrorThresholdValue
;
1482 UINT32 ErrorThresholdWindow
;
1483 } EFI_ACPI_5_1_HARDWARE_ERROR_NOTIFICATION_STRUCTURE
;
1486 /// IA-32 Architecture Corrected Machine Check Structure Definition
1494 UINT32 NumberOfRecordsToPreAllocate
;
1495 UINT32 MaxSectionsPerRecord
;
1496 EFI_ACPI_5_1_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStructure
;
1497 UINT8 NumberOfHardwareBanks
;
1499 } EFI_ACPI_5_1_IA32_ARCHITECTURE_CORRECTED_MACHINE_CHECK_STRUCTURE
;
1502 /// IA-32 Architecture NMI Error Structure Definition
1508 UINT32 NumberOfRecordsToPreAllocate
;
1509 UINT32 MaxSectionsPerRecord
;
1510 UINT32 MaxRawDataLength
;
1511 } EFI_ACPI_5_1_IA32_ARCHITECTURE_NMI_ERROR_STRUCTURE
;
1514 /// PCI Express Root Port AER Structure Definition
1522 UINT32 NumberOfRecordsToPreAllocate
;
1523 UINT32 MaxSectionsPerRecord
;
1527 UINT16 DeviceControl
;
1529 UINT32 UncorrectableErrorMask
;
1530 UINT32 UncorrectableErrorSeverity
;
1531 UINT32 CorrectableErrorMask
;
1532 UINT32 AdvancedErrorCapabilitiesAndControl
;
1533 UINT32 RootErrorCommand
;
1534 } EFI_ACPI_5_1_PCI_EXPRESS_ROOT_PORT_AER_STRUCTURE
;
1537 /// PCI Express Device AER Structure Definition
1545 UINT32 NumberOfRecordsToPreAllocate
;
1546 UINT32 MaxSectionsPerRecord
;
1550 UINT16 DeviceControl
;
1552 UINT32 UncorrectableErrorMask
;
1553 UINT32 UncorrectableErrorSeverity
;
1554 UINT32 CorrectableErrorMask
;
1555 UINT32 AdvancedErrorCapabilitiesAndControl
;
1556 } EFI_ACPI_5_1_PCI_EXPRESS_DEVICE_AER_STRUCTURE
;
1559 /// PCI Express Bridge AER Structure Definition
1567 UINT32 NumberOfRecordsToPreAllocate
;
1568 UINT32 MaxSectionsPerRecord
;
1572 UINT16 DeviceControl
;
1574 UINT32 UncorrectableErrorMask
;
1575 UINT32 UncorrectableErrorSeverity
;
1576 UINT32 CorrectableErrorMask
;
1577 UINT32 AdvancedErrorCapabilitiesAndControl
;
1578 UINT32 SecondaryUncorrectableErrorMask
;
1579 UINT32 SecondaryUncorrectableErrorSeverity
;
1580 UINT32 SecondaryAdvancedErrorCapabilitiesAndControl
;
1581 } EFI_ACPI_5_1_PCI_EXPRESS_BRIDGE_AER_STRUCTURE
;
1584 /// Generic Hardware Error Source Structure Definition
1589 UINT16 RelatedSourceId
;
1592 UINT32 NumberOfRecordsToPreAllocate
;
1593 UINT32 MaxSectionsPerRecord
;
1594 UINT32 MaxRawDataLength
;
1595 EFI_ACPI_5_1_GENERIC_ADDRESS_STRUCTURE ErrorStatusAddress
;
1596 EFI_ACPI_5_1_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStructure
;
1597 UINT32 ErrorStatusBlockLength
;
1598 } EFI_ACPI_5_1_GENERIC_HARDWARE_ERROR_SOURCE_STRUCTURE
;
1601 /// Generic Error Status Definition
1604 EFI_ACPI_5_1_ERROR_BLOCK_STATUS BlockStatus
;
1605 UINT32 RawDataOffset
;
1606 UINT32 RawDataLength
;
1608 UINT32 ErrorSeverity
;
1609 } EFI_ACPI_5_1_GENERIC_ERROR_STATUS_STRUCTURE
;
1612 /// ERST - Error Record Serialization Table
1615 EFI_ACPI_DESCRIPTION_HEADER Header
;
1616 UINT32 SerializationHeaderSize
;
1618 UINT32 InstructionEntryCount
;
1619 } EFI_ACPI_5_1_ERROR_RECORD_SERIALIZATION_TABLE_HEADER
;
1622 /// ERST Version (as defined in ACPI 5.1 spec.)
1624 #define EFI_ACPI_5_1_ERROR_RECORD_SERIALIZATION_TABLE_REVISION 0x01
1627 /// ERST Serialization Actions
1629 #define EFI_ACPI_5_1_ERST_BEGIN_WRITE_OPERATION 0x00
1630 #define EFI_ACPI_5_1_ERST_BEGIN_READ_OPERATION 0x01
1631 #define EFI_ACPI_5_1_ERST_BEGIN_CLEAR_OPERATION 0x02
1632 #define EFI_ACPI_5_1_ERST_END_OPERATION 0x03
1633 #define EFI_ACPI_5_1_ERST_SET_RECORD_OFFSET 0x04
1634 #define EFI_ACPI_5_1_ERST_EXECUTE_OPERATION 0x05
1635 #define EFI_ACPI_5_1_ERST_CHECK_BUSY_STATUS 0x06
1636 #define EFI_ACPI_5_1_ERST_GET_COMMAND_STATUS 0x07
1637 #define EFI_ACPI_5_1_ERST_GET_RECORD_IDENTIFIER 0x08
1638 #define EFI_ACPI_5_1_ERST_SET_RECORD_IDENTIFIER 0x09
1639 #define EFI_ACPI_5_1_ERST_GET_RECORD_COUNT 0x0A
1640 #define EFI_ACPI_5_1_ERST_BEGIN_DUMMY_WRITE_OPERATION 0x0B
1641 #define EFI_ACPI_5_1_ERST_GET_ERROR_LOG_ADDRESS_RANGE 0x0D
1642 #define EFI_ACPI_5_1_ERST_GET_ERROR_LOG_ADDRESS_RANGE_LENGTH 0x0E
1643 #define EFI_ACPI_5_1_ERST_GET_ERROR_LOG_ADDRESS_RANGE_ATTRIBUTES 0x0F
1646 /// ERST Action Command Status
1648 #define EFI_ACPI_5_1_ERST_STATUS_SUCCESS 0x00
1649 #define EFI_ACPI_5_1_ERST_STATUS_NOT_ENOUGH_SPACE 0x01
1650 #define EFI_ACPI_5_1_ERST_STATUS_HARDWARE_NOT_AVAILABLE 0x02
1651 #define EFI_ACPI_5_1_ERST_STATUS_FAILED 0x03
1652 #define EFI_ACPI_5_1_ERST_STATUS_RECORD_STORE_EMPTY 0x04
1653 #define EFI_ACPI_5_1_ERST_STATUS_RECORD_NOT_FOUND 0x05
1656 /// ERST Serialization Instructions
1658 #define EFI_ACPI_5_1_ERST_READ_REGISTER 0x00
1659 #define EFI_ACPI_5_1_ERST_READ_REGISTER_VALUE 0x01
1660 #define EFI_ACPI_5_1_ERST_WRITE_REGISTER 0x02
1661 #define EFI_ACPI_5_1_ERST_WRITE_REGISTER_VALUE 0x03
1662 #define EFI_ACPI_5_1_ERST_NOOP 0x04
1663 #define EFI_ACPI_5_1_ERST_LOAD_VAR1 0x05
1664 #define EFI_ACPI_5_1_ERST_LOAD_VAR2 0x06
1665 #define EFI_ACPI_5_1_ERST_STORE_VAR1 0x07
1666 #define EFI_ACPI_5_1_ERST_ADD 0x08
1667 #define EFI_ACPI_5_1_ERST_SUBTRACT 0x09
1668 #define EFI_ACPI_5_1_ERST_ADD_VALUE 0x0A
1669 #define EFI_ACPI_5_1_ERST_SUBTRACT_VALUE 0x0B
1670 #define EFI_ACPI_5_1_ERST_STALL 0x0C
1671 #define EFI_ACPI_5_1_ERST_STALL_WHILE_TRUE 0x0D
1672 #define EFI_ACPI_5_1_ERST_SKIP_NEXT_INSTRUCTION_IF_TRUE 0x0E
1673 #define EFI_ACPI_5_1_ERST_GOTO 0x0F
1674 #define EFI_ACPI_5_1_ERST_SET_SRC_ADDRESS_BASE 0x10
1675 #define EFI_ACPI_5_1_ERST_SET_DST_ADDRESS_BASE 0x11
1676 #define EFI_ACPI_5_1_ERST_MOVE_DATA 0x12
1679 /// ERST Instruction Flags
1681 #define EFI_ACPI_5_1_ERST_PRESERVE_REGISTER 0x01
1684 /// ERST Serialization Instruction Entry
1687 UINT8 SerializationAction
;
1691 EFI_ACPI_5_1_GENERIC_ADDRESS_STRUCTURE RegisterRegion
;
1694 } EFI_ACPI_5_1_ERST_SERIALIZATION_INSTRUCTION_ENTRY
;
1697 /// EINJ - Error Injection Table
1700 EFI_ACPI_DESCRIPTION_HEADER Header
;
1701 UINT32 InjectionHeaderSize
;
1702 UINT8 InjectionFlags
;
1704 UINT32 InjectionEntryCount
;
1705 } EFI_ACPI_5_1_ERROR_INJECTION_TABLE_HEADER
;
1708 /// EINJ Version (as defined in ACPI 5.1 spec.)
1710 #define EFI_ACPI_5_1_ERROR_INJECTION_TABLE_REVISION 0x01
1713 /// EINJ Error Injection Actions
1715 #define EFI_ACPI_5_1_EINJ_BEGIN_INJECTION_OPERATION 0x00
1716 #define EFI_ACPI_5_1_EINJ_GET_TRIGGER_ERROR_ACTION_TABLE 0x01
1717 #define EFI_ACPI_5_1_EINJ_SET_ERROR_TYPE 0x02
1718 #define EFI_ACPI_5_1_EINJ_GET_ERROR_TYPE 0x03
1719 #define EFI_ACPI_5_1_EINJ_END_OPERATION 0x04
1720 #define EFI_ACPI_5_1_EINJ_EXECUTE_OPERATION 0x05
1721 #define EFI_ACPI_5_1_EINJ_CHECK_BUSY_STATUS 0x06
1722 #define EFI_ACPI_5_1_EINJ_GET_COMMAND_STATUS 0x07
1723 #define EFI_ACPI_5_1_EINJ_TRIGGER_ERROR 0xFF
1726 /// EINJ Action Command Status
1728 #define EFI_ACPI_5_1_EINJ_STATUS_SUCCESS 0x00
1729 #define EFI_ACPI_5_1_EINJ_STATUS_UNKNOWN_FAILURE 0x01
1730 #define EFI_ACPI_5_1_EINJ_STATUS_INVALID_ACCESS 0x02
1733 /// EINJ Error Type Definition
1735 #define EFI_ACPI_5_1_EINJ_ERROR_PROCESSOR_CORRECTABLE (1 << 0)
1736 #define EFI_ACPI_5_1_EINJ_ERROR_PROCESSOR_UNCORRECTABLE_NONFATAL (1 << 1)
1737 #define EFI_ACPI_5_1_EINJ_ERROR_PROCESSOR_UNCORRECTABLE_FATAL (1 << 2)
1738 #define EFI_ACPI_5_1_EINJ_ERROR_MEMORY_CORRECTABLE (1 << 3)
1739 #define EFI_ACPI_5_1_EINJ_ERROR_MEMORY_UNCORRECTABLE_NONFATAL (1 << 4)
1740 #define EFI_ACPI_5_1_EINJ_ERROR_MEMORY_UNCORRECTABLE_FATAL (1 << 5)
1741 #define EFI_ACPI_5_1_EINJ_ERROR_PCI_EXPRESS_CORRECTABLE (1 << 6)
1742 #define EFI_ACPI_5_1_EINJ_ERROR_PCI_EXPRESS_UNCORRECTABLE_NONFATAL (1 << 7)
1743 #define EFI_ACPI_5_1_EINJ_ERROR_PCI_EXPRESS_UNCORRECTABLE_FATAL (1 << 8)
1744 #define EFI_ACPI_5_1_EINJ_ERROR_PLATFORM_CORRECTABLE (1 << 9)
1745 #define EFI_ACPI_5_1_EINJ_ERROR_PLATFORM_UNCORRECTABLE_NONFATAL (1 << 10)
1746 #define EFI_ACPI_5_1_EINJ_ERROR_PLATFORM_UNCORRECTABLE_FATAL (1 << 11)
1749 /// EINJ Injection Instructions
1751 #define EFI_ACPI_5_1_EINJ_READ_REGISTER 0x00
1752 #define EFI_ACPI_5_1_EINJ_READ_REGISTER_VALUE 0x01
1753 #define EFI_ACPI_5_1_EINJ_WRITE_REGISTER 0x02
1754 #define EFI_ACPI_5_1_EINJ_WRITE_REGISTER_VALUE 0x03
1755 #define EFI_ACPI_5_1_EINJ_NOOP 0x04
1758 /// EINJ Instruction Flags
1760 #define EFI_ACPI_5_1_EINJ_PRESERVE_REGISTER 0x01
1763 /// EINJ Injection Instruction Entry
1766 UINT8 InjectionAction
;
1770 EFI_ACPI_5_1_GENERIC_ADDRESS_STRUCTURE RegisterRegion
;
1773 } EFI_ACPI_5_1_EINJ_INJECTION_INSTRUCTION_ENTRY
;
1776 /// EINJ Trigger Action Table
1783 } EFI_ACPI_5_1_EINJ_TRIGGER_ACTION_TABLE
;
1786 /// Platform Communications Channel Table (PCCT)
1789 EFI_ACPI_DESCRIPTION_HEADER Header
;
1792 } EFI_ACPI_5_1_PLATFORM_COMMUNICATION_CHANNEL_TABLE_HEADER
;
1795 /// PCCT Version (as defined in ACPI 5.1 spec.)
1797 #define EFI_ACPI_5_1_PLATFORM_COMMUNICATION_CHANNEL_TABLE_REVISION 0x01
1800 /// PCCT Global Flags
1802 #define EFI_ACPI_5_1_PCCT_FLAGS_SCI_DOORBELL BIT0
1805 // PCCT Subspace type
1807 #define EFI_ACPI_5_1_PCCT_SUBSPACE_TYPE_GENERIC 0x00
1810 /// PCC Subspace Structure Header
1815 } EFI_ACPI_5_1_PCCT_SUBSPACE_HEADER
;
1818 /// Generic Communications Subspace Structure
1825 UINT64 AddressLength
;
1826 EFI_ACPI_5_1_GENERIC_ADDRESS_STRUCTURE DoorbellRegister
;
1827 UINT64 DoorbellPreserve
;
1828 UINT64 DoorbellWrite
;
1829 UINT32 NominalLatency
;
1830 UINT32 MaximumPeriodicAccessRate
;
1831 UINT16 MinimumRequestTurnaroundTime
;
1832 } EFI_ACPI_5_1_PCCT_SUBSPACE_GENERIC
;
1835 /// Generic Communications Channel Shared Memory Region
1841 UINT8 GenerateSci
:1;
1842 } EFI_ACPI_5_1_PCCT_GENERIC_SHARED_MEMORY_REGION_COMMAND
;
1845 UINT8 CommandComplete
:1;
1846 UINT8 SciDoorbell
:1;
1850 } EFI_ACPI_5_1_PCCT_GENERIC_SHARED_MEMORY_REGION_STATUS
;
1854 EFI_ACPI_5_1_PCCT_GENERIC_SHARED_MEMORY_REGION_COMMAND Command
;
1855 EFI_ACPI_5_1_PCCT_GENERIC_SHARED_MEMORY_REGION_STATUS Status
;
1856 } EFI_ACPI_5_1_PCCT_GENERIC_SHARED_MEMORY_REGION_HEADER
;
1859 // Known table signatures
1863 /// "RSD PTR " Root System Description Pointer
1865 #define EFI_ACPI_5_1_ROOT_SYSTEM_DESCRIPTION_POINTER_SIGNATURE SIGNATURE_64('R', 'S', 'D', ' ', 'P', 'T', 'R', ' ')
1868 /// "APIC" Multiple APIC Description Table
1870 #define EFI_ACPI_5_1_MULTIPLE_APIC_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('A', 'P', 'I', 'C')
1873 /// "BERT" Boot Error Record Table
1875 #define EFI_ACPI_5_1_BOOT_ERROR_RECORD_TABLE_SIGNATURE SIGNATURE_32('B', 'E', 'R', 'T')
1878 /// "BGRT" Boot Graphics Resource Table
1880 #define EFI_ACPI_5_1_BOOT_GRAPHICS_RESOURCE_TABLE_SIGNATURE SIGNATURE_32('B', 'G', 'R', 'T')
1883 /// "CPEP" Corrected Platform Error Polling Table
1885 #define EFI_ACPI_5_1_CORRECTED_PLATFORM_ERROR_POLLING_TABLE_SIGNATURE SIGNATURE_32('C', 'P', 'E', 'P')
1888 /// "DSDT" Differentiated System Description Table
1890 #define EFI_ACPI_5_1_DIFFERENTIATED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('D', 'S', 'D', 'T')
1893 /// "ECDT" Embedded Controller Boot Resources Table
1895 #define EFI_ACPI_5_1_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE_SIGNATURE SIGNATURE_32('E', 'C', 'D', 'T')
1898 /// "EINJ" Error Injection Table
1900 #define EFI_ACPI_5_1_ERROR_INJECTION_TABLE_SIGNATURE SIGNATURE_32('E', 'I', 'N', 'J')
1903 /// "ERST" Error Record Serialization Table
1905 #define EFI_ACPI_5_1_ERROR_RECORD_SERIALIZATION_TABLE_SIGNATURE SIGNATURE_32('E', 'R', 'S', 'T')
1908 /// "FACP" Fixed ACPI Description Table
1910 #define EFI_ACPI_5_1_FIXED_ACPI_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('F', 'A', 'C', 'P')
1913 /// "FACS" Firmware ACPI Control Structure
1915 #define EFI_ACPI_5_1_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE SIGNATURE_32('F', 'A', 'C', 'S')
1918 /// "FPDT" Firmware Performance Data Table
1920 #define EFI_ACPI_5_1_FIRMWARE_PERFORMANCE_DATA_TABLE_SIGNATURE SIGNATURE_32('F', 'P', 'D', 'T')
1923 /// "GTDT" Generic Timer Description Table
1925 #define EFI_ACPI_5_1_GENERIC_TIMER_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('G', 'T', 'D', 'T')
1928 /// "HEST" Hardware Error Source Table
1930 #define EFI_ACPI_5_1_HARDWARE_ERROR_SOURCE_TABLE_SIGNATURE SIGNATURE_32('H', 'E', 'S', 'T')
1933 /// "MPST" Memory Power State Table
1935 #define EFI_ACPI_5_1_MEMORY_POWER_STATE_TABLE_SIGNATURE SIGNATURE_32('M', 'P', 'S', 'T')
1938 /// "MSCT" Maximum System Characteristics Table
1940 #define EFI_ACPI_5_1_MAXIMUM_SYSTEM_CHARACTERISTICS_TABLE_SIGNATURE SIGNATURE_32('M', 'S', 'C', 'T')
1943 /// "PMTT" Platform Memory Topology Table
1945 #define EFI_ACPI_5_1_PLATFORM_MEMORY_TOPOLOGY_TABLE_SIGNATURE SIGNATURE_32('P', 'M', 'T', 'T')
1948 /// "PSDT" Persistent System Description Table
1950 #define EFI_ACPI_5_1_PERSISTENT_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('P', 'S', 'D', 'T')
1953 /// "RASF" ACPI RAS Feature Table
1955 #define EFI_ACPI_5_1_ACPI_RAS_FEATURE_TABLE_SIGNATURE SIGNATURE_32('R', 'A', 'S', 'F')
1958 /// "RSDT" Root System Description Table
1960 #define EFI_ACPI_5_1_ROOT_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('R', 'S', 'D', 'T')
1963 /// "SBST" Smart Battery Specification Table
1965 #define EFI_ACPI_5_1_SMART_BATTERY_SPECIFICATION_TABLE_SIGNATURE SIGNATURE_32('S', 'B', 'S', 'T')
1968 /// "SLIT" System Locality Information Table
1970 #define EFI_ACPI_5_1_SYSTEM_LOCALITY_INFORMATION_TABLE_SIGNATURE SIGNATURE_32('S', 'L', 'I', 'T')
1973 /// "SRAT" System Resource Affinity Table
1975 #define EFI_ACPI_5_1_SYSTEM_RESOURCE_AFFINITY_TABLE_SIGNATURE SIGNATURE_32('S', 'R', 'A', 'T')
1978 /// "SSDT" Secondary System Description Table
1980 #define EFI_ACPI_5_1_SECONDARY_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('S', 'S', 'D', 'T')
1983 /// "XSDT" Extended System Description Table
1985 #define EFI_ACPI_5_1_EXTENDED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('X', 'S', 'D', 'T')
1988 /// "BOOT" MS Simple Boot Spec
1990 #define EFI_ACPI_5_1_SIMPLE_BOOT_FLAG_TABLE_SIGNATURE SIGNATURE_32('B', 'O', 'O', 'T')
1993 /// "CSRT" MS Core System Resource Table
1995 #define EFI_ACPI_5_1_CORE_SYSTEM_RESOURCE_TABLE_SIGNATURE SIGNATURE_32('C', 'S', 'R', 'T')
1998 /// "DBG2" MS Debug Port 2 Spec
2000 #define EFI_ACPI_5_1_DEBUG_PORT_2_TABLE_SIGNATURE SIGNATURE_32('D', 'B', 'G', '2')
2003 /// "DBGP" MS Debug Port Spec
2005 #define EFI_ACPI_5_1_DEBUG_PORT_TABLE_SIGNATURE SIGNATURE_32('D', 'B', 'G', 'P')
2008 /// "DMAR" DMA Remapping Table
2010 #define EFI_ACPI_5_1_DMA_REMAPPING_TABLE_SIGNATURE SIGNATURE_32('D', 'M', 'A', 'R')
2013 /// "DRTM" Dynamic Root of Trust for Measurement Table
2015 #define EFI_ACPI_5_1_DYNAMIC_ROOT_OF_TRUST_FOR_MEASUREMENT_TABLE_SIGNATURE SIGNATURE_32('D', 'R', 'T', 'M')
2018 /// "ETDT" Event Timer Description Table
2020 #define EFI_ACPI_5_1_EVENT_TIMER_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('E', 'T', 'D', 'T')
2023 /// "HPET" IA-PC High Precision Event Timer Table
2025 #define EFI_ACPI_5_1_HIGH_PRECISION_EVENT_TIMER_TABLE_SIGNATURE SIGNATURE_32('H', 'P', 'E', 'T')
2028 /// "iBFT" iSCSI Boot Firmware Table
2030 #define EFI_ACPI_5_1_ISCSI_BOOT_FIRMWARE_TABLE_SIGNATURE SIGNATURE_32('i', 'B', 'F', 'T')
2033 /// "IVRS" I/O Virtualization Reporting Structure
2035 #define EFI_ACPI_5_1_IO_VIRTUALIZATION_REPORTING_STRUCTURE_SIGNATURE SIGNATURE_32('I', 'V', 'R', 'S')
2038 /// "LPIT" Low Power Idle Table
2040 #define EFI_ACPI_5_1_IO_LOW_POWER_IDLE_TABLE_STRUCTURE_SIGNATURE SIGNATURE_32('L', 'P', 'I', 'T')
2043 /// "MCFG" PCI Express Memory Mapped Configuration Space Base Address Description Table
2045 #define EFI_ACPI_5_1_PCI_EXPRESS_MEMORY_MAPPED_CONFIGURATION_SPACE_BASE_ADDRESS_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('M', 'C', 'F', 'G')
2048 /// "MCHI" Management Controller Host Interface Table
2050 #define EFI_ACPI_5_1_MANAGEMENT_CONTROLLER_HOST_INTERFACE_TABLE_SIGNATURE SIGNATURE_32('M', 'C', 'H', 'I')
2053 /// "MSDM" MS Data Management Table
2055 #define EFI_ACPI_5_1_DATA_MANAGEMENT_TABLE_SIGNATURE SIGNATURE_32('M', 'S', 'D', 'M')
2058 /// "SLIC" MS Software Licensing Table Specification
2060 #define EFI_ACPI_5_1_SOFTWARE_LICENSING_TABLE_SIGNATURE SIGNATURE_32('S', 'L', 'I', 'C')
2063 /// "SPCR" Serial Port Concole Redirection Table
2065 #define EFI_ACPI_5_1_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_SIGNATURE SIGNATURE_32('S', 'P', 'C', 'R')
2068 /// "SPMI" Server Platform Management Interface Table
2070 #define EFI_ACPI_5_1_SERVER_PLATFORM_MANAGEMENT_INTERFACE_TABLE_SIGNATURE SIGNATURE_32('S', 'P', 'M', 'I')
2073 /// "TCPA" Trusted Computing Platform Alliance Capabilities Table
2075 #define EFI_ACPI_5_1_TRUSTED_COMPUTING_PLATFORM_ALLIANCE_CAPABILITIES_TABLE_SIGNATURE SIGNATURE_32('T', 'C', 'P', 'A')
2078 /// "TPM2" Trusted Computing Platform 1 Table
2080 #define EFI_ACPI_5_1_TRUSTED_COMPUTING_PLATFORM_2_TABLE_SIGNATURE SIGNATURE_32('T', 'P', 'M', '2')
2083 /// "UEFI" UEFI ACPI Data Table
2085 #define EFI_ACPI_5_1_UEFI_ACPI_DATA_TABLE_SIGNATURE SIGNATURE_32('U', 'E', 'F', 'I')
2088 /// "WAET" Windows ACPI Emulated Devices Table
2090 #define EFI_ACPI_5_1_WINDOWS_ACPI_EMULATED_DEVICES_TABLE_SIGNATURE SIGNATURE_32('W', 'A', 'E', 'T')
2093 /// "WDAT" Watchdog Action Table
2095 #define EFI_ACPI_5_1_WATCHDOG_ACTION_TABLE_SIGNATURE SIGNATURE_32('W', 'D', 'A', 'T')
2098 /// "WDRT" Watchdog Resource Table
2100 #define EFI_ACPI_5_1_WATCHDOG_RESOURCE_TABLE_SIGNATURE SIGNATURE_32('W', 'D', 'R', 'T')
2103 /// "WPBT" MS Platform Binary Table
2105 #define EFI_ACPI_5_1_PLATFORM_BINARY_TABLE_SIGNATURE SIGNATURE_32('W', 'P', 'B', 'T')