2 ACPI 5.0 definitions from the ACPI Specification Revision 5.0a November 13, 2013.
4 Copyright (c) 2014 Hewlett-Packard Development Company, L.P.<BR>
5 Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
12 #include <IndustryStandard/Acpi40.h>
15 // Define for Desriptor
17 #define ACPI_SMALL_FIXED_DMA_DESCRIPTOR_NAME 0x0A
18 #define ACPI_LARGE_GPIO_CONNECTION_DESCRIPTOR_NAME 0x0C
19 #define ACPI_LARGE_GENERIC_SERIAL_BUS_CONNECTION_DESCRIPTOR_NAME 0x0E
21 #define ACPI_FIXED_DMA_DESCRIPTOR 0x55
22 #define ACPI_GPIO_CONNECTION_DESCRIPTOR 0x8C
23 #define ACPI_GENERIC_SERIAL_BUS_CONNECTION_DESCRIPTOR 0x8E
28 /// Generic DMA Descriptor.
30 typedef PACKED struct {
31 ACPI_SMALL_RESOURCE_HEADER Header;
32 UINT16 DmaRequestLine;
34 UINT8 DmaTransferWidth;
35 } EFI_ACPI_FIXED_DMA_DESCRIPTOR;
38 /// GPIO Connection Descriptor
40 typedef PACKED struct {
41 ACPI_LARGE_RESOURCE_HEADER Header;
45 UINT16 InterruptFlags;
46 UINT8 PinConfiguration;
47 UINT16 OutputDriveStrength;
48 UINT16 DebounceTimeout;
49 UINT16 PinTableOffset;
50 UINT8 ResourceSourceIndex;
51 UINT16 ResourceSourceNameOffset;
52 UINT16 VendorDataOffset;
53 UINT16 VendorDataLength;
54 } EFI_ACPI_GPIO_CONNECTION_DESCRIPTOR;
56 #define EFI_ACPI_GPIO_CONNECTION_TYPE_INTERRUPT 0x0
57 #define EFI_ACPI_GPIO_CONNECTION_TYPE_IO 0x1
60 /// Serial Bus Resource Descriptor (Generic)
62 typedef PACKED struct {
63 ACPI_LARGE_RESOURCE_HEADER Header;
65 UINT8 ResourceSourceIndex;
68 UINT16 TypeSpecificFlags;
69 UINT8 TypeSpecificRevisionId;
70 UINT16 TypeDataLength;
72 } EFI_ACPI_SERIAL_BUS_RESOURCE_DESCRIPTOR;
74 #define EFI_ACPI_SERIAL_BUS_RESOURCE_TYPE_I2C 0x1
75 #define EFI_ACPI_SERIAL_BUS_RESOURCE_TYPE_SPI 0x2
76 #define EFI_ACPI_SERIAL_BUS_RESOURCE_TYPE_UART 0x3
79 /// Serial Bus Resource Descriptor (I2C)
81 typedef PACKED struct {
82 ACPI_LARGE_RESOURCE_HEADER Header;
84 UINT8 ResourceSourceIndex;
87 UINT16 TypeSpecificFlags;
88 UINT8 TypeSpecificRevisionId;
89 UINT16 TypeDataLength;
90 UINT32 ConnectionSpeed;
92 } EFI_ACPI_SERIAL_BUS_RESOURCE_I2C_DESCRIPTOR;
95 /// Serial Bus Resource Descriptor (SPI)
97 typedef PACKED struct {
98 ACPI_LARGE_RESOURCE_HEADER Header;
100 UINT8 ResourceSourceIndex;
103 UINT16 TypeSpecificFlags;
104 UINT8 TypeSpecificRevisionId;
105 UINT16 TypeDataLength;
106 UINT32 ConnectionSpeed;
110 UINT16 DeviceSelection;
111 } EFI_ACPI_SERIAL_BUS_RESOURCE_SPI_DESCRIPTOR;
114 /// Serial Bus Resource Descriptor (UART)
116 typedef PACKED struct {
117 ACPI_LARGE_RESOURCE_HEADER Header;
119 UINT8 ResourceSourceIndex;
122 UINT16 TypeSpecificFlags;
123 UINT8 TypeSpecificRevisionId;
124 UINT16 TypeDataLength;
125 UINT32 DefaultBaudRate;
129 UINT8 SerialLinesEnabled;
130 } EFI_ACPI_SERIAL_BUS_RESOURCE_UART_DESCRIPTOR;
135 // Ensure proper structure formats
140 /// ACPI 5.0 Generic Address Space definition
143 UINT8 AddressSpaceId;
144 UINT8 RegisterBitWidth;
145 UINT8 RegisterBitOffset;
148 } EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE;
151 // Generic Address Space Address IDs
153 #define EFI_ACPI_5_0_SYSTEM_MEMORY 0
154 #define EFI_ACPI_5_0_SYSTEM_IO 1
155 #define EFI_ACPI_5_0_PCI_CONFIGURATION_SPACE 2
156 #define EFI_ACPI_5_0_EMBEDDED_CONTROLLER 3
157 #define EFI_ACPI_5_0_SMBUS 4
158 #define EFI_ACPI_5_0_PLATFORM_COMMUNICATION_CHANNEL 0x0A
159 #define EFI_ACPI_5_0_FUNCTIONAL_FIXED_HARDWARE 0x7F
162 // Generic Address Space Access Sizes
164 #define EFI_ACPI_5_0_UNDEFINED 0
165 #define EFI_ACPI_5_0_BYTE 1
166 #define EFI_ACPI_5_0_WORD 2
167 #define EFI_ACPI_5_0_DWORD 3
168 #define EFI_ACPI_5_0_QWORD 4
171 // ACPI 5.0 table structures
175 /// Root System Description Pointer Structure
185 UINT8 ExtendedChecksum;
187 } EFI_ACPI_5_0_ROOT_SYSTEM_DESCRIPTION_POINTER;
190 /// RSD_PTR Revision (as defined in ACPI 5.0 spec.)
192 #define EFI_ACPI_5_0_ROOT_SYSTEM_DESCRIPTION_POINTER_REVISION 0x02 ///< ACPISpec (Revision 5.0) says current value is 2
195 /// Common table header, this prefaces all ACPI tables, including FACS, but
196 /// excluding the RSD PTR structure
201 } EFI_ACPI_5_0_COMMON_HEADER;
204 // Root System Description Table
205 // No definition needed as it is a common description table header, the same with
206 // EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT32 table pointers.
210 /// RSDT Revision (as defined in ACPI 5.0 spec.)
212 #define EFI_ACPI_5_0_ROOT_SYSTEM_DESCRIPTION_TABLE_REVISION 0x01
215 // Extended System Description Table
216 // No definition needed as it is a common description table header, the same with
217 // EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT64 table pointers.
221 /// XSDT Revision (as defined in ACPI 5.0 spec.)
223 #define EFI_ACPI_5_0_EXTENDED_SYSTEM_DESCRIPTION_TABLE_REVISION 0x01
226 /// Fixed ACPI Description Table Structure (FADT)
229 EFI_ACPI_DESCRIPTION_HEADER Header;
233 UINT8 PreferredPmProfile;
268 EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE ResetReg;
271 UINT64 XFirmwareCtrl;
273 EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPm1aEvtBlk;
274 EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPm1bEvtBlk;
275 EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPm1aCntBlk;
276 EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPm1bCntBlk;
277 EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPm2CntBlk;
278 EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XPmTmrBlk;
279 EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XGpe0Blk;
280 EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE XGpe1Blk;
281 EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE SleepControlReg;
282 EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE SleepStatusReg;
283 } EFI_ACPI_5_0_FIXED_ACPI_DESCRIPTION_TABLE;
286 /// FADT Version (as defined in ACPI 5.0 spec.)
288 #define EFI_ACPI_5_0_FIXED_ACPI_DESCRIPTION_TABLE_REVISION 0x05
291 // Fixed ACPI Description Table Preferred Power Management Profile
293 #define EFI_ACPI_5_0_PM_PROFILE_UNSPECIFIED 0
294 #define EFI_ACPI_5_0_PM_PROFILE_DESKTOP 1
295 #define EFI_ACPI_5_0_PM_PROFILE_MOBILE 2
296 #define EFI_ACPI_5_0_PM_PROFILE_WORKSTATION 3
297 #define EFI_ACPI_5_0_PM_PROFILE_ENTERPRISE_SERVER 4
298 #define EFI_ACPI_5_0_PM_PROFILE_SOHO_SERVER 5
299 #define EFI_ACPI_5_0_PM_PROFILE_APPLIANCE_PC 6
300 #define EFI_ACPI_5_0_PM_PROFILE_PERFORMANCE_SERVER 7
301 #define EFI_ACPI_5_0_PM_PROFILE_TABLET 8
304 // Fixed ACPI Description Table Boot Architecture Flags
305 // All other bits are reserved and must be set to 0.
307 #define EFI_ACPI_5_0_LEGACY_DEVICES BIT0
308 #define EFI_ACPI_5_0_8042 BIT1
309 #define EFI_ACPI_5_0_VGA_NOT_PRESENT BIT2
310 #define EFI_ACPI_5_0_MSI_NOT_SUPPORTED BIT3
311 #define EFI_ACPI_5_0_PCIE_ASPM_CONTROLS BIT4
312 #define EFI_ACPI_5_0_CMOS_RTC_NOT_PRESENT BIT5
315 // Fixed ACPI Description Table Fixed Feature Flags
316 // All other bits are reserved and must be set to 0.
318 #define EFI_ACPI_5_0_WBINVD BIT0
319 #define EFI_ACPI_5_0_WBINVD_FLUSH BIT1
320 #define EFI_ACPI_5_0_PROC_C1 BIT2
321 #define EFI_ACPI_5_0_P_LVL2_UP BIT3
322 #define EFI_ACPI_5_0_PWR_BUTTON BIT4
323 #define EFI_ACPI_5_0_SLP_BUTTON BIT5
324 #define EFI_ACPI_5_0_FIX_RTC BIT6
325 #define EFI_ACPI_5_0_RTC_S4 BIT7
326 #define EFI_ACPI_5_0_TMR_VAL_EXT BIT8
327 #define EFI_ACPI_5_0_DCK_CAP BIT9
328 #define EFI_ACPI_5_0_RESET_REG_SUP BIT10
329 #define EFI_ACPI_5_0_SEALED_CASE BIT11
330 #define EFI_ACPI_5_0_HEADLESS BIT12
331 #define EFI_ACPI_5_0_CPU_SW_SLP BIT13
332 #define EFI_ACPI_5_0_PCI_EXP_WAK BIT14
333 #define EFI_ACPI_5_0_USE_PLATFORM_CLOCK BIT15
334 #define EFI_ACPI_5_0_S4_RTC_STS_VALID BIT16
335 #define EFI_ACPI_5_0_REMOTE_POWER_ON_CAPABLE BIT17
336 #define EFI_ACPI_5_0_FORCE_APIC_CLUSTER_MODEL BIT18
337 #define EFI_ACPI_5_0_FORCE_APIC_PHYSICAL_DESTINATION_MODE BIT19
338 #define EFI_ACPI_5_0_HW_REDUCED_ACPI BIT20
339 #define EFI_ACPI_5_0_LOW_POWER_S0_IDLE_CAPABLE BIT21
342 /// Firmware ACPI Control Structure
347 UINT32 HardwareSignature;
348 UINT32 FirmwareWakingVector;
351 UINT64 XFirmwareWakingVector;
356 } EFI_ACPI_5_0_FIRMWARE_ACPI_CONTROL_STRUCTURE;
359 /// FACS Version (as defined in ACPI 5.0 spec.)
361 #define EFI_ACPI_5_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_VERSION 0x02
364 /// Firmware Control Structure Feature Flags
365 /// All other bits are reserved and must be set to 0.
367 #define EFI_ACPI_5_0_S4BIOS_F BIT0
368 #define EFI_ACPI_5_0_64BIT_WAKE_SUPPORTED_F BIT1
371 /// OSPM Enabled Firmware Control Structure Flags
372 /// All other bits are reserved and must be set to 0.
374 #define EFI_ACPI_5_0_OSPM_64BIT_WAKE_F BIT0
377 // Differentiated System Description Table,
378 // Secondary System Description Table
379 // and Persistent System Description Table,
380 // no definition needed as they are common description table header, the same with
381 // EFI_ACPI_DESCRIPTION_HEADER, followed by a definition block.
383 #define EFI_ACPI_5_0_DIFFERENTIATED_SYSTEM_DESCRIPTION_TABLE_REVISION 0x02
384 #define EFI_ACPI_5_0_SECONDARY_SYSTEM_DESCRIPTION_TABLE_REVISION 0x02
387 /// Multiple APIC Description Table header definition. The rest of the table
388 /// must be defined in a platform specific manner.
391 EFI_ACPI_DESCRIPTION_HEADER Header;
392 UINT32 LocalApicAddress;
394 } EFI_ACPI_5_0_MULTIPLE_APIC_DESCRIPTION_TABLE_HEADER;
397 /// MADT Revision (as defined in ACPI 5.0 spec.)
399 #define EFI_ACPI_5_0_MULTIPLE_APIC_DESCRIPTION_TABLE_REVISION 0x03
402 /// Multiple APIC Flags
403 /// All other bits are reserved and must be set to 0.
405 #define EFI_ACPI_5_0_PCAT_COMPAT BIT0
408 // Multiple APIC Description Table APIC structure types
409 // All other values between 0x0D and 0x7F are reserved and
410 // will be ignored by OSPM. 0x80 ~ 0xFF are reserved for OEM.
412 #define EFI_ACPI_5_0_PROCESSOR_LOCAL_APIC 0x00
413 #define EFI_ACPI_5_0_IO_APIC 0x01
414 #define EFI_ACPI_5_0_INTERRUPT_SOURCE_OVERRIDE 0x02
415 #define EFI_ACPI_5_0_NON_MASKABLE_INTERRUPT_SOURCE 0x03
416 #define EFI_ACPI_5_0_LOCAL_APIC_NMI 0x04
417 #define EFI_ACPI_5_0_LOCAL_APIC_ADDRESS_OVERRIDE 0x05
418 #define EFI_ACPI_5_0_IO_SAPIC 0x06
419 #define EFI_ACPI_5_0_LOCAL_SAPIC 0x07
420 #define EFI_ACPI_5_0_PLATFORM_INTERRUPT_SOURCES 0x08
421 #define EFI_ACPI_5_0_PROCESSOR_LOCAL_X2APIC 0x09
422 #define EFI_ACPI_5_0_LOCAL_X2APIC_NMI 0x0A
423 #define EFI_ACPI_5_0_GIC 0x0B
424 #define EFI_ACPI_5_0_GICD 0x0C
427 // APIC Structure Definitions
431 /// Processor Local APIC Structure Definition
436 UINT8 AcpiProcessorId;
439 } EFI_ACPI_5_0_PROCESSOR_LOCAL_APIC_STRUCTURE;
442 /// Local APIC Flags. All other bits are reserved and must be 0.
444 #define EFI_ACPI_5_0_LOCAL_APIC_ENABLED BIT0
447 /// IO APIC Structure
454 UINT32 IoApicAddress;
455 UINT32 GlobalSystemInterruptBase;
456 } EFI_ACPI_5_0_IO_APIC_STRUCTURE;
459 /// Interrupt Source Override Structure
466 UINT32 GlobalSystemInterrupt;
468 } EFI_ACPI_5_0_INTERRUPT_SOURCE_OVERRIDE_STRUCTURE;
471 /// Platform Interrupt Sources Structure Definition
481 UINT32 GlobalSystemInterrupt;
482 UINT32 PlatformInterruptSourceFlags;
483 UINT8 CpeiProcessorOverride;
485 } EFI_ACPI_5_0_PLATFORM_INTERRUPT_APIC_STRUCTURE;
489 // All other bits are reserved and must be set to 0.
491 #define EFI_ACPI_5_0_POLARITY (3 << 0)
492 #define EFI_ACPI_5_0_TRIGGER_MODE (3 << 2)
495 /// Non-Maskable Interrupt Source Structure
501 UINT32 GlobalSystemInterrupt;
502 } EFI_ACPI_5_0_NON_MASKABLE_INTERRUPT_SOURCE_STRUCTURE;
505 /// Local APIC NMI Structure
510 UINT8 AcpiProcessorId;
513 } EFI_ACPI_5_0_LOCAL_APIC_NMI_STRUCTURE;
516 /// Local APIC Address Override Structure
522 UINT64 LocalApicAddress;
523 } EFI_ACPI_5_0_LOCAL_APIC_ADDRESS_OVERRIDE_STRUCTURE;
526 /// IO SAPIC Structure
533 UINT32 GlobalSystemInterruptBase;
534 UINT64 IoSapicAddress;
535 } EFI_ACPI_5_0_IO_SAPIC_STRUCTURE;
538 /// Local SAPIC Structure
539 /// This struct followed by a null-terminated ASCII string - ACPI Processor UID String
544 UINT8 AcpiProcessorId;
549 UINT32 ACPIProcessorUIDValue;
550 } EFI_ACPI_5_0_PROCESSOR_LOCAL_SAPIC_STRUCTURE;
553 /// Platform Interrupt Sources Structure
563 UINT32 GlobalSystemInterrupt;
564 UINT32 PlatformInterruptSourceFlags;
565 } EFI_ACPI_5_0_PLATFORM_INTERRUPT_SOURCES_STRUCTURE;
568 /// Platform Interrupt Source Flags.
569 /// All other bits are reserved and must be set to 0.
571 #define EFI_ACPI_5_0_CPEI_PROCESSOR_OVERRIDE BIT0
574 /// Processor Local x2APIC Structure Definition
582 UINT32 AcpiProcessorUid;
583 } EFI_ACPI_5_0_PROCESSOR_LOCAL_X2APIC_STRUCTURE;
586 /// Local x2APIC NMI Structure
592 UINT32 AcpiProcessorUid;
593 UINT8 LocalX2ApicLint;
595 } EFI_ACPI_5_0_LOCAL_X2APIC_NMI_STRUCTURE;
605 UINT32 AcpiProcessorUid;
607 UINT32 ParkingProtocolVersion;
608 UINT32 PerformanceInterruptGsiv;
609 UINT64 ParkedAddress;
610 UINT64 PhysicalBaseAddress;
611 } EFI_ACPI_5_0_GIC_STRUCTURE;
614 /// GIC Flags. All other bits are reserved and must be 0.
616 #define EFI_ACPI_5_0_GIC_ENABLED BIT0
617 #define EFI_ACPI_5_0_PERFORMANCE_INTERRUPT_MODEL BIT1
620 /// GIC Distributor Structure
627 UINT64 PhysicalBaseAddress;
628 UINT32 SystemVectorBase;
630 } EFI_ACPI_5_0_GIC_DISTRIBUTOR_STRUCTURE;
633 /// Smart Battery Description Table (SBST)
636 EFI_ACPI_DESCRIPTION_HEADER Header;
637 UINT32 WarningEnergyLevel;
638 UINT32 LowEnergyLevel;
639 UINT32 CriticalEnergyLevel;
640 } EFI_ACPI_5_0_SMART_BATTERY_DESCRIPTION_TABLE;
643 /// SBST Version (as defined in ACPI 5.0 spec.)
645 #define EFI_ACPI_5_0_SMART_BATTERY_DESCRIPTION_TABLE_REVISION 0x01
648 /// Embedded Controller Boot Resources Table (ECDT)
649 /// The table is followed by a null terminated ASCII string that contains
650 /// a fully qualified reference to the name space object.
653 EFI_ACPI_DESCRIPTION_HEADER Header;
654 EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE EcControl;
655 EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE EcData;
658 } EFI_ACPI_5_0_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE;
661 /// ECDT Version (as defined in ACPI 5.0 spec.)
663 #define EFI_ACPI_5_0_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE_REVISION 0x01
666 /// System Resource Affinity Table (SRAT). The rest of the table
667 /// must be defined in a platform specific manner.
670 EFI_ACPI_DESCRIPTION_HEADER Header;
671 UINT32 Reserved1; ///< Must be set to 1
673 } EFI_ACPI_5_0_SYSTEM_RESOURCE_AFFINITY_TABLE_HEADER;
676 /// SRAT Version (as defined in ACPI 5.0 spec.)
678 #define EFI_ACPI_5_0_SYSTEM_RESOURCE_AFFINITY_TABLE_REVISION 0x03
681 // SRAT structure types.
682 // All other values between 0x03 an 0xFF are reserved and
683 // will be ignored by OSPM.
685 #define EFI_ACPI_5_0_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY 0x00
686 #define EFI_ACPI_5_0_MEMORY_AFFINITY 0x01
687 #define EFI_ACPI_5_0_PROCESSOR_LOCAL_X2APIC_AFFINITY 0x02
690 /// Processor Local APIC/SAPIC Affinity Structure Definition
695 UINT8 ProximityDomain7To0;
699 UINT8 ProximityDomain31To8[3];
701 } EFI_ACPI_5_0_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY_STRUCTURE;
704 /// Local APIC/SAPIC Flags. All other bits are reserved and must be 0.
706 #define EFI_ACPI_5_0_PROCESSOR_LOCAL_APIC_SAPIC_ENABLED (1 << 0)
709 /// Memory Affinity Structure Definition
714 UINT32 ProximityDomain;
716 UINT32 AddressBaseLow;
717 UINT32 AddressBaseHigh;
723 } EFI_ACPI_5_0_MEMORY_AFFINITY_STRUCTURE;
726 // Memory Flags. All other bits are reserved and must be 0.
728 #define EFI_ACPI_5_0_MEMORY_ENABLED (1 << 0)
729 #define EFI_ACPI_5_0_MEMORY_HOT_PLUGGABLE (1 << 1)
730 #define EFI_ACPI_5_0_MEMORY_NONVOLATILE (1 << 2)
733 /// Processor Local x2APIC Affinity Structure Definition
739 UINT32 ProximityDomain;
744 } EFI_ACPI_5_0_PROCESSOR_LOCAL_X2APIC_AFFINITY_STRUCTURE;
747 /// System Locality Distance Information Table (SLIT).
748 /// The rest of the table is a matrix.
751 EFI_ACPI_DESCRIPTION_HEADER Header;
752 UINT64 NumberOfSystemLocalities;
753 } EFI_ACPI_5_0_SYSTEM_LOCALITY_DISTANCE_INFORMATION_TABLE_HEADER;
756 /// SLIT Version (as defined in ACPI 5.0 spec.)
758 #define EFI_ACPI_5_0_SYSTEM_LOCALITY_DISTANCE_INFORMATION_TABLE_REVISION 0x01
761 /// Corrected Platform Error Polling Table (CPEP)
764 EFI_ACPI_DESCRIPTION_HEADER Header;
766 } EFI_ACPI_5_0_CORRECTED_PLATFORM_ERROR_POLLING_TABLE_HEADER;
769 /// CPEP Version (as defined in ACPI 5.0 spec.)
771 #define EFI_ACPI_5_0_CORRECTED_PLATFORM_ERROR_POLLING_TABLE_REVISION 0x01
774 // CPEP processor structure types.
776 #define EFI_ACPI_5_0_CPEP_PROCESSOR_APIC_SAPIC 0x00
779 /// Corrected Platform Error Polling Processor Structure Definition
786 UINT32 PollingInterval;
787 } EFI_ACPI_5_0_CPEP_PROCESSOR_APIC_SAPIC_STRUCTURE;
790 /// Maximum System Characteristics Table (MSCT)
793 EFI_ACPI_DESCRIPTION_HEADER Header;
794 UINT32 OffsetProxDomInfo;
795 UINT32 MaximumNumberOfProximityDomains;
796 UINT32 MaximumNumberOfClockDomains;
797 UINT64 MaximumPhysicalAddress;
798 } EFI_ACPI_5_0_MAXIMUM_SYSTEM_CHARACTERISTICS_TABLE_HEADER;
801 /// MSCT Version (as defined in ACPI 5.0 spec.)
803 #define EFI_ACPI_5_0_MAXIMUM_SYSTEM_CHARACTERISTICS_TABLE_REVISION 0x01
806 /// Maximum Proximity Domain Information Structure Definition
811 UINT32 ProximityDomainRangeLow;
812 UINT32 ProximityDomainRangeHigh;
813 UINT32 MaximumProcessorCapacity;
814 UINT64 MaximumMemoryCapacity;
815 } EFI_ACPI_5_0_MAXIMUM_PROXIMITY_DOMAIN_INFORMATION_STRUCTURE;
818 /// ACPI RAS Feature Table definition.
821 EFI_ACPI_DESCRIPTION_HEADER Header;
822 UINT8 PlatformCommunicationChannelIdentifier[12];
823 } EFI_ACPI_5_0_RAS_FEATURE_TABLE;
826 /// RASF Version (as defined in ACPI 5.0 spec.)
828 #define EFI_ACPI_5_0_RAS_FEATURE_TABLE_REVISION 0x01
831 /// ACPI RASF Platform Communication Channel Shared Memory Region definition.
838 UINT8 RASCapabilities[16];
839 UINT8 SetRASCapabilities[16];
840 UINT16 NumberOfRASFParameterBlocks;
841 UINT32 SetRASCapabilitiesStatus;
842 } EFI_ACPI_5_0_RASF_PLATFORM_COMMUNICATION_CHANNEL_SHARED_MEMORY_REGION;
845 /// ACPI RASF PCC command code
847 #define EFI_ACPI_5_0_RASF_PCC_COMMAND_CODE_EXECUTE_RASF_COMMAND 0x01
850 /// ACPI RASF Platform RAS Capabilities
852 #define EFI_ACPI_5_0_RASF_PLATFORM_RAS_CAPABILITY_HARDWARE_BASED_PATROL_SCRUB_SUPPOTED 0x01
853 #define EFI_ACPI_5_0_RASF_PLATFORM_RAS_CAPABILITY_HARDWARE_BASED_PATROL_SCRUB_SUPPOTED_AND_EXPOSED_TO_SOFTWARE 0x02
856 /// ACPI RASF Parameter Block structure for PATROL_SCRUB
862 UINT16 PatrolScrubCommand;
863 UINT64 RequestedAddressRange[2];
864 UINT64 ActualAddressRange[2];
866 UINT8 RequestedSpeed;
867 } EFI_ACPI_5_0_RASF_PATROL_SCRUB_PLATFORM_BLOCK_STRUCTURE;
870 /// ACPI RASF Patrol Scrub command
872 #define EFI_ACPI_5_0_RASF_PATROL_SCRUB_COMMAND_GET_PATROL_PARAMETERS 0x01
873 #define EFI_ACPI_5_0_RASF_PATROL_SCRUB_COMMAND_START_PATROL_SCRUBBER 0x02
874 #define EFI_ACPI_5_0_RASF_PATROL_SCRUB_COMMAND_STOP_PATROL_SCRUBBER 0x03
877 /// Memory Power State Table definition.
880 EFI_ACPI_DESCRIPTION_HEADER Header;
881 UINT8 PlatformCommunicationChannelIdentifier;
883 // Memory Power Node Structure
884 // Memory Power State Characteristics
885 } EFI_ACPI_5_0_MEMORY_POWER_STATUS_TABLE;
888 /// MPST Version (as defined in ACPI 5.0 spec.)
890 #define EFI_ACPI_5_0_MEMORY_POWER_STATE_TABLE_REVISION 0x01
893 /// MPST Platform Communication Channel Shared Memory Region definition.
899 UINT32 MemoryPowerCommandRegister;
900 UINT32 MemoryPowerStatusRegister;
902 UINT32 MemoryPowerNodeId;
903 UINT64 MemoryEnergyConsumed;
904 UINT64 ExpectedAveragePowerComsuned;
905 } EFI_ACPI_5_0_MPST_PLATFORM_COMMUNICATION_CHANNEL_SHARED_MEMORY_REGION;
908 /// ACPI MPST PCC command code
910 #define EFI_ACPI_5_0_MPST_PCC_COMMAND_CODE_EXECUTE_MPST_COMMAND 0x03
913 /// ACPI MPST Memory Power command
915 #define EFI_ACPI_5_0_MPST_MEMORY_POWER_COMMAND_GET_MEMORY_POWER_STATE 0x01
916 #define EFI_ACPI_5_0_MPST_MEMORY_POWER_COMMAND_SET_MEMORY_POWER_STATE 0x02
917 #define EFI_ACPI_5_0_MPST_MEMORY_POWER_COMMAND_GET_AVERAGE_POWER_CONSUMED 0x03
918 #define EFI_ACPI_5_0_MPST_MEMORY_POWER_COMMAND_GET_MEMORY_ENERGY_CONSUMED 0x04
921 /// MPST Memory Power Node Table
924 UINT8 PowerStateValue;
925 UINT8 PowerStateInformationIndex;
926 } EFI_ACPI_5_0_MPST_MEMORY_POWER_STATE;
931 UINT16 MemoryPowerNodeId;
934 UINT64 AddressLength;
935 UINT32 NumberOfPowerStates;
936 UINT32 NumberOfPhysicalComponents;
937 //EFI_ACPI_5_0_MPST_MEMORY_POWER_STATE MemoryPowerState[NumberOfPowerStates];
938 //UINT16 PhysicalComponentIdentifier[NumberOfPhysicalComponents];
939 } EFI_ACPI_5_0_MPST_MEMORY_POWER_STRUCTURE;
941 #define EFI_ACPI_5_0_MPST_MEMORY_POWER_STRUCTURE_FLAG_ENABLE 0x01
942 #define EFI_ACPI_5_0_MPST_MEMORY_POWER_STRUCTURE_FLAG_POWER_MANAGED 0x02
943 #define EFI_ACPI_5_0_MPST_MEMORY_POWER_STRUCTURE_FLAG_HOT_PLUGGABLE 0x04
946 UINT16 MemoryPowerNodeCount;
948 } EFI_ACPI_5_0_MPST_MEMORY_POWER_NODE_TABLE;
951 /// MPST Memory Power State Characteristics Table
954 UINT8 PowerStateStructureID;
957 UINT32 AveragePowerConsumedInMPS0;
958 UINT32 RelativePowerSavingToMPS0;
959 UINT64 ExitLatencyToMPS0;
960 } EFI_ACPI_5_0_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE;
962 #define EFI_ACPI_5_0_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE_FLAG_MEMORY_CONTENT_PRESERVED 0x01
963 #define EFI_ACPI_5_0_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE_FLAG_AUTONOMOUS_MEMORY_POWER_STATE_ENTRY 0x02
964 #define EFI_ACPI_5_0_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE_FLAG_AUTONOMOUS_MEMORY_POWER_STATE_EXIT 0x04
967 UINT16 MemoryPowerStateCharacteristicsCount;
969 } EFI_ACPI_5_0_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_TABLE;
972 /// Memory Topology Table definition.
975 EFI_ACPI_DESCRIPTION_HEADER Header;
977 } EFI_ACPI_5_0_MEMORY_TOPOLOGY_TABLE;
980 /// PMTT Version (as defined in ACPI 5.0 spec.)
982 #define EFI_ACPI_5_0_MEMORY_TOPOLOGY_TABLE_REVISION 0x01
985 /// Common Memory Aggregator Device Structure.
993 } EFI_ACPI_5_0_PMMT_COMMON_MEMORY_AGGREGATOR_DEVICE_STRUCTURE;
996 /// Memory Aggregator Device Type
998 #define EFI_ACPI_5_0_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_SOCKET 0x1
999 #define EFI_ACPI_5_0_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_MEMORY_CONTROLLER 0x2
1000 #define EFI_ACPI_5_0_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_DIMM 0x3
1003 /// Socket Memory Aggregator Device Structure.
1006 EFI_ACPI_5_0_PMMT_COMMON_MEMORY_AGGREGATOR_DEVICE_STRUCTURE Header;
1007 UINT16 SocketIdentifier;
1009 //EFI_ACPI_5_0_PMMT_MEMORY_CONTROLLER_MEMORY_AGGREGATOR_DEVICE_STRUCTURE MemoryController[];
1010 } EFI_ACPI_5_0_PMMT_SOCKET_MEMORY_AGGREGATOR_DEVICE_STRUCTURE;
1013 /// MemoryController Memory Aggregator Device Structure.
1016 EFI_ACPI_5_0_PMMT_COMMON_MEMORY_AGGREGATOR_DEVICE_STRUCTURE Header;
1018 UINT32 WriteLatency;
1019 UINT32 ReadBandwidth;
1020 UINT32 WriteBandwidth;
1021 UINT16 OptimalAccessUnit;
1022 UINT16 OptimalAccessAlignment;
1024 UINT16 NumberOfProximityDomains;
1025 //UINT32 ProximityDomain[NumberOfProximityDomains];
1026 //EFI_ACPI_5_0_PMMT_DIMM_MEMORY_AGGREGATOR_DEVICE_STRUCTURE PhysicalComponent[];
1027 } EFI_ACPI_5_0_PMMT_MEMORY_CONTROLLER_MEMORY_AGGREGATOR_DEVICE_STRUCTURE;
1030 /// DIMM Memory Aggregator Device Structure.
1033 EFI_ACPI_5_0_PMMT_COMMON_MEMORY_AGGREGATOR_DEVICE_STRUCTURE Header;
1034 UINT16 PhysicalComponentIdentifier;
1037 UINT32 SmbiosHandle;
1038 } EFI_ACPI_5_0_PMMT_DIMM_MEMORY_AGGREGATOR_DEVICE_STRUCTURE;
1041 /// Boot Graphics Resource Table definition.
1044 EFI_ACPI_DESCRIPTION_HEADER Header;
1046 /// 2-bytes (16 bit) version ID. This value must be 1.
1050 /// 1-byte status field indicating current status about the table.
1051 /// Bits[7:1] = Reserved (must be zero)
1052 /// Bit [0] = Valid. A one indicates the boot image graphic is valid.
1056 /// 1-byte enumerated type field indicating format of the image.
1058 /// 1 - 255 Reserved (for future use)
1062 /// 8-byte (64 bit) physical address pointing to the firmware's in-memory copy
1063 /// of the image bitmap.
1065 UINT64 ImageAddress;
1067 /// A 4-byte (32-bit) unsigned long describing the display X-offset of the boot image.
1068 /// (X, Y) display offset of the top left corner of the boot image.
1069 /// The top left corner of the display is at offset (0, 0).
1071 UINT32 ImageOffsetX;
1073 /// A 4-byte (32-bit) unsigned long describing the display Y-offset of the boot image.
1074 /// (X, Y) display offset of the top left corner of the boot image.
1075 /// The top left corner of the display is at offset (0, 0).
1077 UINT32 ImageOffsetY;
1078 } EFI_ACPI_5_0_BOOT_GRAPHICS_RESOURCE_TABLE;
1083 #define EFI_ACPI_5_0_BOOT_GRAPHICS_RESOURCE_TABLE_REVISION 1
1088 #define EFI_ACPI_5_0_BGRT_VERSION 0x01
1093 #define EFI_ACPI_5_0_BGRT_STATUS_NOT_DISPLAYED 0x00
1094 #define EFI_ACPI_5_0_BGRT_STATUS_DISPLAYED 0x01
1095 #define EFI_ACPI_5_0_BGRT_STATUS_INVALID EFI_ACPI_5_0_BGRT_STATUS_NOT_DISPLAYED
1096 #define EFI_ACPI_5_0_BGRT_STATUS_VALID EFI_ACPI_5_0_BGRT_STATUS_DISPLAYED
1101 #define EFI_ACPI_5_0_BGRT_IMAGE_TYPE_BMP 0x00
1104 /// FPDT Version (as defined in ACPI 5.0 spec.)
1106 #define EFI_ACPI_5_0_FIRMWARE_PERFORMANCE_DATA_TABLE_REVISION 0x01
1109 /// FPDT Performance Record Types
1111 #define EFI_ACPI_5_0_FPDT_RECORD_TYPE_FIRMWARE_BASIC_BOOT_POINTER 0x0000
1112 #define EFI_ACPI_5_0_FPDT_RECORD_TYPE_S3_PERFORMANCE_TABLE_POINTER 0x0001
1115 /// FPDT Performance Record Revision
1117 #define EFI_ACPI_5_0_FPDT_RECORD_REVISION_FIRMWARE_BASIC_BOOT_POINTER 0x01
1118 #define EFI_ACPI_5_0_FPDT_RECORD_REVISION_S3_PERFORMANCE_TABLE_POINTER 0x01
1121 /// FPDT Runtime Performance Record Types
1123 #define EFI_ACPI_5_0_FPDT_RUNTIME_RECORD_TYPE_S3_RESUME 0x0000
1124 #define EFI_ACPI_5_0_FPDT_RUNTIME_RECORD_TYPE_S3_SUSPEND 0x0001
1125 #define EFI_ACPI_5_0_FPDT_RUNTIME_RECORD_TYPE_FIRMWARE_BASIC_BOOT 0x0002
1128 /// FPDT Runtime Performance Record Revision
1130 #define EFI_ACPI_5_0_FPDT_RUNTIME_RECORD_REVISION_S3_RESUME 0x01
1131 #define EFI_ACPI_5_0_FPDT_RUNTIME_RECORD_REVISION_S3_SUSPEND 0x01
1132 #define EFI_ACPI_5_0_FPDT_RUNTIME_RECORD_REVISION_FIRMWARE_BASIC_BOOT 0x02
1135 /// FPDT Performance Record header
1141 } EFI_ACPI_5_0_FPDT_PERFORMANCE_RECORD_HEADER;
1144 /// FPDT Performance Table header
1149 } EFI_ACPI_5_0_FPDT_PERFORMANCE_TABLE_HEADER;
1152 /// FPDT Firmware Basic Boot Performance Pointer Record Structure
1155 EFI_ACPI_5_0_FPDT_PERFORMANCE_RECORD_HEADER Header;
1158 /// 64-bit processor-relative physical address of the Basic Boot Performance Table.
1160 UINT64 BootPerformanceTablePointer;
1161 } EFI_ACPI_5_0_FPDT_BOOT_PERFORMANCE_TABLE_POINTER_RECORD;
1164 /// FPDT S3 Performance Table Pointer Record Structure
1167 EFI_ACPI_5_0_FPDT_PERFORMANCE_RECORD_HEADER Header;
1170 /// 64-bit processor-relative physical address of the S3 Performance Table.
1172 UINT64 S3PerformanceTablePointer;
1173 } EFI_ACPI_5_0_FPDT_S3_PERFORMANCE_TABLE_POINTER_RECORD;
1176 /// FPDT Firmware Basic Boot Performance Record Structure
1179 EFI_ACPI_5_0_FPDT_PERFORMANCE_RECORD_HEADER Header;
1182 /// Timer value logged at the beginning of firmware image execution.
1183 /// This may not always be zero or near zero.
1187 /// Timer value logged just prior to loading the OS boot loader into memory.
1188 /// For non-UEFI compatible boots, this field must be zero.
1190 UINT64 OsLoaderLoadImageStart;
1192 /// Timer value logged just prior to launching the previously loaded OS boot loader image.
1193 /// For non-UEFI compatible boots, the timer value logged will be just prior
1194 /// to the INT 19h handler invocation.
1196 UINT64 OsLoaderStartImageStart;
1198 /// Timer value logged at the point when the OS loader calls the
1199 /// ExitBootServices function for UEFI compatible firmware.
1200 /// For non-UEFI compatible boots, this field must be zero.
1202 UINT64 ExitBootServicesEntry;
1204 /// Timer value logged at the point just prior towhen the OS loader gaining
1205 /// control back from calls the ExitBootServices function for UEFI compatible firmware.
1206 /// For non-UEFI compatible boots, this field must be zero.
1208 UINT64 ExitBootServicesExit;
1209 } EFI_ACPI_5_0_FPDT_FIRMWARE_BASIC_BOOT_RECORD;
1212 /// FPDT Firmware Basic Boot Performance Table signature
1214 #define EFI_ACPI_5_0_FPDT_BOOT_PERFORMANCE_TABLE_SIGNATURE SIGNATURE_32('F', 'B', 'P', 'T')
1217 // FPDT Firmware Basic Boot Performance Table
1220 EFI_ACPI_5_0_FPDT_PERFORMANCE_TABLE_HEADER Header;
1222 // one or more Performance Records.
1224 } EFI_ACPI_5_0_FPDT_FIRMWARE_BASIC_BOOT_TABLE;
1227 /// FPDT "S3PT" S3 Performance Table
1229 #define EFI_ACPI_5_0_FPDT_S3_PERFORMANCE_TABLE_SIGNATURE SIGNATURE_32('S', '3', 'P', 'T')
1232 // FPDT Firmware S3 Boot Performance Table
1235 EFI_ACPI_5_0_FPDT_PERFORMANCE_TABLE_HEADER Header;
1237 // one or more Performance Records.
1239 } EFI_ACPI_5_0_FPDT_FIRMWARE_S3_BOOT_TABLE;
1242 /// FPDT Basic S3 Resume Performance Record
1245 EFI_ACPI_5_0_FPDT_PERFORMANCE_RECORD_HEADER Header;
1247 /// A count of the number of S3 resume cycles since the last full boot sequence.
1251 /// Timer recorded at the end of BIOS S3 resume, just prior to handoff to the
1252 /// OS waking vector. Only the most recent resume cycle's time is retained.
1256 /// Average timer value of all resume cycles logged since the last full boot
1257 /// sequence, including the most recent resume. Note that the entire log of
1258 /// timer values does not need to be retained in order to calculate this average.
1260 UINT64 AverageResume;
1261 } EFI_ACPI_5_0_FPDT_S3_RESUME_RECORD;
1264 /// FPDT Basic S3 Suspend Performance Record
1267 EFI_ACPI_5_0_FPDT_PERFORMANCE_RECORD_HEADER Header;
1269 /// Timer value recorded at the OS write to SLP_TYP upon entry to S3.
1270 /// Only the most recent suspend cycle's timer value is retained.
1272 UINT64 SuspendStart;
1274 /// Timer value recorded at the final firmware write to SLP_TYP (or other
1275 /// mechanism) used to trigger hardware entry to S3.
1276 /// Only the most recent suspend cycle's timer value is retained.
1279 } EFI_ACPI_5_0_FPDT_S3_SUSPEND_RECORD;
1282 /// Firmware Performance Record Table definition.
1285 EFI_ACPI_DESCRIPTION_HEADER Header;
1286 } EFI_ACPI_5_0_FIRMWARE_PERFORMANCE_RECORD_TABLE;
1289 /// Generic Timer Description Table definition.
1292 EFI_ACPI_DESCRIPTION_HEADER Header;
1293 UINT64 PhysicalAddress;
1295 UINT32 SecurePL1TimerGSIV;
1296 UINT32 SecurePL1TimerFlags;
1297 UINT32 NonSecurePL1TimerGSIV;
1298 UINT32 NonSecurePL1TimerFlags;
1299 UINT32 VirtualTimerGSIV;
1300 UINT32 VirtualTimerFlags;
1301 UINT32 NonSecurePL2TimerGSIV;
1302 UINT32 NonSecurePL2TimerFlags;
1303 } EFI_ACPI_5_0_GENERIC_TIMER_DESCRIPTION_TABLE;
1306 /// GTDT Version (as defined in ACPI 5.0 spec.)
1308 #define EFI_ACPI_5_0_GENERIC_TIMER_DESCRIPTION_TABLE_REVISION 0x01
1311 /// Global Flags. All other bits are reserved and must be 0.
1313 #define EFI_ACPI_5_0_GTDT_GLOBAL_FLAG_MEMORY_MAPPED_BLOCK_PRESENT BIT0
1314 #define EFI_ACPI_5_0_GTDT_GLOBAL_FLAG_INTERRUPT_MODE BIT1
1317 /// Timer Flags. All other bits are reserved and must be 0.
1319 #define EFI_ACPI_5_0_GTDT_TIMER_FLAG_TIMER_INTERRUPT_MODE BIT0
1320 #define EFI_ACPI_5_0_GTDT_TIMER_FLAG_TIMER_INTERRUPT_POLARITY BIT1
1323 /// Boot Error Record Table (BERT)
1326 EFI_ACPI_DESCRIPTION_HEADER Header;
1327 UINT32 BootErrorRegionLength;
1328 UINT64 BootErrorRegion;
1329 } EFI_ACPI_5_0_BOOT_ERROR_RECORD_TABLE_HEADER;
1332 /// BERT Version (as defined in ACPI 5.0 spec.)
1334 #define EFI_ACPI_5_0_BOOT_ERROR_RECORD_TABLE_REVISION 0x01
1337 /// Boot Error Region Block Status Definition
1340 UINT32 UncorrectableErrorValid:1;
1341 UINT32 CorrectableErrorValid:1;
1342 UINT32 MultipleUncorrectableErrors:1;
1343 UINT32 MultipleCorrectableErrors:1;
1344 UINT32 ErrorDataEntryCount:10;
1346 } EFI_ACPI_5_0_ERROR_BLOCK_STATUS;
1349 /// Boot Error Region Definition
1352 EFI_ACPI_5_0_ERROR_BLOCK_STATUS BlockStatus;
1353 UINT32 RawDataOffset;
1354 UINT32 RawDataLength;
1356 UINT32 ErrorSeverity;
1357 } EFI_ACPI_5_0_BOOT_ERROR_REGION_STRUCTURE;
1360 // Boot Error Severity types
1362 #define EFI_ACPI_5_0_ERROR_SEVERITY_CORRECTABLE 0x00
1363 #define EFI_ACPI_5_0_ERROR_SEVERITY_FATAL 0x01
1364 #define EFI_ACPI_5_0_ERROR_SEVERITY_CORRECTED 0x02
1365 #define EFI_ACPI_5_0_ERROR_SEVERITY_NONE 0x03
1368 /// Generic Error Data Entry Definition
1371 UINT8 SectionType[16];
1372 UINT32 ErrorSeverity;
1374 UINT8 ValidationBits;
1376 UINT32 ErrorDataLength;
1379 } EFI_ACPI_5_0_GENERIC_ERROR_DATA_ENTRY_STRUCTURE;
1382 /// Generic Error Data Entry Version (as defined in ACPI 5.0 spec.)
1384 #define EFI_ACPI_5_0_GENERIC_ERROR_DATA_ENTRY_REVISION 0x0201
1387 /// HEST - Hardware Error Source Table
1390 EFI_ACPI_DESCRIPTION_HEADER Header;
1391 UINT32 ErrorSourceCount;
1392 } EFI_ACPI_5_0_HARDWARE_ERROR_SOURCE_TABLE_HEADER;
1395 /// HEST Version (as defined in ACPI 5.0 spec.)
1397 #define EFI_ACPI_5_0_HARDWARE_ERROR_SOURCE_TABLE_REVISION 0x01
1400 // Error Source structure types.
1402 #define EFI_ACPI_5_0_IA32_ARCHITECTURE_MACHINE_CHECK_EXCEPTION 0x00
1403 #define EFI_ACPI_5_0_IA32_ARCHITECTURE_CORRECTED_MACHINE_CHECK 0x01
1404 #define EFI_ACPI_5_0_IA32_ARCHITECTURE_NMI_ERROR 0x02
1405 #define EFI_ACPI_5_0_PCI_EXPRESS_ROOT_PORT_AER 0x06
1406 #define EFI_ACPI_5_0_PCI_EXPRESS_DEVICE_AER 0x07
1407 #define EFI_ACPI_5_0_PCI_EXPRESS_BRIDGE_AER 0x08
1408 #define EFI_ACPI_5_0_GENERIC_HARDWARE_ERROR 0x09
1411 // Error Source structure flags.
1413 #define EFI_ACPI_5_0_ERROR_SOURCE_FLAG_FIRMWARE_FIRST (1 << 0)
1414 #define EFI_ACPI_5_0_ERROR_SOURCE_FLAG_GLOBAL (1 << 1)
1417 /// IA-32 Architecture Machine Check Exception Structure Definition
1425 UINT32 NumberOfRecordsToPreAllocate;
1426 UINT32 MaxSectionsPerRecord;
1427 UINT64 GlobalCapabilityInitData;
1428 UINT64 GlobalControlInitData;
1429 UINT8 NumberOfHardwareBanks;
1431 } EFI_ACPI_5_0_IA32_ARCHITECTURE_MACHINE_CHECK_EXCEPTION_STRUCTURE;
1434 /// IA-32 Architecture Machine Check Bank Structure Definition
1438 UINT8 ClearStatusOnInitialization;
1439 UINT8 StatusDataFormat;
1441 UINT32 ControlRegisterMsrAddress;
1442 UINT64 ControlInitData;
1443 UINT32 StatusRegisterMsrAddress;
1444 UINT32 AddressRegisterMsrAddress;
1445 UINT32 MiscRegisterMsrAddress;
1446 } EFI_ACPI_5_0_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_BANK_STRUCTURE;
1449 /// IA-32 Architecture Machine Check Bank Structure MCA data format
1451 #define EFI_ACPI_5_0_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_DATA_FORMAT_IA32 0x00
1452 #define EFI_ACPI_5_0_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_DATA_FORMAT_INTEL64 0x01
1453 #define EFI_ACPI_5_0_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_DATA_FORMAT_AMD64 0x02
1456 // Hardware Error Notification types. All other values are reserved
1458 #define EFI_ACPI_5_0_HARDWARE_ERROR_NOTIFICATION_POLLED 0x00
1459 #define EFI_ACPI_5_0_HARDWARE_ERROR_NOTIFICATION_EXTERNAL_INTERRUPT 0x01
1460 #define EFI_ACPI_5_0_HARDWARE_ERROR_NOTIFICATION_LOCAL_INTERRUPT 0x02
1461 #define EFI_ACPI_5_0_HARDWARE_ERROR_NOTIFICATION_SCI 0x03
1462 #define EFI_ACPI_5_0_HARDWARE_ERROR_NOTIFICATION_NMI 0x04
1465 /// Hardware Error Notification Configuration Write Enable Structure Definition
1469 UINT16 PollInterval:1;
1470 UINT16 SwitchToPollingThresholdValue:1;
1471 UINT16 SwitchToPollingThresholdWindow:1;
1472 UINT16 ErrorThresholdValue:1;
1473 UINT16 ErrorThresholdWindow:1;
1475 } EFI_ACPI_5_0_HARDWARE_ERROR_NOTIFICATION_CONFIGURATION_WRITE_ENABLE_STRUCTURE;
1478 /// Hardware Error Notification Structure Definition
1483 EFI_ACPI_5_0_HARDWARE_ERROR_NOTIFICATION_CONFIGURATION_WRITE_ENABLE_STRUCTURE ConfigurationWriteEnable;
1484 UINT32 PollInterval;
1486 UINT32 SwitchToPollingThresholdValue;
1487 UINT32 SwitchToPollingThresholdWindow;
1488 UINT32 ErrorThresholdValue;
1489 UINT32 ErrorThresholdWindow;
1490 } EFI_ACPI_5_0_HARDWARE_ERROR_NOTIFICATION_STRUCTURE;
1493 /// IA-32 Architecture Corrected Machine Check Structure Definition
1501 UINT32 NumberOfRecordsToPreAllocate;
1502 UINT32 MaxSectionsPerRecord;
1503 EFI_ACPI_5_0_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStructure;
1504 UINT8 NumberOfHardwareBanks;
1506 } EFI_ACPI_5_0_IA32_ARCHITECTURE_CORRECTED_MACHINE_CHECK_STRUCTURE;
1509 /// IA-32 Architecture NMI Error Structure Definition
1515 UINT32 NumberOfRecordsToPreAllocate;
1516 UINT32 MaxSectionsPerRecord;
1517 UINT32 MaxRawDataLength;
1518 } EFI_ACPI_5_0_IA32_ARCHITECTURE_NMI_ERROR_STRUCTURE;
1521 /// PCI Express Root Port AER Structure Definition
1529 UINT32 NumberOfRecordsToPreAllocate;
1530 UINT32 MaxSectionsPerRecord;
1534 UINT16 DeviceControl;
1536 UINT32 UncorrectableErrorMask;
1537 UINT32 UncorrectableErrorSeverity;
1538 UINT32 CorrectableErrorMask;
1539 UINT32 AdvancedErrorCapabilitiesAndControl;
1540 UINT32 RootErrorCommand;
1541 } EFI_ACPI_5_0_PCI_EXPRESS_ROOT_PORT_AER_STRUCTURE;
1544 /// PCI Express Device AER Structure Definition
1552 UINT32 NumberOfRecordsToPreAllocate;
1553 UINT32 MaxSectionsPerRecord;
1557 UINT16 DeviceControl;
1559 UINT32 UncorrectableErrorMask;
1560 UINT32 UncorrectableErrorSeverity;
1561 UINT32 CorrectableErrorMask;
1562 UINT32 AdvancedErrorCapabilitiesAndControl;
1563 } EFI_ACPI_5_0_PCI_EXPRESS_DEVICE_AER_STRUCTURE;
1566 /// PCI Express Bridge AER Structure Definition
1574 UINT32 NumberOfRecordsToPreAllocate;
1575 UINT32 MaxSectionsPerRecord;
1579 UINT16 DeviceControl;
1581 UINT32 UncorrectableErrorMask;
1582 UINT32 UncorrectableErrorSeverity;
1583 UINT32 CorrectableErrorMask;
1584 UINT32 AdvancedErrorCapabilitiesAndControl;
1585 UINT32 SecondaryUncorrectableErrorMask;
1586 UINT32 SecondaryUncorrectableErrorSeverity;
1587 UINT32 SecondaryAdvancedErrorCapabilitiesAndControl;
1588 } EFI_ACPI_5_0_PCI_EXPRESS_BRIDGE_AER_STRUCTURE;
1591 /// Generic Hardware Error Source Structure Definition
1596 UINT16 RelatedSourceId;
1599 UINT32 NumberOfRecordsToPreAllocate;
1600 UINT32 MaxSectionsPerRecord;
1601 UINT32 MaxRawDataLength;
1602 EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE ErrorStatusAddress;
1603 EFI_ACPI_5_0_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStructure;
1604 UINT32 ErrorStatusBlockLength;
1605 } EFI_ACPI_5_0_GENERIC_HARDWARE_ERROR_SOURCE_STRUCTURE;
1608 /// Generic Error Status Definition
1611 EFI_ACPI_5_0_ERROR_BLOCK_STATUS BlockStatus;
1612 UINT32 RawDataOffset;
1613 UINT32 RawDataLength;
1615 UINT32 ErrorSeverity;
1616 } EFI_ACPI_5_0_GENERIC_ERROR_STATUS_STRUCTURE;
1619 /// ERST - Error Record Serialization Table
1622 EFI_ACPI_DESCRIPTION_HEADER Header;
1623 UINT32 SerializationHeaderSize;
1625 UINT32 InstructionEntryCount;
1626 } EFI_ACPI_5_0_ERROR_RECORD_SERIALIZATION_TABLE_HEADER;
1629 /// ERST Version (as defined in ACPI 5.0 spec.)
1631 #define EFI_ACPI_5_0_ERROR_RECORD_SERIALIZATION_TABLE_REVISION 0x01
1634 /// ERST Serialization Actions
1636 #define EFI_ACPI_5_0_ERST_BEGIN_WRITE_OPERATION 0x00
1637 #define EFI_ACPI_5_0_ERST_BEGIN_READ_OPERATION 0x01
1638 #define EFI_ACPI_5_0_ERST_BEGIN_CLEAR_OPERATION 0x02
1639 #define EFI_ACPI_5_0_ERST_END_OPERATION 0x03
1640 #define EFI_ACPI_5_0_ERST_SET_RECORD_OFFSET 0x04
1641 #define EFI_ACPI_5_0_ERST_EXECUTE_OPERATION 0x05
1642 #define EFI_ACPI_5_0_ERST_CHECK_BUSY_STATUS 0x06
1643 #define EFI_ACPI_5_0_ERST_GET_COMMAND_STATUS 0x07
1644 #define EFI_ACPI_5_0_ERST_GET_RECORD_IDENTIFIER 0x08
1645 #define EFI_ACPI_5_0_ERST_SET_RECORD_IDENTIFIER 0x09
1646 #define EFI_ACPI_5_0_ERST_GET_RECORD_COUNT 0x0A
1647 #define EFI_ACPI_5_0_ERST_BEGIN_DUMMY_WRITE_OPERATION 0x0B
1648 #define EFI_ACPI_5_0_ERST_GET_ERROR_LOG_ADDRESS_RANGE 0x0D
1649 #define EFI_ACPI_5_0_ERST_GET_ERROR_LOG_ADDRESS_RANGE_LENGTH 0x0E
1650 #define EFI_ACPI_5_0_ERST_GET_ERROR_LOG_ADDRESS_RANGE_ATTRIBUTES 0x0F
1653 /// ERST Action Command Status
1655 #define EFI_ACPI_5_0_ERST_STATUS_SUCCESS 0x00
1656 #define EFI_ACPI_5_0_ERST_STATUS_NOT_ENOUGH_SPACE 0x01
1657 #define EFI_ACPI_5_0_ERST_STATUS_HARDWARE_NOT_AVAILABLE 0x02
1658 #define EFI_ACPI_5_0_ERST_STATUS_FAILED 0x03
1659 #define EFI_ACPI_5_0_ERST_STATUS_RECORD_STORE_EMPTY 0x04
1660 #define EFI_ACPI_5_0_ERST_STATUS_RECORD_NOT_FOUND 0x05
1663 /// ERST Serialization Instructions
1665 #define EFI_ACPI_5_0_ERST_READ_REGISTER 0x00
1666 #define EFI_ACPI_5_0_ERST_READ_REGISTER_VALUE 0x01
1667 #define EFI_ACPI_5_0_ERST_WRITE_REGISTER 0x02
1668 #define EFI_ACPI_5_0_ERST_WRITE_REGISTER_VALUE 0x03
1669 #define EFI_ACPI_5_0_ERST_NOOP 0x04
1670 #define EFI_ACPI_5_0_ERST_LOAD_VAR1 0x05
1671 #define EFI_ACPI_5_0_ERST_LOAD_VAR2 0x06
1672 #define EFI_ACPI_5_0_ERST_STORE_VAR1 0x07
1673 #define EFI_ACPI_5_0_ERST_ADD 0x08
1674 #define EFI_ACPI_5_0_ERST_SUBTRACT 0x09
1675 #define EFI_ACPI_5_0_ERST_ADD_VALUE 0x0A
1676 #define EFI_ACPI_5_0_ERST_SUBTRACT_VALUE 0x0B
1677 #define EFI_ACPI_5_0_ERST_STALL 0x0C
1678 #define EFI_ACPI_5_0_ERST_STALL_WHILE_TRUE 0x0D
1679 #define EFI_ACPI_5_0_ERST_SKIP_NEXT_INSTRUCTION_IF_TRUE 0x0E
1680 #define EFI_ACPI_5_0_ERST_GOTO 0x0F
1681 #define EFI_ACPI_5_0_ERST_SET_SRC_ADDRESS_BASE 0x10
1682 #define EFI_ACPI_5_0_ERST_SET_DST_ADDRESS_BASE 0x11
1683 #define EFI_ACPI_5_0_ERST_MOVE_DATA 0x12
1686 /// ERST Instruction Flags
1688 #define EFI_ACPI_5_0_ERST_PRESERVE_REGISTER 0x01
1691 /// ERST Serialization Instruction Entry
1694 UINT8 SerializationAction;
1698 EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE RegisterRegion;
1701 } EFI_ACPI_5_0_ERST_SERIALIZATION_INSTRUCTION_ENTRY;
1704 /// EINJ - Error Injection Table
1707 EFI_ACPI_DESCRIPTION_HEADER Header;
1708 UINT32 InjectionHeaderSize;
1709 UINT8 InjectionFlags;
1711 UINT32 InjectionEntryCount;
1712 } EFI_ACPI_5_0_ERROR_INJECTION_TABLE_HEADER;
1715 /// EINJ Version (as defined in ACPI 5.0 spec.)
1717 #define EFI_ACPI_5_0_ERROR_INJECTION_TABLE_REVISION 0x01
1720 /// EINJ Error Injection Actions
1722 #define EFI_ACPI_5_0_EINJ_BEGIN_INJECTION_OPERATION 0x00
1723 #define EFI_ACPI_5_0_EINJ_GET_TRIGGER_ERROR_ACTION_TABLE 0x01
1724 #define EFI_ACPI_5_0_EINJ_SET_ERROR_TYPE 0x02
1725 #define EFI_ACPI_5_0_EINJ_GET_ERROR_TYPE 0x03
1726 #define EFI_ACPI_5_0_EINJ_END_OPERATION 0x04
1727 #define EFI_ACPI_5_0_EINJ_EXECUTE_OPERATION 0x05
1728 #define EFI_ACPI_5_0_EINJ_CHECK_BUSY_STATUS 0x06
1729 #define EFI_ACPI_5_0_EINJ_GET_COMMAND_STATUS 0x07
1730 #define EFI_ACPI_5_0_EINJ_TRIGGER_ERROR 0xFF
1733 /// EINJ Action Command Status
1735 #define EFI_ACPI_5_0_EINJ_STATUS_SUCCESS 0x00
1736 #define EFI_ACPI_5_0_EINJ_STATUS_UNKNOWN_FAILURE 0x01
1737 #define EFI_ACPI_5_0_EINJ_STATUS_INVALID_ACCESS 0x02
1740 /// EINJ Error Type Definition
1742 #define EFI_ACPI_5_0_EINJ_ERROR_PROCESSOR_CORRECTABLE (1 << 0)
1743 #define EFI_ACPI_5_0_EINJ_ERROR_PROCESSOR_UNCORRECTABLE_NONFATAL (1 << 1)
1744 #define EFI_ACPI_5_0_EINJ_ERROR_PROCESSOR_UNCORRECTABLE_FATAL (1 << 2)
1745 #define EFI_ACPI_5_0_EINJ_ERROR_MEMORY_CORRECTABLE (1 << 3)
1746 #define EFI_ACPI_5_0_EINJ_ERROR_MEMORY_UNCORRECTABLE_NONFATAL (1 << 4)
1747 #define EFI_ACPI_5_0_EINJ_ERROR_MEMORY_UNCORRECTABLE_FATAL (1 << 5)
1748 #define EFI_ACPI_5_0_EINJ_ERROR_PCI_EXPRESS_CORRECTABLE (1 << 6)
1749 #define EFI_ACPI_5_0_EINJ_ERROR_PCI_EXPRESS_UNCORRECTABLE_NONFATAL (1 << 7)
1750 #define EFI_ACPI_5_0_EINJ_ERROR_PCI_EXPRESS_UNCORRECTABLE_FATAL (1 << 8)
1751 #define EFI_ACPI_5_0_EINJ_ERROR_PLATFORM_CORRECTABLE (1 << 9)
1752 #define EFI_ACPI_5_0_EINJ_ERROR_PLATFORM_UNCORRECTABLE_NONFATAL (1 << 10)
1753 #define EFI_ACPI_5_0_EINJ_ERROR_PLATFORM_UNCORRECTABLE_FATAL (1 << 11)
1756 /// EINJ Injection Instructions
1758 #define EFI_ACPI_5_0_EINJ_READ_REGISTER 0x00
1759 #define EFI_ACPI_5_0_EINJ_READ_REGISTER_VALUE 0x01
1760 #define EFI_ACPI_5_0_EINJ_WRITE_REGISTER 0x02
1761 #define EFI_ACPI_5_0_EINJ_WRITE_REGISTER_VALUE 0x03
1762 #define EFI_ACPI_5_0_EINJ_NOOP 0x04
1765 /// EINJ Instruction Flags
1767 #define EFI_ACPI_5_0_EINJ_PRESERVE_REGISTER 0x01
1770 /// EINJ Injection Instruction Entry
1773 UINT8 InjectionAction;
1777 EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE RegisterRegion;
1780 } EFI_ACPI_5_0_EINJ_INJECTION_INSTRUCTION_ENTRY;
1783 /// EINJ Trigger Action Table
1790 } EFI_ACPI_5_0_EINJ_TRIGGER_ACTION_TABLE;
1793 /// Platform Communications Channel Table (PCCT)
1796 EFI_ACPI_DESCRIPTION_HEADER Header;
1799 } EFI_ACPI_5_0_PLATFORM_COMMUNICATION_CHANNEL_TABLE_HEADER;
1802 /// PCCT Version (as defined in ACPI 5.0 spec.)
1804 #define EFI_ACPI_5_0_PLATFORM_COMMUNICATION_CHANNEL_TABLE_REVISION 0x01
1807 /// PCCT Global Flags
1809 #define EFI_ACPI_5_0_PCCT_FLAGS_SCI_DOORBELL BIT0
1812 // PCCT Subspace type
1814 #define EFI_ACPI_5_0_PCCT_SUBSPACE_TYPE_GENERIC 0x00
1817 /// PCC Subspace Structure Header
1822 } EFI_ACPI_5_0_PCCT_SUBSPACE_HEADER;
1825 /// Generic Communications Subspace Structure
1832 UINT64 AddressLength;
1833 EFI_ACPI_5_0_GENERIC_ADDRESS_STRUCTURE DoorbellRegister;
1834 UINT64 DoorbellPreserve;
1835 UINT64 DoorbellWrite;
1836 UINT32 NominalLatency;
1837 UINT32 MaximumPeriodicAccessRate;
1838 UINT16 MinimumRequestTurnaroundTime;
1839 } EFI_ACPI_5_0_PCCT_SUBSPACE_GENERIC;
1842 /// Generic Communications Channel Shared Memory Region
1848 UINT8 GenerateSci:1;
1849 } EFI_ACPI_5_0_PCCT_GENERIC_SHARED_MEMORY_REGION_COMMAND;
1852 UINT8 CommandComplete:1;
1853 UINT8 SciDoorbell:1;
1855 UINT8 PlatformNotification:1;
1858 } EFI_ACPI_5_0_PCCT_GENERIC_SHARED_MEMORY_REGION_STATUS;
1862 EFI_ACPI_5_0_PCCT_GENERIC_SHARED_MEMORY_REGION_COMMAND Command;
1863 EFI_ACPI_5_0_PCCT_GENERIC_SHARED_MEMORY_REGION_STATUS Status;
1864 } EFI_ACPI_5_0_PCCT_GENERIC_SHARED_MEMORY_REGION_HEADER;
1867 // Known table signatures
1871 /// "RSD PTR " Root System Description Pointer
1873 #define EFI_ACPI_5_0_ROOT_SYSTEM_DESCRIPTION_POINTER_SIGNATURE SIGNATURE_64('R', 'S', 'D', ' ', 'P', 'T', 'R', ' ')
1876 /// "APIC" Multiple APIC Description Table
1878 #define EFI_ACPI_5_0_MULTIPLE_APIC_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('A', 'P', 'I', 'C')
1881 /// "BERT" Boot Error Record Table
1883 #define EFI_ACPI_5_0_BOOT_ERROR_RECORD_TABLE_SIGNATURE SIGNATURE_32('B', 'E', 'R', 'T')
1886 /// "BGRT" Boot Graphics Resource Table
1888 #define EFI_ACPI_5_0_BOOT_GRAPHICS_RESOURCE_TABLE_SIGNATURE SIGNATURE_32('B', 'G', 'R', 'T')
1891 /// "CPEP" Corrected Platform Error Polling Table
1893 #define EFI_ACPI_5_0_CORRECTED_PLATFORM_ERROR_POLLING_TABLE_SIGNATURE SIGNATURE_32('C', 'P', 'E', 'P')
1896 /// "DSDT" Differentiated System Description Table
1898 #define EFI_ACPI_5_0_DIFFERENTIATED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('D', 'S', 'D', 'T')
1901 /// "ECDT" Embedded Controller Boot Resources Table
1903 #define EFI_ACPI_5_0_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE_SIGNATURE SIGNATURE_32('E', 'C', 'D', 'T')
1906 /// "EINJ" Error Injection Table
1908 #define EFI_ACPI_5_0_ERROR_INJECTION_TABLE_SIGNATURE SIGNATURE_32('E', 'I', 'N', 'J')
1911 /// "ERST" Error Record Serialization Table
1913 #define EFI_ACPI_5_0_ERROR_RECORD_SERIALIZATION_TABLE_SIGNATURE SIGNATURE_32('E', 'R', 'S', 'T')
1916 /// "FACP" Fixed ACPI Description Table
1918 #define EFI_ACPI_5_0_FIXED_ACPI_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('F', 'A', 'C', 'P')
1921 /// "FACS" Firmware ACPI Control Structure
1923 #define EFI_ACPI_5_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE SIGNATURE_32('F', 'A', 'C', 'S')
1926 /// "FPDT" Firmware Performance Data Table
1928 #define EFI_ACPI_5_0_FIRMWARE_PERFORMANCE_DATA_TABLE_SIGNATURE SIGNATURE_32('F', 'P', 'D', 'T')
1931 /// "GTDT" Generic Timer Description Table
1933 #define EFI_ACPI_5_0_GENERIC_TIMER_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('G', 'T', 'D', 'T')
1936 /// "HEST" Hardware Error Source Table
1938 #define EFI_ACPI_5_0_HARDWARE_ERROR_SOURCE_TABLE_SIGNATURE SIGNATURE_32('H', 'E', 'S', 'T')
1941 /// "MPST" Memory Power State Table
1943 #define EFI_ACPI_5_0_MEMORY_POWER_STATE_TABLE_SIGNATURE SIGNATURE_32('M', 'P', 'S', 'T')
1946 /// "MSCT" Maximum System Characteristics Table
1948 #define EFI_ACPI_5_0_MAXIMUM_SYSTEM_CHARACTERISTICS_TABLE_SIGNATURE SIGNATURE_32('M', 'S', 'C', 'T')
1951 /// "PMTT" Platform Memory Topology Table
1953 #define EFI_ACPI_5_0_PLATFORM_MEMORY_TOPOLOGY_TABLE_SIGNATURE SIGNATURE_32('P', 'M', 'T', 'T')
1956 /// "PSDT" Persistent System Description Table
1958 #define EFI_ACPI_5_0_PERSISTENT_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('P', 'S', 'D', 'T')
1961 /// "RASF" ACPI RAS Feature Table
1963 #define EFI_ACPI_5_0_ACPI_RAS_FEATURE_TABLE_SIGNATURE SIGNATURE_32('R', 'A', 'S', 'F')
1966 /// "RSDT" Root System Description Table
1968 #define EFI_ACPI_5_0_ROOT_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('R', 'S', 'D', 'T')
1971 /// "SBST" Smart Battery Specification Table
1973 #define EFI_ACPI_5_0_SMART_BATTERY_SPECIFICATION_TABLE_SIGNATURE SIGNATURE_32('S', 'B', 'S', 'T')
1976 /// "SLIT" System Locality Information Table
1978 #define EFI_ACPI_5_0_SYSTEM_LOCALITY_INFORMATION_TABLE_SIGNATURE SIGNATURE_32('S', 'L', 'I', 'T')
1981 /// "SRAT" System Resource Affinity Table
1983 #define EFI_ACPI_5_0_SYSTEM_RESOURCE_AFFINITY_TABLE_SIGNATURE SIGNATURE_32('S', 'R', 'A', 'T')
1986 /// "SSDT" Secondary System Description Table
1988 #define EFI_ACPI_5_0_SECONDARY_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('S', 'S', 'D', 'T')
1991 /// "XSDT" Extended System Description Table
1993 #define EFI_ACPI_5_0_EXTENDED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('X', 'S', 'D', 'T')
1996 /// "BOOT" MS Simple Boot Spec
1998 #define EFI_ACPI_5_0_SIMPLE_BOOT_FLAG_TABLE_SIGNATURE SIGNATURE_32('B', 'O', 'O', 'T')
2001 /// "CSRT" MS Core System Resource Table
2003 #define EFI_ACPI_5_0_CORE_SYSTEM_RESOURCE_TABLE_SIGNATURE SIGNATURE_32('C', 'S', 'R', 'T')
2006 /// "DBG2" MS Debug Port 2 Spec
2008 #define EFI_ACPI_5_0_DEBUG_PORT_2_TABLE_SIGNATURE SIGNATURE_32('D', 'B', 'G', '2')
2011 /// "DBGP" MS Debug Port Spec
2013 #define EFI_ACPI_5_0_DEBUG_PORT_TABLE_SIGNATURE SIGNATURE_32('D', 'B', 'G', 'P')
2016 /// "DMAR" DMA Remapping Table
2018 #define EFI_ACPI_5_0_DMA_REMAPPING_TABLE_SIGNATURE SIGNATURE_32('D', 'M', 'A', 'R')
2021 /// "DRTM" Dynamic Root of Trust for Measurement Table
2023 #define EFI_ACPI_5_0_DYNAMIC_ROOT_OF_TRUST_FOR_MEASUREMENT_TABLE_SIGNATURE SIGNATURE_32('D', 'R', 'T', 'M')
2026 /// "ETDT" Event Timer Description Table
2028 #define EFI_ACPI_5_0_EVENT_TIMER_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('E', 'T', 'D', 'T')
2031 /// "HPET" IA-PC High Precision Event Timer Table
2033 #define EFI_ACPI_5_0_HIGH_PRECISION_EVENT_TIMER_TABLE_SIGNATURE SIGNATURE_32('H', 'P', 'E', 'T')
2036 /// "iBFT" iSCSI Boot Firmware Table
2038 #define EFI_ACPI_5_0_ISCSI_BOOT_FIRMWARE_TABLE_SIGNATURE SIGNATURE_32('i', 'B', 'F', 'T')
2041 /// "IVRS" I/O Virtualization Reporting Structure
2043 #define EFI_ACPI_5_0_IO_VIRTUALIZATION_REPORTING_STRUCTURE_SIGNATURE SIGNATURE_32('I', 'V', 'R', 'S')
2046 /// "MCFG" PCI Express Memory Mapped Configuration Space Base Address Description Table
2048 #define EFI_ACPI_5_0_PCI_EXPRESS_MEMORY_MAPPED_CONFIGURATION_SPACE_BASE_ADDRESS_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('M', 'C', 'F', 'G')
2051 /// "MCHI" Management Controller Host Interface Table
2053 #define EFI_ACPI_5_0_MANAGEMENT_CONTROLLER_HOST_INTERFACE_TABLE_SIGNATURE SIGNATURE_32('M', 'C', 'H', 'I')
2056 /// "MSDM" MS Data Management Table
2058 #define EFI_ACPI_5_0_DATA_MANAGEMENT_TABLE_SIGNATURE SIGNATURE_32('M', 'S', 'D', 'M')
2061 /// "SLIC" MS Software Licensing Table Specification
2063 #define EFI_ACPI_5_0_SOFTWARE_LICENSING_TABLE_SIGNATURE SIGNATURE_32('S', 'L', 'I', 'C')
2066 /// "SPCR" Serial Port Concole Redirection Table
2068 #define EFI_ACPI_5_0_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_SIGNATURE SIGNATURE_32('S', 'P', 'C', 'R')
2071 /// "SPMI" Server Platform Management Interface Table
2073 #define EFI_ACPI_5_0_SERVER_PLATFORM_MANAGEMENT_INTERFACE_TABLE_SIGNATURE SIGNATURE_32('S', 'P', 'M', 'I')
2076 /// "TCPA" Trusted Computing Platform Alliance Capabilities Table
2078 #define EFI_ACPI_5_0_TRUSTED_COMPUTING_PLATFORM_ALLIANCE_CAPABILITIES_TABLE_SIGNATURE SIGNATURE_32('T', 'C', 'P', 'A')
2081 /// "TPM2" Trusted Computing Platform 1 Table
2083 #define EFI_ACPI_5_0_TRUSTED_COMPUTING_PLATFORM_2_TABLE_SIGNATURE SIGNATURE_32('T', 'P', 'M', '2')
2086 /// "UEFI" UEFI ACPI Data Table
2088 #define EFI_ACPI_5_0_UEFI_ACPI_DATA_TABLE_SIGNATURE SIGNATURE_32('U', 'E', 'F', 'I')
2091 /// "WAET" Windows ACPI Emulated Devices Table
2093 #define EFI_ACPI_5_0_WINDOWS_ACPI_EMULATED_DEVICES_TABLE_SIGNATURE SIGNATURE_32('W', 'A', 'E', 'T')
2094 #define EFI_ACPI_5_0_WINDOWS_ACPI_ENLIGHTENMENT_TABLE_SIGNATURE EFI_ACPI_5_0_WINDOWS_ACPI_EMULATED_DEVICES_TABLE_SIGNATURE
2097 /// "WDAT" Watchdog Action Table
2099 #define EFI_ACPI_5_0_WATCHDOG_ACTION_TABLE_SIGNATURE SIGNATURE_32('W', 'D', 'A', 'T')
2102 /// "WDRT" Watchdog Resource Table
2104 #define EFI_ACPI_5_0_WATCHDOG_RESOURCE_TABLE_SIGNATURE SIGNATURE_32('W', 'D', 'R', 'T')
2107 /// "WPBT" MS Platform Binary Table
2109 #define EFI_ACPI_5_0_PLATFORM_BINARY_TABLE_SIGNATURE SIGNATURE_32('W', 'P', 'B', 'T')