2 ACPI 6.5 definitions from the ACPI Specification Revision 6.5 Aug, 2022.
4 Copyright (c) 2017 - 2022, Intel Corporation. All rights reserved.<BR>
5 Copyright (c) 2019 - 2021, ARM Ltd. All rights reserved.<BR>
6 Copyright (c) 2023, Loongson Technology Corporation Limited. All rights reserved.<BR>
8 SPDX-License-Identifier: BSD-2-Clause-Patent
14 #include <IndustryStandard/Acpi64.h>
17 // Ensure proper structure formats
22 /// ACPI 6.5 Generic Address Space definition
26 UINT8 RegisterBitWidth
;
27 UINT8 RegisterBitOffset
;
30 } EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE
;
33 // Generic Address Space Address IDs
35 #define EFI_ACPI_6_5_SYSTEM_MEMORY 0x00
36 #define EFI_ACPI_6_5_SYSTEM_IO 0x01
37 #define EFI_ACPI_6_5_PCI_CONFIGURATION_SPACE 0x02
38 #define EFI_ACPI_6_5_EMBEDDED_CONTROLLER 0x03
39 #define EFI_ACPI_6_5_SMBUS 0x04
40 #define EFI_ACPI_6_5_SYSTEM_CMOS 0x05
41 #define EFI_ACPI_6_5_PCI_BAR_TARGET 0x06
42 #define EFI_ACPI_6_5_IPMI 0x07
43 #define EFI_ACPI_6_5_GENERAL_PURPOSE_IO 0x08
44 #define EFI_ACPI_6_5_GENERIC_SERIAL_BUS 0x09
45 #define EFI_ACPI_6_5_PLATFORM_COMMUNICATION_CHANNEL 0x0A
46 #define EFI_ACPI_6_5_FUNCTIONAL_FIXED_HARDWARE 0x7F
49 // Generic Address Space Access Sizes
51 #define EFI_ACPI_6_5_UNDEFINED 0
52 #define EFI_ACPI_6_5_BYTE 1
53 #define EFI_ACPI_6_5_WORD 2
54 #define EFI_ACPI_6_5_DWORD 3
55 #define EFI_ACPI_6_5_QWORD 4
58 // ACPI 6.5 table structures
62 /// Root System Description Pointer Structure
72 UINT8 ExtendedChecksum
;
74 } EFI_ACPI_6_5_ROOT_SYSTEM_DESCRIPTION_POINTER
;
77 /// RSD_PTR Revision (as defined in ACPI 6.5 spec.)
79 #define EFI_ACPI_6_5_ROOT_SYSTEM_DESCRIPTION_POINTER_REVISION 0x02 ///< ACPISpec (Revision 6.5) says current value is 2
82 /// Common table header, this prefaces all ACPI tables, including FACS, but
83 /// excluding the RSD PTR structure
88 } EFI_ACPI_6_5_COMMON_HEADER
;
91 // Root System Description Table
92 // No definition needed as it is a common description table header, the same with
93 // EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT32 table pointers.
97 /// RSDT Revision (as defined in ACPI 6.5 spec.)
99 #define EFI_ACPI_6_5_ROOT_SYSTEM_DESCRIPTION_TABLE_REVISION 0x01
102 // Extended System Description Table
103 // No definition needed as it is a common description table header, the same with
104 // EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT64 table pointers.
108 /// XSDT Revision (as defined in ACPI 6.5 spec.)
110 #define EFI_ACPI_6_5_EXTENDED_SYSTEM_DESCRIPTION_TABLE_REVISION 0x01
113 /// Fixed ACPI Description Table Structure (FADT)
116 EFI_ACPI_DESCRIPTION_HEADER Header
;
120 UINT8 PreferredPmProfile
;
155 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE ResetReg
;
159 UINT64 XFirmwareCtrl
;
161 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE XPm1aEvtBlk
;
162 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE XPm1bEvtBlk
;
163 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE XPm1aCntBlk
;
164 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE XPm1bCntBlk
;
165 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE XPm2CntBlk
;
166 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE XPmTmrBlk
;
167 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE XGpe0Blk
;
168 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE XGpe1Blk
;
169 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE SleepControlReg
;
170 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE SleepStatusReg
;
171 UINT64 HypervisorVendorIdentity
;
172 } EFI_ACPI_6_5_FIXED_ACPI_DESCRIPTION_TABLE
;
175 /// FADT Version (as defined in ACPI 6.5 spec.)
177 #define EFI_ACPI_6_5_FIXED_ACPI_DESCRIPTION_TABLE_REVISION 0x06
178 #define EFI_ACPI_6_5_FIXED_ACPI_DESCRIPTION_TABLE_MINOR_REVISION 0x05
181 // Fixed ACPI Description Table Preferred Power Management Profile
183 #define EFI_ACPI_6_5_PM_PROFILE_UNSPECIFIED 0
184 #define EFI_ACPI_6_5_PM_PROFILE_DESKTOP 1
185 #define EFI_ACPI_6_5_PM_PROFILE_MOBILE 2
186 #define EFI_ACPI_6_5_PM_PROFILE_WORKSTATION 3
187 #define EFI_ACPI_6_5_PM_PROFILE_ENTERPRISE_SERVER 4
188 #define EFI_ACPI_6_5_PM_PROFILE_SOHO_SERVER 5
189 #define EFI_ACPI_6_5_PM_PROFILE_APPLIANCE_PC 6
190 #define EFI_ACPI_6_5_PM_PROFILE_PERFORMANCE_SERVER 7
191 #define EFI_ACPI_6_5_PM_PROFILE_TABLET 8
194 // Fixed ACPI Description Table Boot Architecture Flags
195 // All other bits are reserved and must be set to 0.
197 #define EFI_ACPI_6_5_LEGACY_DEVICES BIT0
198 #define EFI_ACPI_6_5_8042 BIT1
199 #define EFI_ACPI_6_5_VGA_NOT_PRESENT BIT2
200 #define EFI_ACPI_6_5_MSI_NOT_SUPPORTED BIT3
201 #define EFI_ACPI_6_5_PCIE_ASPM_CONTROLS BIT4
202 #define EFI_ACPI_6_5_CMOS_RTC_NOT_PRESENT BIT5
205 // Fixed ACPI Description Table Arm Boot Architecture Flags
206 // All other bits are reserved and must be set to 0.
208 #define EFI_ACPI_6_5_ARM_PSCI_COMPLIANT BIT0
209 #define EFI_ACPI_6_5_ARM_PSCI_USE_HVC BIT1
212 // Fixed ACPI Description Table Fixed Feature Flags
213 // All other bits are reserved and must be set to 0.
215 #define EFI_ACPI_6_5_WBINVD BIT0
216 #define EFI_ACPI_6_5_WBINVD_FLUSH BIT1
217 #define EFI_ACPI_6_5_PROC_C1 BIT2
218 #define EFI_ACPI_6_5_P_LVL2_UP BIT3
219 #define EFI_ACPI_6_5_PWR_BUTTON BIT4
220 #define EFI_ACPI_6_5_SLP_BUTTON BIT5
221 #define EFI_ACPI_6_5_FIX_RTC BIT6
222 #define EFI_ACPI_6_5_RTC_S4 BIT7
223 #define EFI_ACPI_6_5_TMR_VAL_EXT BIT8
224 #define EFI_ACPI_6_5_DCK_CAP BIT9
225 #define EFI_ACPI_6_5_RESET_REG_SUP BIT10
226 #define EFI_ACPI_6_5_SEALED_CASE BIT11
227 #define EFI_ACPI_6_5_HEADLESS BIT12
228 #define EFI_ACPI_6_5_CPU_SW_SLP BIT13
229 #define EFI_ACPI_6_5_PCI_EXP_WAK BIT14
230 #define EFI_ACPI_6_5_USE_PLATFORM_CLOCK BIT15
231 #define EFI_ACPI_6_5_S4_RTC_STS_VALID BIT16
232 #define EFI_ACPI_6_5_REMOTE_POWER_ON_CAPABLE BIT17
233 #define EFI_ACPI_6_5_FORCE_APIC_CLUSTER_MODEL BIT18
234 #define EFI_ACPI_6_5_FORCE_APIC_PHYSICAL_DESTINATION_MODE BIT19
235 #define EFI_ACPI_6_5_HW_REDUCED_ACPI BIT20
236 #define EFI_ACPI_6_5_LOW_POWER_S0_IDLE_CAPABLE BIT21
239 /// Firmware ACPI Control Structure
244 UINT32 HardwareSignature
;
245 UINT32 FirmwareWakingVector
;
248 UINT64 XFirmwareWakingVector
;
253 } EFI_ACPI_6_5_FIRMWARE_ACPI_CONTROL_STRUCTURE
;
256 /// FACS Version (as defined in ACPI 6.5 spec.)
258 #define EFI_ACPI_6_5_FIRMWARE_ACPI_CONTROL_STRUCTURE_VERSION 0x02
261 /// Firmware Control Structure Feature Flags
262 /// All other bits are reserved and must be set to 0.
264 #define EFI_ACPI_6_5_S4BIOS_F BIT0
265 #define EFI_ACPI_6_5_64BIT_WAKE_SUPPORTED_F BIT1
268 /// OSPM Enabled Firmware Control Structure Flags
269 /// All other bits are reserved and must be set to 0.
271 #define EFI_ACPI_6_5_OSPM_64BIT_WAKE_F BIT0
274 // Differentiated System Description Table,
275 // Secondary System Description Table
276 // and Persistent System Description Table,
277 // no definition needed as they are common description table header, the same with
278 // EFI_ACPI_DESCRIPTION_HEADER, followed by a definition block.
280 #define EFI_ACPI_6_5_DIFFERENTIATED_SYSTEM_DESCRIPTION_TABLE_REVISION 0x02
281 #define EFI_ACPI_6_5_SECONDARY_SYSTEM_DESCRIPTION_TABLE_REVISION 0x02
284 /// Multiple APIC Description Table header definition. The rest of the table
285 /// must be defined in a platform specific manner.
288 EFI_ACPI_DESCRIPTION_HEADER Header
;
289 UINT32 LocalApicAddress
;
291 } EFI_ACPI_6_5_MULTIPLE_APIC_DESCRIPTION_TABLE_HEADER
;
294 /// MADT Revision (as defined in ACPI 6.5 spec.)
296 #define EFI_ACPI_6_5_MULTIPLE_APIC_DESCRIPTION_TABLE_REVISION 0x05
299 /// Multiple APIC Flags
300 /// All other bits are reserved and must be set to 0.
302 #define EFI_ACPI_6_5_PCAT_COMPAT BIT0
305 // Multiple APIC Description Table APIC structure types
306 // All other values between 0x18 and 0x7F are reserved and
307 // will be ignored by OSPM. 0x80 ~ 0xFF are reserved for OEM.
309 #define EFI_ACPI_6_5_PROCESSOR_LOCAL_APIC 0x00
310 #define EFI_ACPI_6_5_IO_APIC 0x01
311 #define EFI_ACPI_6_5_INTERRUPT_SOURCE_OVERRIDE 0x02
312 #define EFI_ACPI_6_5_NON_MASKABLE_INTERRUPT_SOURCE 0x03
313 #define EFI_ACPI_6_5_LOCAL_APIC_NMI 0x04
314 #define EFI_ACPI_6_5_LOCAL_APIC_ADDRESS_OVERRIDE 0x05
315 #define EFI_ACPI_6_5_IO_SAPIC 0x06
316 #define EFI_ACPI_6_5_LOCAL_SAPIC 0x07
317 #define EFI_ACPI_6_5_PLATFORM_INTERRUPT_SOURCES 0x08
318 #define EFI_ACPI_6_5_PROCESSOR_LOCAL_X2APIC 0x09
319 #define EFI_ACPI_6_5_LOCAL_X2APIC_NMI 0x0A
320 #define EFI_ACPI_6_5_GIC 0x0B
321 #define EFI_ACPI_6_5_GICD 0x0C
322 #define EFI_ACPI_6_5_GIC_MSI_FRAME 0x0D
323 #define EFI_ACPI_6_5_GICR 0x0E
324 #define EFI_ACPI_6_5_GIC_ITS 0x0F
325 #define EFI_ACPI_6_5_MULTIPROCESSOR_WAKEUP 0x10
326 #define EFI_ACPI_6_5_CORE_PIC 0x11
327 #define EFI_ACPI_6_5_LIO_PIC 0x12
328 #define EFI_ACPI_6_5_HT_PIC 0x13
329 #define EFI_ACPI_6_5_EIO_PIC 0x14
330 #define EFI_ACPI_6_5_MSI_PIC 0x15
331 #define EFI_ACPI_6_5_BIO_PIC 0x16
332 #define EFI_ACPI_6_5_LPC_PIC 0x17
335 // APIC Structure Definitions
339 /// Processor Local APIC Structure Definition
344 UINT8 AcpiProcessorUid
;
347 } EFI_ACPI_6_5_PROCESSOR_LOCAL_APIC_STRUCTURE
;
350 /// Local APIC Flags. All other bits are reserved and must be 0.
352 #define EFI_ACPI_6_5_LOCAL_APIC_ENABLED BIT0
353 #define EFI_ACPI_6_5_LOCAL_APIC_ONLINE_CAPABLE BIT1
356 /// IO APIC Structure
363 UINT32 IoApicAddress
;
364 UINT32 GlobalSystemInterruptBase
;
365 } EFI_ACPI_6_5_IO_APIC_STRUCTURE
;
368 /// Interrupt Source Override Structure
375 UINT32 GlobalSystemInterrupt
;
377 } EFI_ACPI_6_5_INTERRUPT_SOURCE_OVERRIDE_STRUCTURE
;
380 /// Platform Interrupt Sources Structure Definition
390 UINT32 GlobalSystemInterrupt
;
391 UINT32 PlatformInterruptSourceFlags
;
392 UINT8 CpeiProcessorOverride
;
394 } EFI_ACPI_6_5_PLATFORM_INTERRUPT_APIC_STRUCTURE
;
398 // All other bits are reserved and must be set to 0.
400 #define EFI_ACPI_6_5_POLARITY (3 << 0)
401 #define EFI_ACPI_6_5_TRIGGER_MODE (3 << 2)
404 /// Non-Maskable Interrupt Source Structure
410 UINT32 GlobalSystemInterrupt
;
411 } EFI_ACPI_6_5_NON_MASKABLE_INTERRUPT_SOURCE_STRUCTURE
;
414 /// Local APIC NMI Structure
419 UINT8 AcpiProcessorUid
;
422 } EFI_ACPI_6_5_LOCAL_APIC_NMI_STRUCTURE
;
425 /// Local APIC Address Override Structure
431 UINT64 LocalApicAddress
;
432 } EFI_ACPI_6_5_LOCAL_APIC_ADDRESS_OVERRIDE_STRUCTURE
;
435 /// IO SAPIC Structure
442 UINT32 GlobalSystemInterruptBase
;
443 UINT64 IoSapicAddress
;
444 } EFI_ACPI_6_5_IO_SAPIC_STRUCTURE
;
447 /// Local SAPIC Structure
448 /// This struct followed by a null-terminated ASCII string - ACPI Processor UID String
453 UINT8 AcpiProcessorId
;
458 UINT32 ACPIProcessorUIDValue
;
459 } EFI_ACPI_6_5_PROCESSOR_LOCAL_SAPIC_STRUCTURE
;
462 /// Platform Interrupt Sources Structure
472 UINT32 GlobalSystemInterrupt
;
473 UINT32 PlatformInterruptSourceFlags
;
474 } EFI_ACPI_6_5_PLATFORM_INTERRUPT_SOURCES_STRUCTURE
;
477 /// Platform Interrupt Source Flags.
478 /// All other bits are reserved and must be set to 0.
480 #define EFI_ACPI_6_5_CPEI_PROCESSOR_OVERRIDE BIT0
483 /// Processor Local x2APIC Structure Definition
491 UINT32 AcpiProcessorUid
;
492 } EFI_ACPI_6_5_PROCESSOR_LOCAL_X2APIC_STRUCTURE
;
495 /// Local x2APIC NMI Structure
501 UINT32 AcpiProcessorUid
;
502 UINT8 LocalX2ApicLint
;
504 } EFI_ACPI_6_5_LOCAL_X2APIC_NMI_STRUCTURE
;
513 UINT32 CPUInterfaceNumber
;
514 UINT32 AcpiProcessorUid
;
516 UINT32 ParkingProtocolVersion
;
517 UINT32 PerformanceInterruptGsiv
;
518 UINT64 ParkedAddress
;
519 UINT64 PhysicalBaseAddress
;
522 UINT32 VGICMaintenanceInterrupt
;
523 UINT64 GICRBaseAddress
;
525 UINT8 ProcessorPowerEfficiencyClass
;
527 UINT16 SpeOverflowInterrupt
;
528 } EFI_ACPI_6_5_GIC_STRUCTURE
;
531 /// GIC Flags. All other bits are reserved and must be 0.
533 #define EFI_ACPI_6_5_GIC_ENABLED BIT0
534 #define EFI_ACPI_6_5_PERFORMANCE_INTERRUPT_MODEL BIT1
535 #define EFI_ACPI_6_5_VGIC_MAINTENANCE_INTERRUPT_MODE_FLAGS BIT2
538 /// GIC Distributor Structure
545 UINT64 PhysicalBaseAddress
;
546 UINT32 SystemVectorBase
;
549 } EFI_ACPI_6_5_GIC_DISTRIBUTOR_STRUCTURE
;
554 #define EFI_ACPI_6_5_GIC_V1 0x01
555 #define EFI_ACPI_6_5_GIC_V2 0x02
556 #define EFI_ACPI_6_5_GIC_V3 0x03
557 #define EFI_ACPI_6_5_GIC_V4 0x04
560 /// GIC MSI Frame Structure
566 UINT32 GicMsiFrameId
;
567 UINT64 PhysicalBaseAddress
;
571 } EFI_ACPI_6_5_GIC_MSI_FRAME_STRUCTURE
;
574 /// GIC MSI Frame Flags. All other bits are reserved and must be 0.
576 #define EFI_ACPI_6_5_SPI_COUNT_BASE_SELECT BIT0
585 UINT64 DiscoveryRangeBaseAddress
;
586 UINT32 DiscoveryRangeLength
;
587 } EFI_ACPI_6_5_GICR_STRUCTURE
;
590 /// GIC Interrupt Translation Service Structure
597 UINT64 PhysicalBaseAddress
;
599 } EFI_ACPI_6_5_GIC_ITS_STRUCTURE
;
602 /// Multiprocessor Wakeup Structure
607 UINT16 MailBoxVersion
;
609 UINT64 MailBoxAddress
;
610 } EFI_ACPI_6_5_MULTIPROCESSOR_WAKEUP_STRUCTURE
;
613 /// Multiprocessor Wakeup Mailbox Structure
620 UINT8 ReservedForOs
[2032];
621 UINT8 ReservedForFirmware
[2048];
622 } EFI_ACPI_6_5_MULTIPROCESSOR_WAKEUP_MAILBOX_STRUCTURE
;
624 #define EFI_ACPI_6_5_MULTIPROCESSOR_WAKEUP_MAILBOX_COMMAND_NOOP 0x0000
625 #define EFI_ACPI_6_5_MULTIPROCESSOR_WAKEUP_MAILBOX_COMMAND_WAKEUP 0x0001
628 /// Core Programmable Interrupt Controller
637 } EFI_ACPI_6_5_CORE_PIC_STRUCTURE
;
640 /// Legacy I/O Programmable Interrupt Controller
649 UINT32 CascadeMap
[2];
650 } EFI_ACPI_6_5_LIO_PIC_STRUCTURE
;
653 /// HyperTransport Programmable Interrupt Controller
662 } EFI_ACPI_6_5_HT_PIC_STRUCTURE
;
665 /// Extend I/O Programmable Interrupt Controller
674 } EFI_ACPI_6_5_EIO_PIC_STRUCTURE
;
677 /// MSI Programmable Interrupt Controller
686 } EFI_ACPI_6_5_MSI_PIC_STRUCTURE
;
689 /// Bridge I/O Programmable Interrupt Controller
699 } EFI_ACPI_6_5_BIO_PIC_STRUCTURE
;
702 /// Low Pin Count Programmable Interrupt Controller
711 } EFI_ACPI_6_5_LPC_PIC_STRUCTURE
;
714 /// Smart Battery Description Table (SBST)
717 EFI_ACPI_DESCRIPTION_HEADER Header
;
718 UINT32 WarningEnergyLevel
;
719 UINT32 LowEnergyLevel
;
720 UINT32 CriticalEnergyLevel
;
721 } EFI_ACPI_6_5_SMART_BATTERY_DESCRIPTION_TABLE
;
724 /// SBST Version (as defined in ACPI 6.5 spec.)
726 #define EFI_ACPI_6_5_SMART_BATTERY_DESCRIPTION_TABLE_REVISION 0x01
729 /// Embedded Controller Boot Resources Table (ECDT)
730 /// The table is followed by a null terminated ASCII string that contains
731 /// a fully qualified reference to the name space object.
734 EFI_ACPI_DESCRIPTION_HEADER Header
;
735 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE EcControl
;
736 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE EcData
;
739 } EFI_ACPI_6_5_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE
;
742 /// ECDT Version (as defined in ACPI 6.5 spec.)
744 #define EFI_ACPI_6_5_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE_REVISION 0x01
747 /// System Resource Affinity Table (SRAT). The rest of the table
748 /// must be defined in a platform specific manner.
751 EFI_ACPI_DESCRIPTION_HEADER Header
;
752 UINT32 Reserved1
; ///< Must be set to 1
754 } EFI_ACPI_6_5_SYSTEM_RESOURCE_AFFINITY_TABLE_HEADER
;
757 /// SRAT Version (as defined in ACPI 6.5 spec.)
759 #define EFI_ACPI_6_5_SYSTEM_RESOURCE_AFFINITY_TABLE_REVISION 0x03
762 // SRAT structure types.
763 // All other values between 0x06 an 0xFF are reserved and
764 // will be ignored by OSPM.
766 #define EFI_ACPI_6_5_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY 0x00
767 #define EFI_ACPI_6_5_MEMORY_AFFINITY 0x01
768 #define EFI_ACPI_6_5_PROCESSOR_LOCAL_X2APIC_AFFINITY 0x02
769 #define EFI_ACPI_6_5_GICC_AFFINITY 0x03
770 #define EFI_ACPI_6_5_GIC_ITS_AFFINITY 0x04
771 #define EFI_ACPI_6_5_GENERIC_INITIATOR_AFFINITY 0x05
774 /// Processor Local APIC/SAPIC Affinity Structure Definition
779 UINT8 ProximityDomain7To0
;
783 UINT8 ProximityDomain31To8
[3];
785 } EFI_ACPI_6_5_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY_STRUCTURE
;
788 /// Local APIC/SAPIC Flags. All other bits are reserved and must be 0.
790 #define EFI_ACPI_6_5_PROCESSOR_LOCAL_APIC_SAPIC_ENABLED (1 << 0)
793 /// Memory Affinity Structure Definition
798 UINT32 ProximityDomain
;
800 UINT32 AddressBaseLow
;
801 UINT32 AddressBaseHigh
;
807 } EFI_ACPI_6_5_MEMORY_AFFINITY_STRUCTURE
;
810 // Memory Flags. All other bits are reserved and must be 0.
812 #define EFI_ACPI_6_5_MEMORY_ENABLED (1 << 0)
813 #define EFI_ACPI_6_5_MEMORY_HOT_PLUGGABLE (1 << 1)
814 #define EFI_ACPI_6_5_MEMORY_NONVOLATILE (1 << 2)
817 /// Processor Local x2APIC Affinity Structure Definition
823 UINT32 ProximityDomain
;
828 } EFI_ACPI_6_5_PROCESSOR_LOCAL_X2APIC_AFFINITY_STRUCTURE
;
831 /// GICC Affinity Structure Definition
836 UINT32 ProximityDomain
;
837 UINT32 AcpiProcessorUid
;
840 } EFI_ACPI_6_5_GICC_AFFINITY_STRUCTURE
;
843 /// GICC Flags. All other bits are reserved and must be 0.
845 #define EFI_ACPI_6_5_GICC_ENABLED (1 << 0)
848 /// GIC Interrupt Translation Service (ITS) Affinity Structure Definition
853 UINT32 ProximityDomain
;
856 } EFI_ACPI_6_5_GIC_ITS_AFFINITY_STRUCTURE
;
859 // Generic Initiator Affinity Structure Device Handle Types
860 // All other values between 0x02 an 0xFF are reserved and
861 // will be ignored by OSPM.
863 #define EFI_ACPI_6_5_ACPI_DEVICE_HANDLE 0x00
864 #define EFI_ACPI_6_5_PCI_DEVICE_HANDLE 0x01
867 /// Device Handle - ACPI
873 } EFI_ACPI_6_5_DEVICE_HANDLE_ACPI
;
876 /// Device Handle - PCI
882 } EFI_ACPI_6_5_DEVICE_HANDLE_PCI
;
888 EFI_ACPI_6_5_DEVICE_HANDLE_ACPI Acpi
;
889 EFI_ACPI_6_5_DEVICE_HANDLE_PCI Pci
;
890 } EFI_ACPI_6_5_DEVICE_HANDLE
;
893 /// Generic Initiator Affinity Structure
899 UINT8 DeviceHandleType
;
900 UINT32 ProximityDomain
;
901 EFI_ACPI_6_5_DEVICE_HANDLE DeviceHandle
;
904 } EFI_ACPI_6_5_GENERIC_INITIATOR_AFFINITY_STRUCTURE
;
907 /// Generic Initiator Affinity Structure Flags. All other bits are reserved
910 #define EFI_ACPI_6_5_GENERIC_INITIATOR_AFFINITY_STRUCTURE_ENABLED BIT0
911 #define EFI_ACPI_6_5_GENERIC_INITIATOR_AFFINITY_STRUCTURE_ARCHITECTURAL_TRANSACTIONS BIT1
914 /// System Locality Distance Information Table (SLIT).
915 /// The rest of the table is a matrix.
918 EFI_ACPI_DESCRIPTION_HEADER Header
;
919 UINT64 NumberOfSystemLocalities
;
920 } EFI_ACPI_6_5_SYSTEM_LOCALITY_DISTANCE_INFORMATION_TABLE_HEADER
;
923 /// SLIT Version (as defined in ACPI 6.5 spec.)
925 #define EFI_ACPI_6_5_SYSTEM_LOCALITY_DISTANCE_INFORMATION_TABLE_REVISION 0x01
928 /// Corrected Platform Error Polling Table (CPEP)
931 EFI_ACPI_DESCRIPTION_HEADER Header
;
933 } EFI_ACPI_6_5_CORRECTED_PLATFORM_ERROR_POLLING_TABLE_HEADER
;
936 /// CPEP Version (as defined in ACPI 6.5 spec.)
938 #define EFI_ACPI_6_5_CORRECTED_PLATFORM_ERROR_POLLING_TABLE_REVISION 0x01
941 // CPEP processor structure types.
943 #define EFI_ACPI_6_5_CPEP_PROCESSOR_APIC_SAPIC 0x00
946 /// Corrected Platform Error Polling Processor Structure Definition
953 UINT32 PollingInterval
;
954 } EFI_ACPI_6_5_CPEP_PROCESSOR_APIC_SAPIC_STRUCTURE
;
957 /// Maximum System Characteristics Table (MSCT)
960 EFI_ACPI_DESCRIPTION_HEADER Header
;
961 UINT32 OffsetProxDomInfo
;
962 UINT32 MaximumNumberOfProximityDomains
;
963 UINT32 MaximumNumberOfClockDomains
;
964 UINT64 MaximumPhysicalAddress
;
965 } EFI_ACPI_6_5_MAXIMUM_SYSTEM_CHARACTERISTICS_TABLE_HEADER
;
968 /// MSCT Version (as defined in ACPI 6.5 spec.)
970 #define EFI_ACPI_6_5_MAXIMUM_SYSTEM_CHARACTERISTICS_TABLE_REVISION 0x01
973 /// Maximum Proximity Domain Information Structure Definition
978 UINT32 ProximityDomainRangeLow
;
979 UINT32 ProximityDomainRangeHigh
;
980 UINT32 MaximumProcessorCapacity
;
981 UINT64 MaximumMemoryCapacity
;
982 } EFI_ACPI_6_5_MAXIMUM_PROXIMITY_DOMAIN_INFORMATION_STRUCTURE
;
985 /// ACPI RAS Feature Table definition.
988 EFI_ACPI_DESCRIPTION_HEADER Header
;
989 UINT8 PlatformCommunicationChannelIdentifier
[12];
990 } EFI_ACPI_6_5_RAS_FEATURE_TABLE
;
993 /// RASF Version (as defined in ACPI 6.5 spec.)
995 #define EFI_ACPI_6_5_RAS_FEATURE_TABLE_REVISION 0x01
998 /// ACPI RASF Platform Communication Channel Shared Memory Region definition.
1005 UINT8 RASCapabilities
[16];
1006 UINT8 SetRASCapabilities
[16];
1007 UINT16 NumberOfRASFParameterBlocks
;
1008 UINT32 SetRASCapabilitiesStatus
;
1009 } EFI_ACPI_6_5_RASF_PLATFORM_COMMUNICATION_CHANNEL_SHARED_MEMORY_REGION
;
1012 /// ACPI RASF PCC command code
1014 #define EFI_ACPI_6_5_RASF_PCC_COMMAND_CODE_EXECUTE_RASF_COMMAND 0x01
1017 /// ACPI RASF Platform RAS Capabilities
1019 #define EFI_ACPI_6_5_RASF_PLATFORM_RAS_CAPABILITY_HARDWARE_BASED_PATROL_SCRUB_SUPPORTED BIT0
1020 #define EFI_ACPI_6_5_RASF_PLATFORM_RAS_CAPABILITY_HARDWARE_BASED_PATROL_SCRUB_SUPPORTED_AND_EXPOSED_TO_SOFTWARE BIT1
1021 #define EFI_ACPI_6_5_RASF_PLATFORM_RAS_CAPABILITY_CPU_CACHE_FLUSH_TO_NVDIMM_DURABILITY_ON_POWER_LOSS BIT2
1022 #define EFI_ACPI_6_5_RASF_PLATFORM_RAS_CAPABILITY_MEMORY_CONTROLLER_FLUSH_TO_NVDIMM_DURABILITY_ON_POWER_LOSS BIT3
1023 #define EFI_ACPI_6_5_RASF_PLATFORM_RAS_CAPABILITY_BYTE_ADDRESSABLE_PERSISTENT_MEMORY_HARDWARE_MIRRORING BIT4
1026 /// ACPI RASF Parameter Block structure for PATROL_SCRUB
1032 UINT16 PatrolScrubCommand
;
1033 UINT64 RequestedAddressRange
[2];
1034 UINT64 ActualAddressRange
[2];
1036 UINT8 RequestedSpeed
;
1037 } EFI_ACPI_6_5_RASF_PATROL_SCRUB_PLATFORM_BLOCK_STRUCTURE
;
1040 /// ACPI RASF Patrol Scrub command
1042 #define EFI_ACPI_6_5_RASF_PATROL_SCRUB_COMMAND_GET_PATROL_PARAMETERS 0x01
1043 #define EFI_ACPI_6_5_RASF_PATROL_SCRUB_COMMAND_START_PATROL_SCRUBBER 0x02
1044 #define EFI_ACPI_6_5_RASF_PATROL_SCRUB_COMMAND_STOP_PATROL_SCRUBBER 0x03
1047 /// Memory Power State Table definition.
1050 EFI_ACPI_DESCRIPTION_HEADER Header
;
1051 UINT8 PlatformCommunicationChannelIdentifier
;
1053 // Memory Power Node Structure
1054 // Memory Power State Characteristics
1055 } EFI_ACPI_6_5_MEMORY_POWER_STATUS_TABLE
;
1058 /// MPST Version (as defined in ACPI 6.5 spec.)
1060 #define EFI_ACPI_6_5_MEMORY_POWER_STATE_TABLE_REVISION 0x01
1063 /// MPST Platform Communication Channel Shared Memory Region definition.
1069 UINT32 MemoryPowerCommandRegister
;
1070 UINT32 MemoryPowerStatusRegister
;
1071 UINT32 PowerStateId
;
1072 UINT32 MemoryPowerNodeId
;
1073 UINT64 MemoryEnergyConsumed
;
1074 UINT64 ExpectedAveragePowerComsuned
;
1075 } EFI_ACPI_6_5_MPST_PLATFORM_COMMUNICATION_CHANNEL_SHARED_MEMORY_REGION
;
1078 /// ACPI MPST PCC command code
1080 #define EFI_ACPI_6_5_MPST_PCC_COMMAND_CODE_EXECUTE_MPST_COMMAND 0x03
1083 /// ACPI MPST Memory Power command
1085 #define EFI_ACPI_6_5_MPST_MEMORY_POWER_COMMAND_GET_MEMORY_POWER_STATE 0x01
1086 #define EFI_ACPI_6_5_MPST_MEMORY_POWER_COMMAND_SET_MEMORY_POWER_STATE 0x02
1087 #define EFI_ACPI_6_5_MPST_MEMORY_POWER_COMMAND_GET_AVERAGE_POWER_CONSUMED 0x03
1088 #define EFI_ACPI_6_5_MPST_MEMORY_POWER_COMMAND_GET_MEMORY_ENERGY_CONSUMED 0x04
1091 /// MPST Memory Power Node Table
1094 UINT8 PowerStateValue
;
1095 UINT8 PowerStateInformationIndex
;
1096 } EFI_ACPI_6_5_MPST_MEMORY_POWER_STATE
;
1101 UINT16 MemoryPowerNodeId
;
1104 UINT64 AddressLength
;
1105 UINT32 NumberOfPowerStates
;
1106 UINT32 NumberOfPhysicalComponents
;
1107 // EFI_ACPI_6_5_MPST_MEMORY_POWER_STATE MemoryPowerState[NumberOfPowerStates];
1108 // UINT16 PhysicalComponentIdentifier[NumberOfPhysicalComponents];
1109 } EFI_ACPI_6_5_MPST_MEMORY_POWER_STRUCTURE
;
1111 #define EFI_ACPI_6_5_MPST_MEMORY_POWER_STRUCTURE_FLAG_ENABLE 0x01
1112 #define EFI_ACPI_6_5_MPST_MEMORY_POWER_STRUCTURE_FLAG_POWER_MANAGED 0x02
1113 #define EFI_ACPI_6_5_MPST_MEMORY_POWER_STRUCTURE_FLAG_HOT_PLUGGABLE 0x04
1116 UINT16 MemoryPowerNodeCount
;
1118 } EFI_ACPI_6_5_MPST_MEMORY_POWER_NODE_TABLE
;
1121 /// MPST Memory Power State Characteristics Table
1124 UINT8 PowerStateStructureID
;
1127 UINT32 AveragePowerConsumedInMPS0
;
1128 UINT32 RelativePowerSavingToMPS0
;
1129 UINT64 ExitLatencyToMPS0
;
1130 } EFI_ACPI_6_5_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE
;
1132 #define EFI_ACPI_6_5_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE_FLAG_MEMORY_CONTENT_PRESERVED 0x01
1133 #define EFI_ACPI_6_5_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE_FLAG_AUTONOMOUS_MEMORY_POWER_STATE_ENTRY 0x02
1134 #define EFI_ACPI_6_5_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE_FLAG_AUTONOMOUS_MEMORY_POWER_STATE_EXIT 0x04
1137 UINT16 MemoryPowerStateCharacteristicsCount
;
1139 } EFI_ACPI_6_5_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_TABLE
;
1142 /// Platform Memory Topology Table definition.
1145 EFI_ACPI_DESCRIPTION_HEADER Header
;
1146 UINT32 NumberOfMemoryDevices
;
1147 // EFI_ACPI_6_5_PMTT_COMMON_MEMORY_DEVICE MemoryDeviceStructure[NumberOfMemoryDevices];
1148 } EFI_ACPI_6_5_PLATFORM_MEMORY_TOPOLOGY_TABLE
;
1151 /// PMTT Version (as defined in ACPI 6.5 spec.)
1153 #define EFI_ACPI_6_5_MEMORY_TOPOLOGY_TABLE_REVISION 0x02
1156 /// Common Memory Device.
1164 UINT32 NumberOfMemoryDevices
;
1165 // UINT8 TypeSpecificData[];
1166 // EFI_ACPI_6_5_PMTT_COMMON_MEMORY_DEVICE MemoryDeviceStructure[NumberOfMemoryDevices];
1167 } EFI_ACPI_6_5_PMTT_COMMON_MEMORY_DEVICE
;
1170 /// Memory Device Type.
1172 #define EFI_ACPI_6_5_PMTT_MEMORY_DEVICE_TYPE_SOCKET 0x0
1173 #define EFI_ACPI_6_5_PMTT_MEMORY_DEVICE_TYPE_MEMORY_CONTROLLER 0x1
1174 #define EFI_ACPI_6_5_PMTT_MEMORY_DEVICE_TYPE_DIMM 0x2
1175 #define EFI_ACPI_6_5_PMTT_MEMORY_DEVICE_TYPE_VENDOR_SPECIFIC_TYPE 0xFF
1178 /// Socket Type Data.
1181 EFI_ACPI_6_5_PMTT_COMMON_MEMORY_DEVICE CommonMemoryDeviceHeader
;
1182 UINT16 SocketIdentifier
;
1184 // EFI_ACPI_6_5_PMTT_COMMON_MEMORY_DEVICE MemoryDeviceStructure[];
1185 } EFI_ACPI_6_5_PMTT_SOCKET_TYPE_DATA
;
1188 /// Memory Controller Type Data.
1191 EFI_ACPI_6_5_PMTT_COMMON_MEMORY_DEVICE CommonMemoryDeviceHeader
;
1192 UINT16 MemoryControllerIdentifier
;
1194 // EFI_ACPI_6_5_PMTT_COMMON_MEMORY_DEVICE MemoryDeviceStructure[];
1195 } EFI_ACPI_6_5_PMTT_MEMORY_CONTROLLER_TYPE_DATA
;
1198 /// DIMM Type Specific Data.
1201 EFI_ACPI_6_5_PMTT_COMMON_MEMORY_DEVICE CommonMemoryDeviceHeader
;
1202 UINT32 SmbiosHandle
;
1203 } EFI_ACPI_6_5_PMTT_DIMM_TYPE_SPECIFIC_DATA
;
1206 /// Vendor Specific Type Data.
1209 EFI_ACPI_6_5_PMTT_COMMON_MEMORY_DEVICE CommonMemoryDeviceHeader
;
1211 // EFI_ACPI_6_5_PMTT_VENDOR_SPECIFIC_TYPE_DATA VendorSpecificData[];
1212 // EFI_ACPI_6_5_PMTT_COMMON_MEMORY_DEVICE MemoryDeviceStructure[];
1213 } EFI_ACPI_6_5_PMTT_VENDOR_SPECIFIC_TYPE_DATA
;
1216 /// Boot Graphics Resource Table definition.
1219 EFI_ACPI_DESCRIPTION_HEADER Header
;
1221 /// 2-bytes (16 bit) version ID. This value must be 1.
1225 /// 1-byte status field indicating current status about the table.
1226 /// Bits[7:3] = Reserved (must be zero)
1227 /// Bits[2:1] = Orientation Offset. These bits describe the clockwise
1228 /// degree offset from the image's default orientation.
1229 /// [00] = 0, no offset
1233 /// Bit [0] = Displayed. A one indicates the boot image graphic is
1238 /// 1-byte enumerated type field indicating format of the image.
1240 /// 1 - 255 Reserved (for future use)
1244 /// 8-byte (64 bit) physical address pointing to the firmware's in-memory copy
1245 /// of the image bitmap.
1247 UINT64 ImageAddress
;
1249 /// A 4-byte (32-bit) unsigned long describing the display X-offset of the boot image.
1250 /// (X, Y) display offset of the top left corner of the boot image.
1251 /// The top left corner of the display is at offset (0, 0).
1253 UINT32 ImageOffsetX
;
1255 /// A 4-byte (32-bit) unsigned long describing the display Y-offset of the boot image.
1256 /// (X, Y) display offset of the top left corner of the boot image.
1257 /// The top left corner of the display is at offset (0, 0).
1259 UINT32 ImageOffsetY
;
1260 } EFI_ACPI_6_5_BOOT_GRAPHICS_RESOURCE_TABLE
;
1265 #define EFI_ACPI_6_5_BOOT_GRAPHICS_RESOURCE_TABLE_REVISION 1
1270 #define EFI_ACPI_6_5_BGRT_VERSION 0x01
1275 #define EFI_ACPI_6_5_BGRT_STATUS_NOT_DISPLAYED 0x00
1276 #define EFI_ACPI_6_5_BGRT_STATUS_DISPLAYED 0x01
1281 #define EFI_ACPI_6_5_BGRT_IMAGE_TYPE_BMP 0x00
1284 /// FPDT Version (as defined in ACPI 6.5 spec.)
1286 #define EFI_ACPI_6_5_FIRMWARE_PERFORMANCE_DATA_TABLE_REVISION 0x01
1289 /// FPDT Performance Record Types
1291 #define EFI_ACPI_6_5_FPDT_RECORD_TYPE_FIRMWARE_BASIC_BOOT_POINTER 0x0000
1292 #define EFI_ACPI_6_5_FPDT_RECORD_TYPE_S3_PERFORMANCE_TABLE_POINTER 0x0001
1295 /// FPDT Performance Record Revision
1297 #define EFI_ACPI_6_5_FPDT_RECORD_REVISION_FIRMWARE_BASIC_BOOT_POINTER 0x01
1298 #define EFI_ACPI_6_5_FPDT_RECORD_REVISION_S3_PERFORMANCE_TABLE_POINTER 0x01
1301 /// FPDT Runtime Performance Record Types
1303 #define EFI_ACPI_6_5_FPDT_RUNTIME_RECORD_TYPE_S3_RESUME 0x0000
1304 #define EFI_ACPI_6_5_FPDT_RUNTIME_RECORD_TYPE_S3_SUSPEND 0x0001
1305 #define EFI_ACPI_6_5_FPDT_RUNTIME_RECORD_TYPE_FIRMWARE_BASIC_BOOT 0x0002
1308 /// FPDT Runtime Performance Record Revision
1310 #define EFI_ACPI_6_5_FPDT_RUNTIME_RECORD_REVISION_S3_RESUME 0x01
1311 #define EFI_ACPI_6_5_FPDT_RUNTIME_RECORD_REVISION_S3_SUSPEND 0x01
1312 #define EFI_ACPI_6_5_FPDT_RUNTIME_RECORD_REVISION_FIRMWARE_BASIC_BOOT 0x02
1315 /// FPDT Performance Record header
1321 } EFI_ACPI_6_5_FPDT_PERFORMANCE_RECORD_HEADER
;
1324 /// FPDT Performance Table header
1329 } EFI_ACPI_6_5_FPDT_PERFORMANCE_TABLE_HEADER
;
1332 /// FPDT Firmware Basic Boot Performance Pointer Record Structure
1335 EFI_ACPI_6_5_FPDT_PERFORMANCE_RECORD_HEADER Header
;
1338 /// 64-bit processor-relative physical address of the Basic Boot Performance Table.
1340 UINT64 BootPerformanceTablePointer
;
1341 } EFI_ACPI_6_5_FPDT_BOOT_PERFORMANCE_TABLE_POINTER_RECORD
;
1344 /// FPDT S3 Performance Table Pointer Record Structure
1347 EFI_ACPI_6_5_FPDT_PERFORMANCE_RECORD_HEADER Header
;
1350 /// 64-bit processor-relative physical address of the S3 Performance Table.
1352 UINT64 S3PerformanceTablePointer
;
1353 } EFI_ACPI_6_5_FPDT_S3_PERFORMANCE_TABLE_POINTER_RECORD
;
1356 /// FPDT Firmware Basic Boot Performance Record Structure
1359 EFI_ACPI_6_5_FPDT_PERFORMANCE_RECORD_HEADER Header
;
1362 /// Timer value logged at the beginning of firmware image execution.
1363 /// This may not always be zero or near zero.
1367 /// Timer value logged just prior to loading the OS boot loader into memory.
1368 /// For non-UEFI compatible boots, this field must be zero.
1370 UINT64 OsLoaderLoadImageStart
;
1372 /// Timer value logged just prior to launching the previously loaded OS boot loader image.
1373 /// For non-UEFI compatible boots, the timer value logged will be just prior
1374 /// to the INT 19h handler invocation.
1376 UINT64 OsLoaderStartImageStart
;
1378 /// Timer value logged at the point when the OS loader calls the
1379 /// ExitBootServices function for UEFI compatible firmware.
1380 /// For non-UEFI compatible boots, this field must be zero.
1382 UINT64 ExitBootServicesEntry
;
1384 /// Timer value logged at the point just prior towhen the OS loader gaining
1385 /// control back from calls the ExitBootServices function for UEFI compatible firmware.
1386 /// For non-UEFI compatible boots, this field must be zero.
1388 UINT64 ExitBootServicesExit
;
1389 } EFI_ACPI_6_5_FPDT_FIRMWARE_BASIC_BOOT_RECORD
;
1392 /// FPDT Firmware Basic Boot Performance Table signature
1394 #define EFI_ACPI_6_5_FPDT_BOOT_PERFORMANCE_TABLE_SIGNATURE SIGNATURE_32('F', 'B', 'P', 'T')
1397 // FPDT Firmware Basic Boot Performance Table
1400 EFI_ACPI_6_5_FPDT_PERFORMANCE_TABLE_HEADER Header
;
1402 // one or more Performance Records.
1404 } EFI_ACPI_6_5_FPDT_FIRMWARE_BASIC_BOOT_TABLE
;
1407 /// FPDT "S3PT" S3 Performance Table
1409 #define EFI_ACPI_6_5_FPDT_S3_PERFORMANCE_TABLE_SIGNATURE SIGNATURE_32('S', '3', 'P', 'T')
1412 // FPDT Firmware S3 Boot Performance Table
1415 EFI_ACPI_6_5_FPDT_PERFORMANCE_TABLE_HEADER Header
;
1417 // one or more Performance Records.
1419 } EFI_ACPI_6_5_FPDT_FIRMWARE_S3_BOOT_TABLE
;
1422 /// FPDT Basic S3 Resume Performance Record
1425 EFI_ACPI_6_5_FPDT_PERFORMANCE_RECORD_HEADER Header
;
1427 /// A count of the number of S3 resume cycles since the last full boot sequence.
1431 /// Timer recorded at the end of BIOS S3 resume, just prior to handoff to the
1432 /// OS waking vector. Only the most recent resume cycle's time is retained.
1436 /// Average timer value of all resume cycles logged since the last full boot
1437 /// sequence, including the most recent resume. Note that the entire log of
1438 /// timer values does not need to be retained in order to calculate this average.
1440 UINT64 AverageResume
;
1441 } EFI_ACPI_6_5_FPDT_S3_RESUME_RECORD
;
1444 /// FPDT Basic S3 Suspend Performance Record
1447 EFI_ACPI_6_5_FPDT_PERFORMANCE_RECORD_HEADER Header
;
1449 /// Timer value recorded at the OS write to SLP_TYP upon entry to S3.
1450 /// Only the most recent suspend cycle's timer value is retained.
1452 UINT64 SuspendStart
;
1454 /// Timer value recorded at the final firmware write to SLP_TYP (or other
1455 /// mechanism) used to trigger hardware entry to S3.
1456 /// Only the most recent suspend cycle's timer value is retained.
1459 } EFI_ACPI_6_5_FPDT_S3_SUSPEND_RECORD
;
1462 /// Firmware Performance Record Table definition.
1465 EFI_ACPI_DESCRIPTION_HEADER Header
;
1466 } EFI_ACPI_6_5_FIRMWARE_PERFORMANCE_RECORD_TABLE
;
1469 /// Generic Timer Description Table definition.
1472 EFI_ACPI_DESCRIPTION_HEADER Header
;
1473 UINT64 CntControlBasePhysicalAddress
;
1475 UINT32 SecurePL1TimerGSIV
;
1476 UINT32 SecurePL1TimerFlags
;
1477 UINT32 NonSecurePL1TimerGSIV
;
1478 UINT32 NonSecurePL1TimerFlags
;
1479 UINT32 VirtualTimerGSIV
;
1480 UINT32 VirtualTimerFlags
;
1481 UINT32 NonSecurePL2TimerGSIV
;
1482 UINT32 NonSecurePL2TimerFlags
;
1483 UINT64 CntReadBasePhysicalAddress
;
1484 UINT32 PlatformTimerCount
;
1485 UINT32 PlatformTimerOffset
;
1486 UINT32 VirtualPL2TimerGSIV
;
1487 UINT32 VirtualPL2TimerFlags
;
1488 } EFI_ACPI_6_5_GENERIC_TIMER_DESCRIPTION_TABLE
;
1491 /// GTDT Version (as defined in ACPI 6.5 spec.)
1493 #define EFI_ACPI_6_5_GENERIC_TIMER_DESCRIPTION_TABLE_REVISION 0x03
1496 /// Timer Flags. All other bits are reserved and must be 0.
1498 #define EFI_ACPI_6_5_GTDT_TIMER_FLAG_TIMER_INTERRUPT_MODE BIT0
1499 #define EFI_ACPI_6_5_GTDT_TIMER_FLAG_TIMER_INTERRUPT_POLARITY BIT1
1500 #define EFI_ACPI_6_5_GTDT_TIMER_FLAG_ALWAYS_ON_CAPABILITY BIT2
1503 /// Platform Timer Type
1505 #define EFI_ACPI_6_5_GTDT_GT_BLOCK 0
1506 #define EFI_ACPI_6_5_GTDT_ARM_GENERIC_WATCHDOG 1
1509 /// GT Block Structure
1516 UINT32 GTBlockTimerCount
;
1517 UINT32 GTBlockTimerOffset
;
1518 } EFI_ACPI_6_5_GTDT_GT_BLOCK_STRUCTURE
;
1521 /// GT Block Timer Structure
1524 UINT8 GTFrameNumber
;
1528 UINT32 GTxPhysicalTimerGSIV
;
1529 UINT32 GTxPhysicalTimerFlags
;
1530 UINT32 GTxVirtualTimerGSIV
;
1531 UINT32 GTxVirtualTimerFlags
;
1532 UINT32 GTxCommonFlags
;
1533 } EFI_ACPI_6_5_GTDT_GT_BLOCK_TIMER_STRUCTURE
;
1536 /// GT Block Physical Timers and Virtual Timers Flags. All other bits are reserved and must be 0.
1538 #define EFI_ACPI_6_5_GTDT_GT_BLOCK_TIMER_FLAG_TIMER_INTERRUPT_MODE BIT0
1539 #define EFI_ACPI_6_5_GTDT_GT_BLOCK_TIMER_FLAG_TIMER_INTERRUPT_POLARITY BIT1
1542 /// Common Flags Flags. All other bits are reserved and must be 0.
1544 #define EFI_ACPI_6_5_GTDT_GT_BLOCK_COMMON_FLAG_SECURE_TIMER BIT0
1545 #define EFI_ACPI_6_5_GTDT_GT_BLOCK_COMMON_FLAG_ALWAYS_ON_CAPABILITY BIT1
1548 /// Arm Generic Watchdog Structure
1554 UINT64 RefreshFramePhysicalAddress
;
1555 UINT64 WatchdogControlFramePhysicalAddress
;
1556 UINT32 WatchdogTimerGSIV
;
1557 UINT32 WatchdogTimerFlags
;
1558 } EFI_ACPI_6_5_GTDT_ARM_GENERIC_WATCHDOG_STRUCTURE
;
1561 /// Arm Generic Watchdog Timer Flags. All other bits are reserved and must be 0.
1563 #define EFI_ACPI_6_5_GTDT_ARM_GENERIC_WATCHDOG_FLAG_TIMER_INTERRUPT_MODE BIT0
1564 #define EFI_ACPI_6_5_GTDT_ARM_GENERIC_WATCHDOG_FLAG_TIMER_INTERRUPT_POLARITY BIT1
1565 #define EFI_ACPI_6_5_GTDT_ARM_GENERIC_WATCHDOG_FLAG_SECURE_TIMER BIT2
1568 // NVDIMM Firmware Interface Table definition.
1571 EFI_ACPI_DESCRIPTION_HEADER Header
;
1573 } EFI_ACPI_6_5_NVDIMM_FIRMWARE_INTERFACE_TABLE
;
1576 // NFIT Version (as defined in ACPI 6.5 spec.)
1578 #define EFI_ACPI_6_5_NVDIMM_FIRMWARE_INTERFACE_TABLE_REVISION 0x1
1581 // Definition for NFIT Table Structure Types
1583 #define EFI_ACPI_6_5_NFIT_SYSTEM_PHYSICAL_ADDRESS_RANGE_STRUCTURE_TYPE 0
1584 #define EFI_ACPI_6_5_NFIT_NVDIMM_REGION_MAPPING_STRUCTURE_TYPE 1
1585 #define EFI_ACPI_6_5_NFIT_INTERLEAVE_STRUCTURE_TYPE 2
1586 #define EFI_ACPI_6_5_NFIT_SMBIOS_MANAGEMENT_INFORMATION_STRUCTURE_TYPE 3
1587 #define EFI_ACPI_6_5_NFIT_NVDIMM_CONTROL_REGION_STRUCTURE_TYPE 4
1588 #define EFI_ACPI_6_5_NFIT_NVDIMM_BLOCK_DATA_WINDOW_REGION_STRUCTURE_TYPE 5
1589 #define EFI_ACPI_6_5_NFIT_FLUSH_HINT_ADDRESS_STRUCTURE_TYPE 6
1590 #define EFI_ACPI_6_5_NFIT_PLATFORM_CAPABILITIES_STRUCTURE_TYPE 7
1593 // Definition for NFIT Structure Header
1598 } EFI_ACPI_6_5_NFIT_STRUCTURE_HEADER
;
1601 // Definition for System Physical Address Range Structure
1603 #define EFI_ACPI_6_5_NFIT_SYSTEM_PHYSICAL_ADDRESS_RANGE_FLAGS_CONTROL_REGION_FOR_MANAGEMENT BIT0
1604 #define EFI_ACPI_6_5_NFIT_SYSTEM_PHYSICAL_ADDRESS_RANGE_FLAGS_PROXIMITY_DOMAIN_VALID BIT1
1605 #define EFI_ACPI_6_5_NFIT_SYSTEM_PHYSICAL_ADDRESS_RANGE_FLAGS_SPA_LOCATION_COOKIE_VALID BIT2
1607 #define EFI_ACPI_6_5_NFIT_GUID_VOLATILE_MEMORY_REGION { 0x7305944F, 0xFDDA, 0x44E3, { 0xB1, 0x6C, 0x3F, 0x22, 0xD2, 0x52, 0xE5, 0xD0 }}
1608 #define EFI_ACPI_6_5_NFIT_GUID_BYTE_ADDRESSABLE_PERSISTENT_MEMORY_REGION { 0x66F0D379, 0xB4F3, 0x4074, { 0xAC, 0x43, 0x0D, 0x33, 0x18, 0xB7, 0x8C, 0xDB }}
1609 #define EFI_ACPI_6_5_NFIT_GUID_NVDIMM_CONTROL_REGION { 0x92F701F6, 0x13B4, 0x405D, { 0x91, 0x0B, 0x29, 0x93, 0x67, 0xE8, 0x23, 0x4C }}
1610 #define EFI_ACPI_6_5_NFIT_GUID_NVDIMM_BLOCK_DATA_WINDOW_REGION { 0x91AF0530, 0x5D86, 0x470E, { 0xA6, 0xB0, 0x0A, 0x2D, 0xB9, 0x40, 0x82, 0x49 }}
1611 #define EFI_ACPI_6_5_NFIT_GUID_RAM_DISK_SUPPORTING_VIRTUAL_DISK_REGION_VOLATILE { 0x77AB535A, 0x45FC, 0x6.5B, { 0x55, 0x60, 0xF7, 0xB2, 0x81, 0xD1, 0xF9, 0x6E }}
1612 #define EFI_ACPI_6_5_NFIT_GUID_RAM_DISK_SUPPORTING_VIRTUAL_CD_REGION_VOLATILE { 0x3D5ABD30, 0x4175, 0x87CE, { 0x6D, 0x64, 0xD2, 0xAD, 0xE5, 0x23, 0xC4, 0xBB }}
1613 #define EFI_ACPI_6_5_NFIT_GUID_RAM_DISK_SUPPORTING_VIRTUAL_DISK_REGION_PERSISTENT { 0x5CEA02C9, 0x4D07, 0x69D3, { 0x26, 0x9F ,0x44, 0x96, 0xFB, 0xE0, 0x96, 0xF9 }}
1614 #define EFI_ACPI_6_5_NFIT_GUID_RAM_DISK_SUPPORTING_VIRTUAL_CD_REGION_PERSISTENT { 0x08018188, 0x42CD, 0xBB48, { 0x10, 0x0F, 0x53, 0x87, 0xD5, 0x3D, 0xED, 0x3D }}
1619 UINT16 SPARangeStructureIndex
;
1622 UINT32 ProximityDomain
;
1623 GUID AddressRangeTypeGUID
;
1624 UINT64 SystemPhysicalAddressRangeBase
;
1625 UINT64 SystemPhysicalAddressRangeLength
;
1626 UINT64 AddressRangeMemoryMappingAttribute
;
1627 UINT64 SPALocationCookie
;
1628 } EFI_ACPI_6_5_NFIT_SYSTEM_PHYSICAL_ADDRESS_RANGE_STRUCTURE
;
1631 // Definition for Memory Device to System Physical Address Range Mapping Structure
1634 UINT32 DIMMNumber
: 4;
1635 UINT32 MemoryChannelNumber
: 4;
1636 UINT32 MemoryControllerID
: 4;
1637 UINT32 SocketID
: 4;
1638 UINT32 NodeControllerID
: 12;
1639 UINT32 Reserved_28
: 4;
1640 } EFI_ACPI_6_5_NFIT_DEVICE_HANDLE
;
1642 #define EFI_ACPI_6_5_NFIT_MEMORY_DEVICE_STATE_FLAGS_PREVIOUS_SAVE_FAIL BIT0
1643 #define EFI_ACPI_6_5_NFIT_MEMORY_DEVICE_STATE_FLAGS_LAST_RESTORE_FAIL BIT1
1644 #define EFI_ACPI_6_5_NFIT_MEMORY_DEVICE_STATE_FLAGS_PLATFORM_FLUSH_FAIL BIT2
1645 #define EFI_ACPI_6_5_NFIT_MEMORY_DEVICE_STATE_FLAGS_NOT_ARMED_PRIOR_TO_OSPM_HAND_OFF BIT3
1646 #define EFI_ACPI_6_5_NFIT_MEMORY_DEVICE_STATE_FLAGS_SMART_HEALTH_EVENTS_PRIOR_OSPM_HAND_OFF BIT4
1647 #define EFI_ACPI_6_5_NFIT_MEMORY_DEVICE_STATE_FLAGS_FIRMWARE_ENABLED_TO_NOTIFY_OSPM_ON_SMART_HEALTH_EVENTS BIT5
1648 #define EFI_ACPI_6_5_NFIT_MEMORY_DEVICE_STATE_FLAGS_FIRMWARE_NOT_MAP_NVDIMM_TO_SPA BIT6
1653 EFI_ACPI_6_5_NFIT_DEVICE_HANDLE NFITDeviceHandle
;
1654 UINT16 NVDIMMPhysicalID
;
1655 UINT16 NVDIMMRegionID
;
1656 UINT16 SPARangeStructureIndex
;
1657 UINT16 NVDIMMControlRegionStructureIndex
;
1658 UINT64 NVDIMMRegionSize
;
1659 UINT64 RegionOffset
;
1660 UINT64 NVDIMMPhysicalAddressRegionBase
;
1661 UINT16 InterleaveStructureIndex
;
1662 UINT16 InterleaveWays
;
1663 UINT16 NVDIMMStateFlags
;
1665 } EFI_ACPI_6_5_NFIT_NVDIMM_REGION_MAPPING_STRUCTURE
;
1668 // Definition for Interleave Structure
1673 UINT16 InterleaveStructureIndex
;
1675 UINT32 NumberOfLines
;
1677 // UINT32 LineOffset[NumberOfLines];
1678 } EFI_ACPI_6_5_NFIT_INTERLEAVE_STRUCTURE
;
1681 // Definition for SMBIOS Management Information Structure
1688 } EFI_ACPI_6_5_NFIT_SMBIOS_MANAGEMENT_INFORMATION_STRUCTURE
;
1691 // Definition for NVDIMM Control Region Structure
1693 #define EFI_ACPI_6_5_NFIT_NVDIMM_CONTROL_REGION_VALID_FIELDS_MANUFACTURING BIT0
1695 #define EFI_ACPI_6_5_NFIT_NVDIMM_CONTROL_REGION_FLAGS_BLOCK_DATA_WINDOWS_BUFFERED BIT0
1700 UINT16 NVDIMMControlRegionStructureIndex
;
1704 UINT16 SubsystemVendorID
;
1705 UINT16 SubsystemDeviceID
;
1706 UINT16 SubsystemRevisionID
;
1708 UINT8 ManufacturingLocation
;
1709 UINT16 ManufacturingDate
;
1710 UINT8 Reserved_22
[2];
1711 UINT32 SerialNumber
;
1712 UINT16 RegionFormatInterfaceCode
;
1713 UINT16 NumberOfBlockControlWindows
;
1714 UINT64 SizeOfBlockControlWindow
;
1715 UINT64 CommandRegisterOffsetInBlockControlWindow
;
1716 UINT64 SizeOfCommandRegisterInBlockControlWindows
;
1717 UINT64 StatusRegisterOffsetInBlockControlWindow
;
1718 UINT64 SizeOfStatusRegisterInBlockControlWindows
;
1719 UINT16 NVDIMMControlRegionFlag
;
1720 UINT8 Reserved_74
[6];
1721 } EFI_ACPI_6_5_NFIT_NVDIMM_CONTROL_REGION_STRUCTURE
;
1724 // Definition for NVDIMM Block Data Window Region Structure
1729 UINT16 NVDIMMControlRegionStructureIndex
;
1730 UINT16 NumberOfBlockDataWindows
;
1731 UINT64 BlockDataWindowStartOffset
;
1732 UINT64 SizeOfBlockDataWindow
;
1733 UINT64 BlockAccessibleMemoryCapacity
;
1734 UINT64 BeginningAddressOfFirstBlockInBlockAccessibleMemory
;
1735 } EFI_ACPI_6_5_NFIT_NVDIMM_BLOCK_DATA_WINDOW_REGION_STRUCTURE
;
1738 // Definition for Flush Hint Address Structure
1743 EFI_ACPI_6_5_NFIT_DEVICE_HANDLE NFITDeviceHandle
;
1744 UINT16 NumberOfFlushHintAddresses
;
1745 UINT8 Reserved_10
[6];
1746 // UINT64 FlushHintAddress[NumberOfFlushHintAddresses];
1747 } EFI_ACPI_6_5_NFIT_FLUSH_HINT_ADDRESS_STRUCTURE
;
1750 // Definition for Platform Capabilities Structure
1755 UINT8 HighestValidCapability
;
1756 UINT8 Reserved_5
[3];
1757 UINT32 Capabilities
;
1758 UINT8 Reserved_12
[4];
1759 } EFI_ACPI_6_5_NFIT_PLATFORM_CAPABILITIES_STRUCTURE
;
1761 #define EFI_ACPI_6_5_NFIT_PLATFORM_CAPABILITY_CPU_CACHE_FLUSH_TO_NVDIMM_DURABILITY_ON_POWER_LOSS BIT0
1762 #define EFI_ACPI_6_5_NFIT_PLATFORM_CAPABILITY_MEMORY_CONTROLLER_FLUSH_TO_NVDIMM_DURABILITY_ON_POWER_LOSS BIT1
1763 #define EFI_ACPI_6_5_NFIT_PLATFORM_CAPABILITY_BYTE_ADDRESSABLE_PERSISTENT_MEMORY_HARDWARE_MIRRORING BIT2
1766 /// Secure DEVices Table (SDEV)
1769 EFI_ACPI_DESCRIPTION_HEADER Header
;
1770 } EFI_ACPI_6_5_SECURE_DEVICES_TABLE_HEADER
;
1773 /// SDEV Revision (as defined in ACPI 6.5 spec.)
1775 #define EFI_ACPI_6_5_SECURE_DEVICES_TABLE_REVISION 0x01
1778 /// Secure Device types
1780 #define EFI_ACPI_6_5_SDEV_TYPE_ACPI_NAMESPACE_DEVICE 0x00
1781 #define EFI_ACPI_6_5_SDEV_TYPE_PCIE_ENDPOINT_DEVICE 0x01
1784 /// Secure Device flags
1786 #define EFI_ACPI_6_5_SDEV_FLAG_ALLOW_HANDOFF BIT0
1787 #define EFI_ACPI_6_5_SDEV_FLAG_SECURE_ACCESS_COMPONENTS_PRESENT BIT1
1790 /// SDEV Structure Header
1796 } EFI_ACPI_6_5_SDEV_STRUCTURE_HEADER
;
1799 /// ACPI_NAMESPACE_DEVICE based Secure Device Structure
1802 EFI_ACPI_6_5_SDEV_STRUCTURE_HEADER Header
;
1803 UINT16 DeviceIdentifierOffset
;
1804 UINT16 DeviceIdentifierLength
;
1805 UINT16 VendorSpecificDataOffset
;
1806 UINT16 VendorSpecificDataLength
;
1807 UINT16 SecureAccessComponentsOffset
;
1808 UINT16 SecureAccessComponentsLength
;
1809 } EFI_ACPI_6_5_SDEV_STRUCTURE_ACPI_NAMESPACE_DEVICE
;
1812 /// Secure Access Component Types
1814 #define EFI_ACPI_6_5_SDEV_SECURE_ACCESS_COMPONENT_TYPE_IDENTIFICATION 0x00
1815 #define EFI_ACPI_6_5_SDEV_SECURE_ACCESS_COMPONENT_TYPE_MEMORY 0x01
1818 /// Identification Based Secure Access Component
1821 EFI_ACPI_6_5_SDEV_STRUCTURE_HEADER Header
;
1822 UINT16 HardwareIdentifierOffset
;
1823 UINT16 HardwareIdentifierLength
;
1824 UINT16 SubsystemIdentifierOffset
;
1825 UINT16 SubsystemIdentifierLength
;
1826 UINT16 HardwareRevision
;
1827 UINT8 HardwareRevisionPresent
;
1828 UINT8 ClassCodePresent
;
1829 UINT8 PciCompatibleBaseClass
;
1830 UINT8 PciCompatibleSubClass
;
1831 UINT8 PciCompatibleProgrammingInterface
;
1832 } EFI_ACPI_6_5_SDEV_SECURE_ACCESS_COMPONENT_IDENTIFICATION_STRUCTURE
;
1835 /// Memory-based Secure Access Component
1838 EFI_ACPI_6_5_SDEV_STRUCTURE_HEADER Header
;
1840 UINT64 MemoryAddressBase
;
1841 UINT64 MemoryLength
;
1842 } EFI_ACPI_6_5_SDEV_SECURE_ACCESS_COMPONENT_MEMORY_STRUCTURE
;
1845 /// PCIe Endpoint Device based Secure Device Structure
1848 EFI_ACPI_6_5_SDEV_STRUCTURE_HEADER Header
;
1849 UINT16 PciSegmentNumber
;
1850 UINT16 StartBusNumber
;
1851 UINT16 PciPathOffset
;
1852 UINT16 PciPathLength
;
1853 UINT16 VendorSpecificDataOffset
;
1854 UINT16 VendorSpecificDataLength
;
1855 } EFI_ACPI_6_5_SDEV_STRUCTURE_PCIE_ENDPOINT_DEVICE
;
1858 /// Boot Error Record Table (BERT)
1861 EFI_ACPI_DESCRIPTION_HEADER Header
;
1862 UINT32 BootErrorRegionLength
;
1863 UINT64 BootErrorRegion
;
1864 } EFI_ACPI_6_5_BOOT_ERROR_RECORD_TABLE_HEADER
;
1867 /// BERT Version (as defined in ACPI 6.5 spec.)
1869 #define EFI_ACPI_6_5_BOOT_ERROR_RECORD_TABLE_REVISION 0x01
1872 /// Boot Error Region Block Status Definition
1875 UINT32 UncorrectableErrorValid
: 1;
1876 UINT32 CorrectableErrorValid
: 1;
1877 UINT32 MultipleUncorrectableErrors
: 1;
1878 UINT32 MultipleCorrectableErrors
: 1;
1879 UINT32 ErrorDataEntryCount
: 10;
1880 UINT32 Reserved
: 18;
1881 } EFI_ACPI_6_5_ERROR_BLOCK_STATUS
;
1884 /// Boot Error Region Definition
1887 EFI_ACPI_6_5_ERROR_BLOCK_STATUS BlockStatus
;
1888 UINT32 RawDataOffset
;
1889 UINT32 RawDataLength
;
1891 UINT32 ErrorSeverity
;
1892 } EFI_ACPI_6_5_BOOT_ERROR_REGION_STRUCTURE
;
1895 // Boot Error Severity types
1897 #define EFI_ACPI_6_5_ERROR_SEVERITY_RECOVERABLE 0x00
1898 #define EFI_ACPI_6_5_ERROR_SEVERITY_FATAL 0x01
1899 #define EFI_ACPI_6_5_ERROR_SEVERITY_CORRECTED 0x02
1900 #define EFI_ACPI_6_5_ERROR_SEVERITY_NONE 0x03
1902 // The term 'Correctable' is no longer being used as an error severity of the
1903 // reported error since ACPI Specification Version 5.1 Errata B.
1904 // The below macro is considered as deprecated and should no longer be used.
1906 #define EFI_ACPI_6_5_ERROR_SEVERITY_CORRECTABLE 0x00
1909 /// Generic Error Data Entry Definition
1912 UINT8 SectionType
[16];
1913 UINT32 ErrorSeverity
;
1915 UINT8 ValidationBits
;
1917 UINT32 ErrorDataLength
;
1921 } EFI_ACPI_6_5_GENERIC_ERROR_DATA_ENTRY_STRUCTURE
;
1924 /// Generic Error Data Entry Version (as defined in ACPI 6.5 spec.)
1926 #define EFI_ACPI_6_5_GENERIC_ERROR_DATA_ENTRY_REVISION 0x0300
1929 /// HEST - Hardware Error Source Table
1932 EFI_ACPI_DESCRIPTION_HEADER Header
;
1933 UINT32 ErrorSourceCount
;
1934 } EFI_ACPI_6_5_HARDWARE_ERROR_SOURCE_TABLE_HEADER
;
1937 /// HEST Version (as defined in ACPI 6.5 spec.)
1939 #define EFI_ACPI_6_5_HARDWARE_ERROR_SOURCE_TABLE_REVISION 0x01
1942 // Error Source structure types.
1944 #define EFI_ACPI_6_5_IA32_ARCHITECTURE_MACHINE_CHECK_EXCEPTION 0x00
1945 #define EFI_ACPI_6_5_IA32_ARCHITECTURE_CORRECTED_MACHINE_CHECK 0x01
1946 #define EFI_ACPI_6_5_IA32_ARCHITECTURE_NMI_ERROR 0x02
1947 #define EFI_ACPI_6_5_PCI_EXPRESS_ROOT_PORT_AER 0x06
1948 #define EFI_ACPI_6_5_PCI_EXPRESS_DEVICE_AER 0x07
1949 #define EFI_ACPI_6_5_PCI_EXPRESS_BRIDGE_AER 0x08
1950 #define EFI_ACPI_6_5_GENERIC_HARDWARE_ERROR 0x09
1951 #define EFI_ACPI_6_5_GENERIC_HARDWARE_ERROR_VERSION_2 0x0A
1952 #define EFI_ACPI_6_5_IA32_ARCHITECTURE_DEFERRED_MACHINE_CHECK 0x0B
1955 // Error Source structure flags.
1957 #define EFI_ACPI_6_5_ERROR_SOURCE_FLAG_FIRMWARE_FIRST (1 << 0)
1958 #define EFI_ACPI_6_5_ERROR_SOURCE_FLAG_GLOBAL (1 << 1)
1959 #define EFI_ACPI_6_5_ERROR_SOURCE_FLAG_GHES_ASSIST (1 << 2)
1962 /// IA-32 Architecture Machine Check Exception Structure Definition
1970 UINT32 NumberOfRecordsToPreAllocate
;
1971 UINT32 MaxSectionsPerRecord
;
1972 UINT64 GlobalCapabilityInitData
;
1973 UINT64 GlobalControlInitData
;
1974 UINT8 NumberOfHardwareBanks
;
1976 } EFI_ACPI_6_5_IA32_ARCHITECTURE_MACHINE_CHECK_EXCEPTION_STRUCTURE
;
1979 /// IA-32 Architecture Machine Check Bank Structure Definition
1983 UINT8 ClearStatusOnInitialization
;
1984 UINT8 StatusDataFormat
;
1986 UINT32 ControlRegisterMsrAddress
;
1987 UINT64 ControlInitData
;
1988 UINT32 StatusRegisterMsrAddress
;
1989 UINT32 AddressRegisterMsrAddress
;
1990 UINT32 MiscRegisterMsrAddress
;
1991 } EFI_ACPI_6_5_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_BANK_STRUCTURE
;
1994 /// IA-32 Architecture Machine Check Bank Structure MCA data format
1996 #define EFI_ACPI_6_5_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_DATA_FORMAT_IA32 0x00
1997 #define EFI_ACPI_6_5_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_DATA_FORMAT_INTEL64 0x01
1998 #define EFI_ACPI_6_5_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_DATA_FORMAT_AMD64 0x02
2001 // Hardware Error Notification types. All other values are reserved
2003 #define EFI_ACPI_6_5_HARDWARE_ERROR_NOTIFICATION_POLLED 0x00
2004 #define EFI_ACPI_6_5_HARDWARE_ERROR_NOTIFICATION_EXTERNAL_INTERRUPT 0x01
2005 #define EFI_ACPI_6_5_HARDWARE_ERROR_NOTIFICATION_LOCAL_INTERRUPT 0x02
2006 #define EFI_ACPI_6_5_HARDWARE_ERROR_NOTIFICATION_SCI 0x03
2007 #define EFI_ACPI_6_5_HARDWARE_ERROR_NOTIFICATION_NMI 0x04
2008 #define EFI_ACPI_6_5_HARDWARE_ERROR_NOTIFICATION_CMCI 0x05
2009 #define EFI_ACPI_6_5_HARDWARE_ERROR_NOTIFICATION_MCE 0x06
2010 #define EFI_ACPI_6_5_HARDWARE_ERROR_NOTIFICATION_GPIO_SIGNAL 0x07
2011 #define EFI_ACPI_6_5_HARDWARE_ERROR_NOTIFICATION_ARMV8_SEA 0x08
2012 #define EFI_ACPI_6_5_HARDWARE_ERROR_NOTIFICATION_ARMV8_SEI 0x09
2013 #define EFI_ACPI_6_5_HARDWARE_ERROR_NOTIFICATION_GSIV 0x0A
2014 #define EFI_ACPI_6_5_HARDWARE_ERROR_NOTIFICATION_SOFTWARE_DELEGATED_EXCEPTION 0x0B
2017 /// Hardware Error Notification Configuration Write Enable Structure Definition
2021 UINT16 PollInterval
: 1;
2022 UINT16 SwitchToPollingThresholdValue
: 1;
2023 UINT16 SwitchToPollingThresholdWindow
: 1;
2024 UINT16 ErrorThresholdValue
: 1;
2025 UINT16 ErrorThresholdWindow
: 1;
2026 UINT16 Reserved
: 10;
2027 } EFI_ACPI_6_5_HARDWARE_ERROR_NOTIFICATION_CONFIGURATION_WRITE_ENABLE_STRUCTURE
;
2030 /// Hardware Error Notification Structure Definition
2035 EFI_ACPI_6_5_HARDWARE_ERROR_NOTIFICATION_CONFIGURATION_WRITE_ENABLE_STRUCTURE ConfigurationWriteEnable
;
2036 UINT32 PollInterval
;
2038 UINT32 SwitchToPollingThresholdValue
;
2039 UINT32 SwitchToPollingThresholdWindow
;
2040 UINT32 ErrorThresholdValue
;
2041 UINT32 ErrorThresholdWindow
;
2042 } EFI_ACPI_6_5_HARDWARE_ERROR_NOTIFICATION_STRUCTURE
;
2045 /// IA-32 Architecture Corrected Machine Check Structure Definition
2053 UINT32 NumberOfRecordsToPreAllocate
;
2054 UINT32 MaxSectionsPerRecord
;
2055 EFI_ACPI_6_5_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStructure
;
2056 UINT8 NumberOfHardwareBanks
;
2058 } EFI_ACPI_6_5_IA32_ARCHITECTURE_CORRECTED_MACHINE_CHECK_STRUCTURE
;
2061 /// IA-32 Architecture NMI Error Structure Definition
2067 UINT32 NumberOfRecordsToPreAllocate
;
2068 UINT32 MaxSectionsPerRecord
;
2069 UINT32 MaxRawDataLength
;
2070 } EFI_ACPI_6_5_IA32_ARCHITECTURE_NMI_ERROR_STRUCTURE
;
2073 /// PCI Express Root Port AER Structure Definition
2081 UINT32 NumberOfRecordsToPreAllocate
;
2082 UINT32 MaxSectionsPerRecord
;
2086 UINT16 DeviceControl
;
2088 UINT32 UncorrectableErrorMask
;
2089 UINT32 UncorrectableErrorSeverity
;
2090 UINT32 CorrectableErrorMask
;
2091 UINT32 AdvancedErrorCapabilitiesAndControl
;
2092 UINT32 RootErrorCommand
;
2093 } EFI_ACPI_6_5_PCI_EXPRESS_ROOT_PORT_AER_STRUCTURE
;
2096 /// PCI Express Device AER Structure Definition
2104 UINT32 NumberOfRecordsToPreAllocate
;
2105 UINT32 MaxSectionsPerRecord
;
2109 UINT16 DeviceControl
;
2111 UINT32 UncorrectableErrorMask
;
2112 UINT32 UncorrectableErrorSeverity
;
2113 UINT32 CorrectableErrorMask
;
2114 UINT32 AdvancedErrorCapabilitiesAndControl
;
2115 } EFI_ACPI_6_5_PCI_EXPRESS_DEVICE_AER_STRUCTURE
;
2118 /// PCI Express Bridge AER Structure Definition
2126 UINT32 NumberOfRecordsToPreAllocate
;
2127 UINT32 MaxSectionsPerRecord
;
2131 UINT16 DeviceControl
;
2133 UINT32 UncorrectableErrorMask
;
2134 UINT32 UncorrectableErrorSeverity
;
2135 UINT32 CorrectableErrorMask
;
2136 UINT32 AdvancedErrorCapabilitiesAndControl
;
2137 UINT32 SecondaryUncorrectableErrorMask
;
2138 UINT32 SecondaryUncorrectableErrorSeverity
;
2139 UINT32 SecondaryAdvancedErrorCapabilitiesAndControl
;
2140 } EFI_ACPI_6_5_PCI_EXPRESS_BRIDGE_AER_STRUCTURE
;
2143 /// Generic Hardware Error Source Structure Definition
2148 UINT16 RelatedSourceId
;
2151 UINT32 NumberOfRecordsToPreAllocate
;
2152 UINT32 MaxSectionsPerRecord
;
2153 UINT32 MaxRawDataLength
;
2154 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE ErrorStatusAddress
;
2155 EFI_ACPI_6_5_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStructure
;
2156 UINT32 ErrorStatusBlockLength
;
2157 } EFI_ACPI_6_5_GENERIC_HARDWARE_ERROR_SOURCE_STRUCTURE
;
2160 /// Generic Hardware Error Source Version 2 Structure Definition
2165 UINT16 RelatedSourceId
;
2168 UINT32 NumberOfRecordsToPreAllocate
;
2169 UINT32 MaxSectionsPerRecord
;
2170 UINT32 MaxRawDataLength
;
2171 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE ErrorStatusAddress
;
2172 EFI_ACPI_6_5_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStructure
;
2173 UINT32 ErrorStatusBlockLength
;
2174 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE ReadAckRegister
;
2175 UINT64 ReadAckPreserve
;
2176 UINT64 ReadAckWrite
;
2177 } EFI_ACPI_6_5_GENERIC_HARDWARE_ERROR_SOURCE_VERSION_2_STRUCTURE
;
2180 /// Generic Error Status Definition
2183 EFI_ACPI_6_5_ERROR_BLOCK_STATUS BlockStatus
;
2184 UINT32 RawDataOffset
;
2185 UINT32 RawDataLength
;
2187 UINT32 ErrorSeverity
;
2188 } EFI_ACPI_6_5_GENERIC_ERROR_STATUS_STRUCTURE
;
2191 /// IA-32 Architecture Deferred Machine Check Structure Definition
2199 UINT32 NumberOfRecordsToPreAllocate
;
2200 UINT32 MaxSectionsPerRecord
;
2201 EFI_ACPI_6_5_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStructure
;
2202 UINT8 NumberOfHardwareBanks
;
2204 } EFI_ACPI_6_5_IA32_ARCHITECTURE_DEFERRED_MACHINE_CHECK_STRUCTURE
;
2207 /// HMAT - Heterogeneous Memory Attribute Table
2210 EFI_ACPI_DESCRIPTION_HEADER Header
;
2212 } EFI_ACPI_6_5_HETEROGENEOUS_MEMORY_ATTRIBUTE_TABLE_HEADER
;
2215 /// HMAT Revision (as defined in ACPI 6.5 spec.)
2217 #define EFI_ACPI_6_5_HETEROGENEOUS_MEMORY_ATTRIBUTE_TABLE_REVISION 0x02
2222 #define EFI_ACPI_6_5_HMAT_TYPE_MEMORY_PROXIMITY_DOMAIN_ATTRIBUTES 0x00
2223 #define EFI_ACPI_6_5_HMAT_TYPE_SYSTEM_LOCALITY_LATENCY_AND_BANDWIDTH_INFO 0x01
2224 #define EFI_ACPI_6_5_HMAT_TYPE_MEMORY_SIDE_CACHE_INFO 0x02
2227 /// HMAT Structure Header
2233 } EFI_ACPI_6_5_HMAT_STRUCTURE_HEADER
;
2236 /// Memory Proximity Domain Attributes Structure flags
2239 UINT16 InitiatorProximityDomainValid
: 1;
2240 UINT16 Reserved
: 15;
2241 } EFI_ACPI_6_5_HMAT_STRUCTURE_MEMORY_PROXIMITY_DOMAIN_ATTRIBUTES_FLAGS
;
2244 /// Memory Proximity Domain Attributes Structure
2250 EFI_ACPI_6_5_HMAT_STRUCTURE_MEMORY_PROXIMITY_DOMAIN_ATTRIBUTES_FLAGS Flags
;
2252 UINT32 InitiatorProximityDomain
;
2253 UINT32 MemoryProximityDomain
;
2254 UINT8 Reserved2
[20];
2255 } EFI_ACPI_6_5_HMAT_STRUCTURE_MEMORY_PROXIMITY_DOMAIN_ATTRIBUTES
;
2258 /// System Locality Latency and Bandwidth Information Structure flags
2261 UINT8 MemoryHierarchy
: 4;
2262 UINT8 AccessAttributes
: 2;
2264 } EFI_ACPI_6_5_HMAT_STRUCTURE_SYSTEM_LOCALITY_LATENCY_AND_BANDWIDTH_INFO_FLAGS
;
2267 /// System Locality Latency and Bandwidth Information Structure
2273 EFI_ACPI_6_5_HMAT_STRUCTURE_SYSTEM_LOCALITY_LATENCY_AND_BANDWIDTH_INFO_FLAGS Flags
;
2275 UINT8 MinTransferSize
;
2277 UINT32 NumberOfInitiatorProximityDomains
;
2278 UINT32 NumberOfTargetProximityDomains
;
2280 UINT64 EntryBaseUnit
;
2281 } EFI_ACPI_6_5_HMAT_STRUCTURE_SYSTEM_LOCALITY_LATENCY_AND_BANDWIDTH_INFO
;
2284 /// Memory Side Cache Information Structure cache attributes
2287 UINT32 TotalCacheLevels
: 4;
2288 UINT32 CacheLevel
: 4;
2289 UINT32 CacheAssociativity
: 4;
2290 UINT32 WritePolicy
: 4;
2291 UINT32 CacheLineSize
: 16;
2292 } EFI_ACPI_6_5_HMAT_STRUCTURE_MEMORY_SIDE_CACHE_INFO_CACHE_ATTRIBUTES
;
2295 /// Memory Side Cache Information Structure
2301 UINT32 MemoryProximityDomain
;
2303 UINT64 MemorySideCacheSize
;
2304 EFI_ACPI_6_5_HMAT_STRUCTURE_MEMORY_SIDE_CACHE_INFO_CACHE_ATTRIBUTES CacheAttributes
;
2306 UINT16 NumberOfSmbiosHandles
;
2307 } EFI_ACPI_6_5_HMAT_STRUCTURE_MEMORY_SIDE_CACHE_INFO
;
2310 /// ERST - Error Record Serialization Table
2313 EFI_ACPI_DESCRIPTION_HEADER Header
;
2314 UINT32 SerializationHeaderSize
;
2316 UINT32 InstructionEntryCount
;
2317 } EFI_ACPI_6_5_ERROR_RECORD_SERIALIZATION_TABLE_HEADER
;
2320 /// ERST Version (as defined in ACPI 6.5 spec.)
2322 #define EFI_ACPI_6_5_ERROR_RECORD_SERIALIZATION_TABLE_REVISION 0x01
2325 /// ERST Serialization Actions
2327 #define EFI_ACPI_6_5_ERST_BEGIN_WRITE_OPERATION 0x00
2328 #define EFI_ACPI_6_5_ERST_BEGIN_READ_OPERATION 0x01
2329 #define EFI_ACPI_6_5_ERST_BEGIN_CLEAR_OPERATION 0x02
2330 #define EFI_ACPI_6_5_ERST_END_OPERATION 0x03
2331 #define EFI_ACPI_6_5_ERST_SET_RECORD_OFFSET 0x04
2332 #define EFI_ACPI_6_5_ERST_EXECUTE_OPERATION 0x05
2333 #define EFI_ACPI_6_5_ERST_CHECK_BUSY_STATUS 0x06
2334 #define EFI_ACPI_6_5_ERST_GET_COMMAND_STATUS 0x07
2335 #define EFI_ACPI_6_5_ERST_GET_RECORD_IDENTIFIER 0x08
2336 #define EFI_ACPI_6_5_ERST_SET_RECORD_IDENTIFIER 0x09
2337 #define EFI_ACPI_6_5_ERST_GET_RECORD_COUNT 0x0A
2338 #define EFI_ACPI_6_5_ERST_BEGIN_DUMMY_WRITE_OPERATION 0x0B
2339 #define EFI_ACPI_6_5_ERST_GET_ERROR_LOG_ADDRESS_RANGE 0x0D
2340 #define EFI_ACPI_6_5_ERST_GET_ERROR_LOG_ADDRESS_RANGE_LENGTH 0x0E
2341 #define EFI_ACPI_6_5_ERST_GET_ERROR_LOG_ADDRESS_RANGE_ATTRIBUTES 0x0F
2342 #define EFI_ACPI_6_5_ERST_GET_EXECUTE_OPERATION_TIMINGS 0x10
2345 /// ERST Action Command Status
2347 #define EFI_ACPI_6_5_ERST_STATUS_SUCCESS 0x00
2348 #define EFI_ACPI_6_5_ERST_STATUS_NOT_ENOUGH_SPACE 0x01
2349 #define EFI_ACPI_6_5_ERST_STATUS_HARDWARE_NOT_AVAILABLE 0x02
2350 #define EFI_ACPI_6_5_ERST_STATUS_FAILED 0x03
2351 #define EFI_ACPI_6_5_ERST_STATUS_RECORD_STORE_EMPTY 0x04
2352 #define EFI_ACPI_6_5_ERST_STATUS_RECORD_NOT_FOUND 0x05
2355 /// ERST Serialization Instructions
2357 #define EFI_ACPI_6_5_ERST_READ_REGISTER 0x00
2358 #define EFI_ACPI_6_5_ERST_READ_REGISTER_VALUE 0x01
2359 #define EFI_ACPI_6_5_ERST_WRITE_REGISTER 0x02
2360 #define EFI_ACPI_6_5_ERST_WRITE_REGISTER_VALUE 0x03
2361 #define EFI_ACPI_6_5_ERST_NOOP 0x04
2362 #define EFI_ACPI_6_5_ERST_LOAD_VAR1 0x05
2363 #define EFI_ACPI_6_5_ERST_LOAD_VAR2 0x06
2364 #define EFI_ACPI_6_5_ERST_STORE_VAR1 0x07
2365 #define EFI_ACPI_6_5_ERST_ADD 0x08
2366 #define EFI_ACPI_6_5_ERST_SUBTRACT 0x09
2367 #define EFI_ACPI_6_5_ERST_ADD_VALUE 0x0A
2368 #define EFI_ACPI_6_5_ERST_SUBTRACT_VALUE 0x0B
2369 #define EFI_ACPI_6_5_ERST_STALL 0x0C
2370 #define EFI_ACPI_6_5_ERST_STALL_WHILE_TRUE 0x0D
2371 #define EFI_ACPI_6_5_ERST_SKIP_NEXT_INSTRUCTION_IF_TRUE 0x0E
2372 #define EFI_ACPI_6_5_ERST_GOTO 0x0F
2373 #define EFI_ACPI_6_5_ERST_SET_SRC_ADDRESS_BASE 0x10
2374 #define EFI_ACPI_6_5_ERST_SET_DST_ADDRESS_BASE 0x11
2375 #define EFI_ACPI_6_5_ERST_MOVE_DATA 0x12
2378 /// ERST Instruction Flags
2380 #define EFI_ACPI_6_5_ERST_PRESERVE_REGISTER 0x01
2383 /// ERST Serialization Instruction Entry
2386 UINT8 SerializationAction
;
2390 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE RegisterRegion
;
2393 } EFI_ACPI_6_5_ERST_SERIALIZATION_INSTRUCTION_ENTRY
;
2396 /// EINJ - Error Injection Table
2399 EFI_ACPI_DESCRIPTION_HEADER Header
;
2400 UINT32 InjectionHeaderSize
;
2401 UINT8 InjectionFlags
;
2403 UINT32 InjectionEntryCount
;
2404 } EFI_ACPI_6_5_ERROR_INJECTION_TABLE_HEADER
;
2407 /// EINJ Version (as defined in ACPI 6.5 spec.)
2409 #define EFI_ACPI_6_5_ERROR_INJECTION_TABLE_REVISION 0x01
2412 /// EINJ Error Injection Actions
2414 #define EFI_ACPI_6_5_EINJ_BEGIN_INJECTION_OPERATION 0x00
2415 #define EFI_ACPI_6_5_EINJ_GET_TRIGGER_ERROR_ACTION_TABLE 0x01
2416 #define EFI_ACPI_6_5_EINJ_SET_ERROR_TYPE 0x02
2417 #define EFI_ACPI_6_5_EINJ_GET_ERROR_TYPE 0x03
2418 #define EFI_ACPI_6_5_EINJ_END_OPERATION 0x04
2419 #define EFI_ACPI_6_5_EINJ_EXECUTE_OPERATION 0x05
2420 #define EFI_ACPI_6_5_EINJ_CHECK_BUSY_STATUS 0x06
2421 #define EFI_ACPI_6_5_EINJ_GET_COMMAND_STATUS 0x07
2422 #define EFI_ACPI_6_5_EINJ_TRIGGER_ERROR 0xFF
2425 /// EINJ Action Command Status
2427 #define EFI_ACPI_6_5_EINJ_STATUS_SUCCESS 0x00
2428 #define EFI_ACPI_6_5_EINJ_STATUS_UNKNOWN_FAILURE 0x01
2429 #define EFI_ACPI_6_5_EINJ_STATUS_INVALID_ACCESS 0x02
2432 /// EINJ Error Type Definition
2434 #define EFI_ACPI_6_5_EINJ_ERROR_PROCESSOR_CORRECTABLE (1 << 0)
2435 #define EFI_ACPI_6_5_EINJ_ERROR_PROCESSOR_UNCORRECTABLE_NONFATAL (1 << 1)
2436 #define EFI_ACPI_6_5_EINJ_ERROR_PROCESSOR_UNCORRECTABLE_FATAL (1 << 2)
2437 #define EFI_ACPI_6_5_EINJ_ERROR_MEMORY_CORRECTABLE (1 << 3)
2438 #define EFI_ACPI_6_5_EINJ_ERROR_MEMORY_UNCORRECTABLE_NONFATAL (1 << 4)
2439 #define EFI_ACPI_6_5_EINJ_ERROR_MEMORY_UNCORRECTABLE_FATAL (1 << 5)
2440 #define EFI_ACPI_6_5_EINJ_ERROR_PCI_EXPRESS_CORRECTABLE (1 << 6)
2441 #define EFI_ACPI_6_5_EINJ_ERROR_PCI_EXPRESS_UNCORRECTABLE_NONFATAL (1 << 7)
2442 #define EFI_ACPI_6_5_EINJ_ERROR_PCI_EXPRESS_UNCORRECTABLE_FATAL (1 << 8)
2443 #define EFI_ACPI_6_5_EINJ_ERROR_PLATFORM_CORRECTABLE (1 << 9)
2444 #define EFI_ACPI_6_5_EINJ_ERROR_PLATFORM_UNCORRECTABLE_NONFATAL (1 << 10)
2445 #define EFI_ACPI_6_5_EINJ_ERROR_PLATFORM_UNCORRECTABLE_FATAL (1 << 11)
2448 /// EINJ Injection Instructions
2450 #define EFI_ACPI_6_5_EINJ_READ_REGISTER 0x00
2451 #define EFI_ACPI_6_5_EINJ_READ_REGISTER_VALUE 0x01
2452 #define EFI_ACPI_6_5_EINJ_WRITE_REGISTER 0x02
2453 #define EFI_ACPI_6_5_EINJ_WRITE_REGISTER_VALUE 0x03
2454 #define EFI_ACPI_6_5_EINJ_NOOP 0x04
2457 /// EINJ Instruction Flags
2459 #define EFI_ACPI_6_5_EINJ_PRESERVE_REGISTER 0x01
2462 /// EINJ Injection Instruction Entry
2465 UINT8 InjectionAction
;
2469 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE RegisterRegion
;
2472 } EFI_ACPI_6_5_EINJ_INJECTION_INSTRUCTION_ENTRY
;
2475 /// EINJ Trigger Action Table
2482 } EFI_ACPI_6_5_EINJ_TRIGGER_ACTION_TABLE
;
2485 /// Platform Communications Channel Table (PCCT)
2488 EFI_ACPI_DESCRIPTION_HEADER Header
;
2491 } EFI_ACPI_6_5_PLATFORM_COMMUNICATION_CHANNEL_TABLE_HEADER
;
2494 /// PCCT Version (as defined in ACPI 6.5 spec.)
2496 #define EFI_ACPI_6_5_PLATFORM_COMMUNICATION_CHANNEL_TABLE_REVISION 0x02
2499 /// PCCT Global Flags
2501 #define EFI_ACPI_6_5_PCCT_FLAGS_PLATFORM_INTERRUPT BIT0
2504 // PCCT Subspace type
2506 #define EFI_ACPI_6_5_PCCT_SUBSPACE_TYPE_GENERIC 0x00
2507 #define EFI_ACPI_6_5_PCCT_SUBSPACE_TYPE_1_HW_REDUCED_COMMUNICATIONS 0x01
2508 #define EFI_ACPI_6_5_PCCT_SUBSPACE_TYPE_2_HW_REDUCED_COMMUNICATIONS 0x02
2509 #define EFI_ACPI_6_5_PCCT_SUBSPACE_TYPE_3_EXTENDED_PCC 0x03
2510 #define EFI_ACPI_6_5_PCCT_SUBSPACE_TYPE_4_EXTENDED_PCC 0x04
2511 #define EFI_ACPI_6_5_PCCT_SUBSPACE_TYPE_5_HW_REGISTERS_COMMUNICATIONS 0x05
2514 /// PCC Subspace Structure Header
2519 } EFI_ACPI_6_5_PCCT_SUBSPACE_HEADER
;
2522 /// Generic Communications Subspace Structure
2529 UINT64 AddressLength
;
2530 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE DoorbellRegister
;
2531 UINT64 DoorbellPreserve
;
2532 UINT64 DoorbellWrite
;
2533 UINT32 NominalLatency
;
2534 UINT32 MaximumPeriodicAccessRate
;
2535 UINT16 MinimumRequestTurnaroundTime
;
2536 } EFI_ACPI_6_5_PCCT_SUBSPACE_GENERIC
;
2539 /// Generic Communications Channel Shared Memory Region
2545 UINT8 NotifyOnCompletion
: 1;
2546 } EFI_ACPI_6_5_PCCT_GENERIC_SHARED_MEMORY_REGION_COMMAND
;
2549 UINT8 CommandComplete
: 1;
2550 UINT8 PlatformInterrupt
: 1;
2552 UINT8 PlatformNotification
: 1;
2555 } EFI_ACPI_6_5_PCCT_GENERIC_SHARED_MEMORY_REGION_STATUS
;
2559 EFI_ACPI_6_5_PCCT_GENERIC_SHARED_MEMORY_REGION_COMMAND Command
;
2560 EFI_ACPI_6_5_PCCT_GENERIC_SHARED_MEMORY_REGION_STATUS Status
;
2561 } EFI_ACPI_6_5_PCCT_GENERIC_SHARED_MEMORY_REGION_HEADER
;
2563 #define EFI_ACPI_6_5_PCCT_SUBSPACE_PLATFORM_INTERRUPT_FLAGS_POLARITY BIT0
2564 #define EFI_ACPI_6_5_PCCT_SUBSPACE_PLATFORM_INTERRUPT_FLAGS_MODE BIT1
2567 /// Type 1 HW-Reduced Communications Subspace Structure
2572 UINT32 PlatformInterrupt
;
2573 UINT8 PlatformInterruptFlags
;
2576 UINT64 AddressLength
;
2577 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE DoorbellRegister
;
2578 UINT64 DoorbellPreserve
;
2579 UINT64 DoorbellWrite
;
2580 UINT32 NominalLatency
;
2581 UINT32 MaximumPeriodicAccessRate
;
2582 UINT16 MinimumRequestTurnaroundTime
;
2583 } EFI_ACPI_6_5_PCCT_SUBSPACE_1_HW_REDUCED_COMMUNICATIONS
;
2586 /// Type 2 HW-Reduced Communications Subspace Structure
2591 UINT32 PlatformInterrupt
;
2592 UINT8 PlatformInterruptFlags
;
2595 UINT64 AddressLength
;
2596 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE DoorbellRegister
;
2597 UINT64 DoorbellPreserve
;
2598 UINT64 DoorbellWrite
;
2599 UINT32 NominalLatency
;
2600 UINT32 MaximumPeriodicAccessRate
;
2601 UINT16 MinimumRequestTurnaroundTime
;
2602 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE PlatformInterruptAckRegister
;
2603 UINT64 PlatformInterruptAckPreserve
;
2604 UINT64 PlatformInterruptAckWrite
;
2605 } EFI_ACPI_6_5_PCCT_SUBSPACE_2_HW_REDUCED_COMMUNICATIONS
;
2608 /// Type 3 Extended PCC Subspace Structure
2613 UINT32 PlatformInterrupt
;
2614 UINT8 PlatformInterruptFlags
;
2617 UINT32 AddressLength
;
2618 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE DoorbellRegister
;
2619 UINT64 DoorbellPreserve
;
2620 UINT64 DoorbellWrite
;
2621 UINT32 NominalLatency
;
2622 UINT32 MaximumPeriodicAccessRate
;
2623 UINT32 MinimumRequestTurnaroundTime
;
2624 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE PlatformInterruptAckRegister
;
2625 UINT64 PlatformInterruptAckPreserve
;
2626 UINT64 PlatformInterruptAckSet
;
2628 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE CommandCompleteCheckRegister
;
2629 UINT64 CommandCompleteCheckMask
;
2630 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE CommandCompleteUpdateRegister
;
2631 UINT64 CommandCompleteUpdatePreserve
;
2632 UINT64 CommandCompleteUpdateSet
;
2633 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE ErrorStatusRegister
;
2634 UINT64 ErrorStatusMask
;
2635 } EFI_ACPI_6_5_PCCT_SUBSPACE_3_EXTENDED_PCC
;
2638 /// Type 4 Extended PCC Subspace Structure
2640 typedef EFI_ACPI_6_5_PCCT_SUBSPACE_3_EXTENDED_PCC EFI_ACPI_6_5_PCCT_SUBSPACE_4_EXTENDED_PCC
;
2642 #define EFI_ACPI_6_5_PCCT_MASTER_SLAVE_COMMUNICATIONS_CHANNEL_FLAGS_NOTIFY_ON_COMPLETION BIT0
2649 } EFI_ACPI_6_5_PCCT_EXTENDED_PCC_SHARED_MEMORY_REGION_HEADER
;
2652 /// Type 5 HW Registers based Communications Subspace Structure
2659 UINT64 SharedMemoryRangeLength
;
2660 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE DoorbellRegister
;
2661 UINT64 DoorbellPreserve
;
2662 UINT64 DoorbellWrite
;
2663 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE CommandCompleteCheckRegister
;
2664 UINT64 CommandCompleteCheckMask
;
2665 EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE ErrorStatusRegister
;
2666 UINT64 ErrorStatusMask
;
2667 UINT32 NominalLatency
;
2668 UINT32 MinimumRequestTurnaroundTime
;
2669 } EFI_ACPI_6_5_PCCT_SUBSPACE_5_HW_REGISTERS_COMMUNICATIONS
;
2672 /// Reduced PCC Subspace Shared Memory Region
2676 // UINT8 CommunicationSubspace[];
2677 } EFI_6_5_PCCT_REDUCED_PCC_SUBSPACE_SHARED_MEMORY_REGION
;
2680 /// Platform Debug Trigger Table (PDTT)
2683 EFI_ACPI_DESCRIPTION_HEADER Header
;
2686 UINT32 TriggerIdentifierArrayOffset
;
2687 } EFI_ACPI_6_5_PLATFORM_DEBUG_TRIGGER_TABLE_HEADER
;
2690 /// PDTT Revision (as defined in ACPI 6.5 spec.)
2692 #define EFI_ACPI_6_5_PLATFORM_DEBUG_TRIGGER_TABLE_REVISION 0x00
2695 /// PDTT Platform Communication Channel Identifier Structure
2698 UINT16 SubChannelIdentifer
: 8;
2700 UINT16 WaitForCompletion
: 1;
2701 UINT16 TriggerOrder
: 1;
2702 UINT16 Reserved
: 5;
2703 } EFI_ACPI_6_5_PDTT_PCC_IDENTIFIER
;
2706 /// PCC Commands Codes used by Platform Debug Trigger Table
2708 #define EFI_ACPI_6_5_PDTT_PCC_COMMAND_DOORBELL_ONLY 0x00
2709 #define EFI_ACPI_6_5_PDTT_PCC_COMMAND_VENDOR_SPECIFIC 0x01
2712 /// PDTT Platform Communication Channel
2714 typedef EFI_ACPI_6_5_PCCT_GENERIC_SHARED_MEMORY_REGION_HEADER EFI_ACPI_6_5_PDTT_PCC
;
2717 /// Processor Properties Topology Table (PPTT)
2720 EFI_ACPI_DESCRIPTION_HEADER Header
;
2721 } EFI_ACPI_6_5_PROCESSOR_PROPERTIES_TOPOLOGY_TABLE_HEADER
;
2724 /// PPTT Revision (as defined in ACPI 6.5 spec.)
2726 #define EFI_ACPI_6_5_PROCESSOR_PROPERTIES_TOPOLOGY_TABLE_REVISION 0x03
2731 #define EFI_ACPI_6_5_PPTT_TYPE_PROCESSOR 0x00
2732 #define EFI_ACPI_6_5_PPTT_TYPE_CACHE 0x01
2735 /// PPTT Structure Header
2741 } EFI_ACPI_6_5_PPTT_STRUCTURE_HEADER
;
2744 /// For PPTT struct processor flags
2746 #define EFI_ACPI_6_5_PPTT_PACKAGE_NOT_PHYSICAL 0x0
2747 #define EFI_ACPI_6_5_PPTT_PACKAGE_PHYSICAL 0x1
2748 #define EFI_ACPI_6_5_PPTT_PROCESSOR_ID_INVALID 0x0
2749 #define EFI_ACPI_6_5_PPTT_PROCESSOR_ID_VALID 0x1
2750 #define EFI_ACPI_6_5_PPTT_PROCESSOR_IS_NOT_THREAD 0x0
2751 #define EFI_ACPI_6_5_PPTT_PROCESSOR_IS_THREAD 0x1
2752 #define EFI_ACPI_6_5_PPTT_NODE_IS_NOT_LEAF 0x0
2753 #define EFI_ACPI_6_5_PPTT_NODE_IS_LEAF 0x1
2754 #define EFI_ACPI_6_5_PPTT_IMPLEMENTATION_NOT_IDENTICAL 0x0
2755 #define EFI_ACPI_6_5_PPTT_IMPLEMENTATION_IDENTICAL 0x1
2758 /// Processor hierarchy node structure flags
2761 UINT32 PhysicalPackage
: 1;
2762 UINT32 AcpiProcessorIdValid
: 1;
2763 UINT32 ProcessorIsAThread
: 1;
2764 UINT32 NodeIsALeaf
: 1;
2765 UINT32 IdenticalImplementation
: 1;
2766 UINT32 Reserved
: 27;
2767 } EFI_ACPI_6_5_PPTT_STRUCTURE_PROCESSOR_FLAGS
;
2770 /// Processor hierarchy node structure
2776 EFI_ACPI_6_5_PPTT_STRUCTURE_PROCESSOR_FLAGS Flags
;
2778 UINT32 AcpiProcessorId
;
2779 UINT32 NumberOfPrivateResources
;
2780 } EFI_ACPI_6_5_PPTT_STRUCTURE_PROCESSOR
;
2783 /// For PPTT struct cache flags
2785 #define EFI_ACPI_6_5_PPTT_CACHE_SIZE_INVALID 0x0
2786 #define EFI_ACPI_6_5_PPTT_CACHE_SIZE_VALID 0x1
2787 #define EFI_ACPI_6_5_PPTT_NUMBER_OF_SETS_INVALID 0x0
2788 #define EFI_ACPI_6_5_PPTT_NUMBER_OF_SETS_VALID 0x1
2789 #define EFI_ACPI_6_5_PPTT_ASSOCIATIVITY_INVALID 0x0
2790 #define EFI_ACPI_6_5_PPTT_ASSOCIATIVITY_VALID 0x1
2791 #define EFI_ACPI_6_5_PPTT_ALLOCATION_TYPE_INVALID 0x0
2792 #define EFI_ACPI_6_5_PPTT_ALLOCATION_TYPE_VALID 0x1
2793 #define EFI_ACPI_6_5_PPTT_CACHE_TYPE_INVALID 0x0
2794 #define EFI_ACPI_6_5_PPTT_CACHE_TYPE_VALID 0x1
2795 #define EFI_ACPI_6_5_PPTT_WRITE_POLICY_INVALID 0x0
2796 #define EFI_ACPI_6_5_PPTT_WRITE_POLICY_VALID 0x1
2797 #define EFI_ACPI_6_5_PPTT_LINE_SIZE_INVALID 0x0
2798 #define EFI_ACPI_6_5_PPTT_LINE_SIZE_VALID 0x1
2799 #define EFI_ACPI_6_5_PPTT_CACHE_ID_INVALID 0x0
2800 #define EFI_ACPI_6_5_PPTT_CACHE_ID_VALID 0x1
2803 /// Cache Type Structure flags
2806 UINT32 SizePropertyValid
: 1;
2807 UINT32 NumberOfSetsValid
: 1;
2808 UINT32 AssociativityValid
: 1;
2809 UINT32 AllocationTypeValid
: 1;
2810 UINT32 CacheTypeValid
: 1;
2811 UINT32 WritePolicyValid
: 1;
2812 UINT32 LineSizeValid
: 1;
2813 UINT32 CacheIdValid
: 1;
2814 UINT32 Reserved
: 24;
2815 } EFI_ACPI_6_5_PPTT_STRUCTURE_CACHE_FLAGS
;
2818 /// For cache attributes
2820 #define EFI_ACPI_6_5_CACHE_ATTRIBUTES_ALLOCATION_READ 0x0
2821 #define EFI_ACPI_6_5_CACHE_ATTRIBUTES_ALLOCATION_WRITE 0x1
2822 #define EFI_ACPI_6_5_CACHE_ATTRIBUTES_ALLOCATION_READ_WRITE 0x2
2823 #define EFI_ACPI_6_5_CACHE_ATTRIBUTES_CACHE_TYPE_DATA 0x0
2824 #define EFI_ACPI_6_5_CACHE_ATTRIBUTES_CACHE_TYPE_INSTRUCTION 0x1
2825 #define EFI_ACPI_6_5_CACHE_ATTRIBUTES_CACHE_TYPE_UNIFIED 0x2
2826 #define EFI_ACPI_6_5_CACHE_ATTRIBUTES_WRITE_POLICY_WRITE_BACK 0x0
2827 #define EFI_ACPI_6_5_CACHE_ATTRIBUTES_WRITE_POLICY_WRITE_THROUGH 0x1
2830 /// Cache Type Structure cache attributes
2833 UINT8 AllocationType
: 2;
2834 UINT8 CacheType
: 2;
2835 UINT8 WritePolicy
: 1;
2837 } EFI_ACPI_6_5_PPTT_STRUCTURE_CACHE_ATTRIBUTES
;
2840 /// Cache Type Structure
2846 EFI_ACPI_6_5_PPTT_STRUCTURE_CACHE_FLAGS Flags
;
2847 UINT32 NextLevelOfCache
;
2849 UINT32 NumberOfSets
;
2850 UINT8 Associativity
;
2851 EFI_ACPI_6_5_PPTT_STRUCTURE_CACHE_ATTRIBUTES Attributes
;
2854 } EFI_ACPI_6_5_PPTT_STRUCTURE_CACHE
;
2857 /// Platform Health Assessment Table (PHAT) Format
2860 EFI_ACPI_DESCRIPTION_HEADER Header
;
2861 // UINT8 PlatformTelemetryRecords[];
2862 } EFI_ACPI_6_5_PLATFORM_HEALTH_ASSESSMENT_TABLE
;
2864 #define EFI_ACPI_6_5_PLATFORM_HEALTH_ASSESSMENT_TABLE_REVISION 0x01
2867 /// PHAT Record Format
2870 UINT16 PlatformHealthAssessmentRecordType
;
2871 UINT16 RecordLength
;
2874 } EFI_ACPI_6_5_PHAT_RECORD
;
2877 /// PHAT Record Type Format
2879 #define EFI_ACPI_6_5_PHAT_RECORD_TYPE_FIRMWARE_VERSION_DATA_RECORD 0x0000
2880 #define EFI_ACPI_6_5_PHAT_RECORD_TYPE_FIRMWARE_HEALTH_DATA_RECORD 0x0001
2883 /// PHAT Version Element
2887 UINT64 VersionValue
;
2889 } EFI_ACPI_6_5_PHAT_VERSION_ELEMENT
;
2892 /// PHAT Firmware Version Data Record
2895 UINT16 PlatformRecordType
;
2896 UINT16 RecordLength
;
2900 // UINT8 PhatVersionElement[];
2901 } EFI_ACPI_6_5_PHAT_FIRMWARE_VERISON_DATA_RECORD
;
2903 #define EFI_ACPI_6_5_PHAT_FIRMWARE_VERSION_DATA_RECORD_REVISION 0x01
2906 /// Firmware Health Data Record Structure
2909 UINT16 PlatformRecordType
;
2910 UINT16 RecordLength
;
2914 GUID DeviceSignature
;
2915 UINT32 DeviceSpecificDataOffset
;
2916 // UINT8 DevicePath[];
2917 // UINT8 DeviceSpecificData[];
2918 } EFI_ACPI_6_5_PHAT_FIRMWARE_HEALTH_DATA_RECORD_STRUCTURE
;
2920 #define EFI_ACPI_6_5_PHAT_FIRMWARE_HEALTH_DATA_RECORD_REVISION 0x01
2923 /// Firmware Health Data Record device health state
2925 #define EFI_ACPI_6_5_PHAT_FIRMWARE_HEALTH_DATA_RECORD_ERRORS_FOUND 0x00
2926 #define EFI_ACPI_6_5_PHAT_FIRMWARE_HEALTH_DATA_RECORD_NO_ERRORS_FOUND 0x01
2927 #define EFI_ACPI_6_5_PHAT_FIRMWARE_HEALTH_DATA_RECORD_UNKNOWN 0x02
2928 #define EFI_ACPI_6_5_PHAT_FIRMWARE_HEALTH_DATA_RECORD_ADVISORY 0x03
2931 // Known table signatures
2935 /// "RSD PTR " Root System Description Pointer
2937 #define EFI_ACPI_6_5_ROOT_SYSTEM_DESCRIPTION_POINTER_SIGNATURE SIGNATURE_64('R', 'S', 'D', ' ', 'P', 'T', 'R', ' ')
2940 /// "APIC" Multiple APIC Description Table
2942 #define EFI_ACPI_6_5_MULTIPLE_APIC_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('A', 'P', 'I', 'C')
2945 /// "APMT" Arm Performance Monitoring Unit Table
2947 #define EFI_ACPI_6_5_ARM_PERFORMANCE_MONITORING_UNIT_TABLE_SIGNATURE SIGNATURE_32('A', 'P', 'M', 'T')
2950 /// "BERT" Boot Error Record Table
2952 #define EFI_ACPI_6_5_BOOT_ERROR_RECORD_TABLE_SIGNATURE SIGNATURE_32('B', 'E', 'R', 'T')
2955 /// "BGRT" Boot Graphics Resource Table
2957 #define EFI_ACPI_6_5_BOOT_GRAPHICS_RESOURCE_TABLE_SIGNATURE SIGNATURE_32('B', 'G', 'R', 'T')
2960 /// "CDIT" Component Distance Information Table
2962 #define EFI_ACPI_6_5_COMPONENT_DISTANCE_INFORMATION_TABLE_SIGNATURE SIGNATURE_32('C', 'D', 'I', 'T')
2965 /// "CPEP" Corrected Platform Error Polling Table
2967 #define EFI_ACPI_6_5_CORRECTED_PLATFORM_ERROR_POLLING_TABLE_SIGNATURE SIGNATURE_32('C', 'P', 'E', 'P')
2970 /// "CRAT" Component Resource Attribute Table
2972 #define EFI_ACPI_6_5_COMPONENT_RESOURCE_ATTRIBUTE_TABLE_SIGNATURE SIGNATURE_32('C', 'R', 'A', 'T')
2975 /// "DSDT" Differentiated System Description Table
2977 #define EFI_ACPI_6_5_DIFFERENTIATED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('D', 'S', 'D', 'T')
2980 /// "ECDT" Embedded Controller Boot Resources Table
2982 #define EFI_ACPI_6_5_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE_SIGNATURE SIGNATURE_32('E', 'C', 'D', 'T')
2985 /// "EINJ" Error Injection Table
2987 #define EFI_ACPI_6_5_ERROR_INJECTION_TABLE_SIGNATURE SIGNATURE_32('E', 'I', 'N', 'J')
2990 /// "ERST" Error Record Serialization Table
2992 #define EFI_ACPI_6_5_ERROR_RECORD_SERIALIZATION_TABLE_SIGNATURE SIGNATURE_32('E', 'R', 'S', 'T')
2995 /// "FACP" Fixed ACPI Description Table
2997 #define EFI_ACPI_6_5_FIXED_ACPI_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('F', 'A', 'C', 'P')
3000 /// "FACS" Firmware ACPI Control Structure
3002 #define EFI_ACPI_6_5_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE SIGNATURE_32('F', 'A', 'C', 'S')
3005 /// "FPDT" Firmware Performance Data Table
3007 #define EFI_ACPI_6_5_FIRMWARE_PERFORMANCE_DATA_TABLE_SIGNATURE SIGNATURE_32('F', 'P', 'D', 'T')
3010 /// "GTDT" Generic Timer Description Table
3012 #define EFI_ACPI_6_5_GENERIC_TIMER_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('G', 'T', 'D', 'T')
3015 /// "HEST" Hardware Error Source Table
3017 #define EFI_ACPI_6_5_HARDWARE_ERROR_SOURCE_TABLE_SIGNATURE SIGNATURE_32('H', 'E', 'S', 'T')
3020 /// "HMAT" Heterogeneous Memory Attribute Table
3022 #define EFI_ACPI_6_5_HETEROGENEOUS_MEMORY_ATTRIBUTE_TABLE_SIGNATURE SIGNATURE_32('H', 'M', 'A', 'T')
3025 /// "MPST" Memory Power State Table
3027 #define EFI_ACPI_6_5_MEMORY_POWER_STATE_TABLE_SIGNATURE SIGNATURE_32('M', 'P', 'S', 'T')
3030 /// "MSCT" Maximum System Characteristics Table
3032 #define EFI_ACPI_6_5_MAXIMUM_SYSTEM_CHARACTERISTICS_TABLE_SIGNATURE SIGNATURE_32('M', 'S', 'C', 'T')
3035 /// "NFIT" NVDIMM Firmware Interface Table
3037 #define EFI_ACPI_6_5_NVDIMM_FIRMWARE_INTERFACE_TABLE_STRUCTURE_SIGNATURE SIGNATURE_32('N', 'F', 'I', 'T')
3040 /// "PDTT" Platform Debug Trigger Table
3042 #define EFI_ACPI_6_5_PLATFORM_DEBUG_TRIGGER_TABLE_STRUCTURE_SIGNATURE SIGNATURE_32('P', 'D', 'T', 'T')
3045 /// "PMTT" Platform Memory Topology Table
3047 #define EFI_ACPI_6_5_PLATFORM_MEMORY_TOPOLOGY_TABLE_SIGNATURE SIGNATURE_32('P', 'M', 'T', 'T')
3050 /// "PPTT" Processor Properties Topology Table
3052 #define EFI_ACPI_6_5_PROCESSOR_PROPERTIES_TOPOLOGY_TABLE_STRUCTURE_SIGNATURE SIGNATURE_32('P', 'P', 'T', 'T')
3055 /// "PSDT" Persistent System Description Table
3057 #define EFI_ACPI_6_5_PERSISTENT_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('P', 'S', 'D', 'T')
3060 /// "RASF" ACPI RAS Feature Table
3062 #define EFI_ACPI_6_5_ACPI_RAS_FEATURE_TABLE_SIGNATURE SIGNATURE_32('R', 'A', 'S', 'F')
3065 /// "RSDT" Root System Description Table
3067 #define EFI_ACPI_6_5_ROOT_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('R', 'S', 'D', 'T')
3070 /// "SBST" Smart Battery Specification Table
3072 #define EFI_ACPI_6_5_SMART_BATTERY_SPECIFICATION_TABLE_SIGNATURE SIGNATURE_32('S', 'B', 'S', 'T')
3075 /// "SDEV" Secure DEVices Table
3077 #define EFI_ACPI_6_5_SECURE_DEVICES_TABLE_SIGNATURE SIGNATURE_32('S', 'D', 'E', 'V')
3080 /// "SLIT" System Locality Information Table
3082 #define EFI_ACPI_6_5_SYSTEM_LOCALITY_INFORMATION_TABLE_SIGNATURE SIGNATURE_32('S', 'L', 'I', 'T')
3085 /// "SRAT" System Resource Affinity Table
3087 #define EFI_ACPI_6_5_SYSTEM_RESOURCE_AFFINITY_TABLE_SIGNATURE SIGNATURE_32('S', 'R', 'A', 'T')
3090 /// "SSDT" Secondary System Description Table
3092 #define EFI_ACPI_6_5_SECONDARY_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('S', 'S', 'D', 'T')
3095 /// "XSDT" Extended System Description Table
3097 #define EFI_ACPI_6_5_EXTENDED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('X', 'S', 'D', 'T')
3100 /// "BOOT" MS Simple Boot Spec
3102 #define EFI_ACPI_6_5_SIMPLE_BOOT_FLAG_TABLE_SIGNATURE SIGNATURE_32('B', 'O', 'O', 'T')
3105 /// "CSRT" MS Core System Resource Table
3107 #define EFI_ACPI_6_5_CORE_SYSTEM_RESOURCE_TABLE_SIGNATURE SIGNATURE_32('C', 'S', 'R', 'T')
3110 /// "DBG2" MS Debug Port 2 Spec
3112 #define EFI_ACPI_6_5_DEBUG_PORT_2_TABLE_SIGNATURE SIGNATURE_32('D', 'B', 'G', '2')
3115 /// "DBGP" MS Debug Port Spec
3117 #define EFI_ACPI_6_5_DEBUG_PORT_TABLE_SIGNATURE SIGNATURE_32('D', 'B', 'G', 'P')
3120 /// "DMAR" DMA Remapping Table
3122 #define EFI_ACPI_6_5_DMA_REMAPPING_TABLE_SIGNATURE SIGNATURE_32('D', 'M', 'A', 'R')
3125 /// "DRTM" Dynamic Root of Trust for Measurement Table
3127 #define EFI_ACPI_6_5_DYNAMIC_ROOT_OF_TRUST_FOR_MEASUREMENT_TABLE_SIGNATURE SIGNATURE_32('D', 'R', 'T', 'M')
3130 /// "ETDT" Event Timer Description Table
3132 #define EFI_ACPI_6_5_EVENT_TIMER_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('E', 'T', 'D', 'T')
3135 /// "HPET" IA-PC High Precision Event Timer Table
3137 #define EFI_ACPI_6_5_HIGH_PRECISION_EVENT_TIMER_TABLE_SIGNATURE SIGNATURE_32('H', 'P', 'E', 'T')
3140 /// "iBFT" iSCSI Boot Firmware Table
3142 #define EFI_ACPI_6_5_ISCSI_BOOT_FIRMWARE_TABLE_SIGNATURE SIGNATURE_32('i', 'B', 'F', 'T')
3145 /// "IORT" I/O Remapping Table
3147 #define EFI_ACPI_6_5_IO_REMAPPING_TABLE_SIGNATURE SIGNATURE_32('I', 'O', 'R', 'T')
3150 /// "IVRS" I/O Virtualization Reporting Structure
3152 #define EFI_ACPI_6_5_IO_VIRTUALIZATION_REPORTING_STRUCTURE_SIGNATURE SIGNATURE_32('I', 'V', 'R', 'S')
3155 /// "LPIT" Low Power Idle Table
3157 #define EFI_ACPI_6_5_LOW_POWER_IDLE_TABLE_STRUCTURE_SIGNATURE SIGNATURE_32('L', 'P', 'I', 'T')
3160 /// "MCFG" PCI Express Memory Mapped Configuration Space Base Address Description Table
3162 #define EFI_ACPI_6_5_PCI_EXPRESS_MEMORY_MAPPED_CONFIGURATION_SPACE_BASE_ADDRESS_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('M', 'C', 'F', 'G')
3165 /// "MCHI" Management Controller Host Interface Table
3167 #define EFI_ACPI_6_5_MANAGEMENT_CONTROLLER_HOST_INTERFACE_TABLE_SIGNATURE SIGNATURE_32('M', 'C', 'H', 'I')
3170 /// "MSDM" MS Data Management Table
3172 #define EFI_ACPI_6_5_DATA_MANAGEMENT_TABLE_SIGNATURE SIGNATURE_32('M', 'S', 'D', 'M')
3175 /// "PCCT" Platform Communications Channel Table
3177 #define EFI_ACPI_6_5_PLATFORM_COMMUNICATIONS_CHANNEL_TABLE_SIGNATURE SIGNATURE_32('P', 'C', 'C', 'T')
3180 /// "PHAT" Platform Health Assessment Table
3182 #define EFI_ACPI_6_5_PLATFORM_HEALTH_ASSESSMENT_TABLE_SIGNATURE SIGNATURE_32('P', 'H', 'A', 'T')
3185 /// "SDEI" Software Delegated Exceptions Interface Table
3187 #define EFI_ACPI_6_5_SOFTWARE_DELEGATED_EXCEPTIONS_INTERFACE_TABLE_SIGNATURE SIGNATURE_32('S', 'D', 'E', 'I')
3190 /// "SLIC" MS Software Licensing Table Specification
3192 #define EFI_ACPI_6_5_SOFTWARE_LICENSING_TABLE_SIGNATURE SIGNATURE_32('S', 'L', 'I', 'C')
3195 /// "SPCR" Serial Port Concole Redirection Table
3197 #define EFI_ACPI_6_5_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_SIGNATURE SIGNATURE_32('S', 'P', 'C', 'R')
3200 /// "SPMI" Server Platform Management Interface Table
3202 #define EFI_ACPI_6_5_SERVER_PLATFORM_MANAGEMENT_INTERFACE_TABLE_SIGNATURE SIGNATURE_32('S', 'P', 'M', 'I')
3205 /// "STAO" _STA Override Table
3207 #define EFI_ACPI_6_5_STA_OVERRIDE_TABLE_SIGNATURE SIGNATURE_32('S', 'T', 'A', 'O')
3210 /// "TCPA" Trusted Computing Platform Alliance Capabilities Table
3212 #define EFI_ACPI_6_5_TRUSTED_COMPUTING_PLATFORM_ALLIANCE_CAPABILITIES_TABLE_SIGNATURE SIGNATURE_32('T', 'C', 'P', 'A')
3215 /// "TPM2" Trusted Computing Platform 1 Table
3217 #define EFI_ACPI_6_5_TRUSTED_COMPUTING_PLATFORM_2_TABLE_SIGNATURE SIGNATURE_32('T', 'P', 'M', '2')
3220 /// "UEFI" UEFI ACPI Data Table
3222 #define EFI_ACPI_6_5_UEFI_ACPI_DATA_TABLE_SIGNATURE SIGNATURE_32('U', 'E', 'F', 'I')
3225 /// "WAET" Windows ACPI Emulated Devices Table
3227 #define EFI_ACPI_6_5_WINDOWS_ACPI_EMULATED_DEVICES_TABLE_SIGNATURE SIGNATURE_32('W', 'A', 'E', 'T')
3230 /// "WDAT" Watchdog Action Table
3232 #define EFI_ACPI_6_5_WATCHDOG_ACTION_TABLE_SIGNATURE SIGNATURE_32('W', 'D', 'A', 'T')
3235 /// "WDRT" Watchdog Resource Table
3237 #define EFI_ACPI_6_5_WATCHDOG_RESOURCE_TABLE_SIGNATURE SIGNATURE_32('W', 'D', 'R', 'T')
3240 /// "WPBT" MS Platform Binary Table
3242 #define EFI_ACPI_6_5_PLATFORM_BINARY_TABLE_SIGNATURE SIGNATURE_32('W', 'P', 'B', 'T')
3245 /// "WSMT" Windows SMM Security Mitigation Table
3247 #define EFI_ACPI_6_5_WINDOWS_SMM_SECURITY_MITIGATION_TABLE_SIGNATURE SIGNATURE_32('W', 'S', 'M', 'T')
3250 /// "XENV" Xen Project Table
3252 #define EFI_ACPI_6_5_XEN_PROJECT_TABLE_SIGNATURE SIGNATURE_32('X', 'E', 'N', 'V')