2 ACPI 6.4 definitions from the ACPI Specification Revision 6.4 Jan, 2021.
4 Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
5 Copyright (c) 2019 - 2021, ARM Ltd. All rights reserved.<BR>
7 SPDX-License-Identifier: BSD-2-Clause-Patent
13 #include <IndustryStandard/Acpi63.h>
16 // Ensure proper structure formats
21 /// ACPI 6.4 Generic Address Space definition
25 UINT8 RegisterBitWidth
;
26 UINT8 RegisterBitOffset
;
29 } EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE
;
32 // Generic Address Space Address IDs
34 #define EFI_ACPI_6_4_SYSTEM_MEMORY 0x00
35 #define EFI_ACPI_6_4_SYSTEM_IO 0x01
36 #define EFI_ACPI_6_4_PCI_CONFIGURATION_SPACE 0x02
37 #define EFI_ACPI_6_4_EMBEDDED_CONTROLLER 0x03
38 #define EFI_ACPI_6_4_SMBUS 0x04
39 #define EFI_ACPI_6_4_SYSTEM_CMOS 0x05
40 #define EFI_ACPI_6_4_PCI_BAR_TARGET 0x06
41 #define EFI_ACPI_6_4_IPMI 0x07
42 #define EFI_ACPI_6_4_GENERAL_PURPOSE_IO 0x08
43 #define EFI_ACPI_6_4_GENERIC_SERIAL_BUS 0x09
44 #define EFI_ACPI_6_4_PLATFORM_COMMUNICATION_CHANNEL 0x0A
45 #define EFI_ACPI_6_4_FUNCTIONAL_FIXED_HARDWARE 0x7F
48 // Generic Address Space Access Sizes
50 #define EFI_ACPI_6_4_UNDEFINED 0
51 #define EFI_ACPI_6_4_BYTE 1
52 #define EFI_ACPI_6_4_WORD 2
53 #define EFI_ACPI_6_4_DWORD 3
54 #define EFI_ACPI_6_4_QWORD 4
57 // ACPI 6.4 table structures
61 /// Root System Description Pointer Structure
71 UINT8 ExtendedChecksum
;
73 } EFI_ACPI_6_4_ROOT_SYSTEM_DESCRIPTION_POINTER
;
76 /// RSD_PTR Revision (as defined in ACPI 6.4 spec.)
78 #define EFI_ACPI_6_4_ROOT_SYSTEM_DESCRIPTION_POINTER_REVISION 0x02 ///< ACPISpec (Revision 6.4) says current value is 2
81 /// Common table header, this prefaces all ACPI tables, including FACS, but
82 /// excluding the RSD PTR structure
87 } EFI_ACPI_6_4_COMMON_HEADER
;
90 // Root System Description Table
91 // No definition needed as it is a common description table header, the same with
92 // EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT32 table pointers.
96 /// RSDT Revision (as defined in ACPI 6.4 spec.)
98 #define EFI_ACPI_6_4_ROOT_SYSTEM_DESCRIPTION_TABLE_REVISION 0x01
101 // Extended System Description Table
102 // No definition needed as it is a common description table header, the same with
103 // EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT64 table pointers.
107 /// XSDT Revision (as defined in ACPI 6.4 spec.)
109 #define EFI_ACPI_6_4_EXTENDED_SYSTEM_DESCRIPTION_TABLE_REVISION 0x01
112 /// Fixed ACPI Description Table Structure (FADT)
115 EFI_ACPI_DESCRIPTION_HEADER Header
;
119 UINT8 PreferredPmProfile
;
154 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE ResetReg
;
158 UINT64 XFirmwareCtrl
;
160 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE XPm1aEvtBlk
;
161 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE XPm1bEvtBlk
;
162 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE XPm1aCntBlk
;
163 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE XPm1bCntBlk
;
164 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE XPm2CntBlk
;
165 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE XPmTmrBlk
;
166 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE XGpe0Blk
;
167 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE XGpe1Blk
;
168 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE SleepControlReg
;
169 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE SleepStatusReg
;
170 UINT64 HypervisorVendorIdentity
;
171 } EFI_ACPI_6_4_FIXED_ACPI_DESCRIPTION_TABLE
;
174 /// FADT Version (as defined in ACPI 6.4 spec.)
176 #define EFI_ACPI_6_4_FIXED_ACPI_DESCRIPTION_TABLE_REVISION 0x06
177 #define EFI_ACPI_6_4_FIXED_ACPI_DESCRIPTION_TABLE_MINOR_REVISION 0x04
180 // Fixed ACPI Description Table Preferred Power Management Profile
182 #define EFI_ACPI_6_4_PM_PROFILE_UNSPECIFIED 0
183 #define EFI_ACPI_6_4_PM_PROFILE_DESKTOP 1
184 #define EFI_ACPI_6_4_PM_PROFILE_MOBILE 2
185 #define EFI_ACPI_6_4_PM_PROFILE_WORKSTATION 3
186 #define EFI_ACPI_6_4_PM_PROFILE_ENTERPRISE_SERVER 4
187 #define EFI_ACPI_6_4_PM_PROFILE_SOHO_SERVER 5
188 #define EFI_ACPI_6_4_PM_PROFILE_APPLIANCE_PC 6
189 #define EFI_ACPI_6_4_PM_PROFILE_PERFORMANCE_SERVER 7
190 #define EFI_ACPI_6_4_PM_PROFILE_TABLET 8
193 // Fixed ACPI Description Table Boot Architecture Flags
194 // All other bits are reserved and must be set to 0.
196 #define EFI_ACPI_6_4_LEGACY_DEVICES BIT0
197 #define EFI_ACPI_6_4_8042 BIT1
198 #define EFI_ACPI_6_4_VGA_NOT_PRESENT BIT2
199 #define EFI_ACPI_6_4_MSI_NOT_SUPPORTED BIT3
200 #define EFI_ACPI_6_4_PCIE_ASPM_CONTROLS BIT4
201 #define EFI_ACPI_6_4_CMOS_RTC_NOT_PRESENT BIT5
204 // Fixed ACPI Description Table Arm Boot Architecture Flags
205 // All other bits are reserved and must be set to 0.
207 #define EFI_ACPI_6_4_ARM_PSCI_COMPLIANT BIT0
208 #define EFI_ACPI_6_4_ARM_PSCI_USE_HVC BIT1
211 // Fixed ACPI Description Table Fixed Feature Flags
212 // All other bits are reserved and must be set to 0.
214 #define EFI_ACPI_6_4_WBINVD BIT0
215 #define EFI_ACPI_6_4_WBINVD_FLUSH BIT1
216 #define EFI_ACPI_6_4_PROC_C1 BIT2
217 #define EFI_ACPI_6_4_P_LVL2_UP BIT3
218 #define EFI_ACPI_6_4_PWR_BUTTON BIT4
219 #define EFI_ACPI_6_4_SLP_BUTTON BIT5
220 #define EFI_ACPI_6_4_FIX_RTC BIT6
221 #define EFI_ACPI_6_4_RTC_S4 BIT7
222 #define EFI_ACPI_6_4_TMR_VAL_EXT BIT8
223 #define EFI_ACPI_6_4_DCK_CAP BIT9
224 #define EFI_ACPI_6_4_RESET_REG_SUP BIT10
225 #define EFI_ACPI_6_4_SEALED_CASE BIT11
226 #define EFI_ACPI_6_4_HEADLESS BIT12
227 #define EFI_ACPI_6_4_CPU_SW_SLP BIT13
228 #define EFI_ACPI_6_4_PCI_EXP_WAK BIT14
229 #define EFI_ACPI_6_4_USE_PLATFORM_CLOCK BIT15
230 #define EFI_ACPI_6_4_S4_RTC_STS_VALID BIT16
231 #define EFI_ACPI_6_4_REMOTE_POWER_ON_CAPABLE BIT17
232 #define EFI_ACPI_6_4_FORCE_APIC_CLUSTER_MODEL BIT18
233 #define EFI_ACPI_6_4_FORCE_APIC_PHYSICAL_DESTINATION_MODE BIT19
234 #define EFI_ACPI_6_4_HW_REDUCED_ACPI BIT20
235 #define EFI_ACPI_6_4_LOW_POWER_S0_IDLE_CAPABLE BIT21
238 /// Firmware ACPI Control Structure
243 UINT32 HardwareSignature
;
244 UINT32 FirmwareWakingVector
;
247 UINT64 XFirmwareWakingVector
;
252 } EFI_ACPI_6_4_FIRMWARE_ACPI_CONTROL_STRUCTURE
;
255 /// FACS Version (as defined in ACPI 6.4 spec.)
257 #define EFI_ACPI_6_4_FIRMWARE_ACPI_CONTROL_STRUCTURE_VERSION 0x02
260 /// Firmware Control Structure Feature Flags
261 /// All other bits are reserved and must be set to 0.
263 #define EFI_ACPI_6_4_S4BIOS_F BIT0
264 #define EFI_ACPI_6_4_64BIT_WAKE_SUPPORTED_F BIT1
267 /// OSPM Enabled Firmware Control Structure Flags
268 /// All other bits are reserved and must be set to 0.
270 #define EFI_ACPI_6_4_OSPM_64BIT_WAKE_F BIT0
273 // Differentiated System Description Table,
274 // Secondary System Description Table
275 // and Persistent System Description Table,
276 // no definition needed as they are common description table header, the same with
277 // EFI_ACPI_DESCRIPTION_HEADER, followed by a definition block.
279 #define EFI_ACPI_6_4_DIFFERENTIATED_SYSTEM_DESCRIPTION_TABLE_REVISION 0x02
280 #define EFI_ACPI_6_4_SECONDARY_SYSTEM_DESCRIPTION_TABLE_REVISION 0x02
283 /// Multiple APIC Description Table header definition. The rest of the table
284 /// must be defined in a platform specific manner.
287 EFI_ACPI_DESCRIPTION_HEADER Header
;
288 UINT32 LocalApicAddress
;
290 } EFI_ACPI_6_4_MULTIPLE_APIC_DESCRIPTION_TABLE_HEADER
;
293 /// MADT Revision (as defined in ACPI 6.4 spec.)
295 #define EFI_ACPI_6_4_MULTIPLE_APIC_DESCRIPTION_TABLE_REVISION 0x05
298 /// Multiple APIC Flags
299 /// All other bits are reserved and must be set to 0.
301 #define EFI_ACPI_6_4_PCAT_COMPAT BIT0
304 // Multiple APIC Description Table APIC structure types
305 // All other values between 0x10 and 0x7F are reserved and
306 // will be ignored by OSPM. 0x80 ~ 0xFF are reserved for OEM.
308 #define EFI_ACPI_6_4_PROCESSOR_LOCAL_APIC 0x00
309 #define EFI_ACPI_6_4_IO_APIC 0x01
310 #define EFI_ACPI_6_4_INTERRUPT_SOURCE_OVERRIDE 0x02
311 #define EFI_ACPI_6_4_NON_MASKABLE_INTERRUPT_SOURCE 0x03
312 #define EFI_ACPI_6_4_LOCAL_APIC_NMI 0x04
313 #define EFI_ACPI_6_4_LOCAL_APIC_ADDRESS_OVERRIDE 0x05
314 #define EFI_ACPI_6_4_IO_SAPIC 0x06
315 #define EFI_ACPI_6_4_LOCAL_SAPIC 0x07
316 #define EFI_ACPI_6_4_PLATFORM_INTERRUPT_SOURCES 0x08
317 #define EFI_ACPI_6_4_PROCESSOR_LOCAL_X2APIC 0x09
318 #define EFI_ACPI_6_4_LOCAL_X2APIC_NMI 0x0A
319 #define EFI_ACPI_6_4_GIC 0x0B
320 #define EFI_ACPI_6_4_GICD 0x0C
321 #define EFI_ACPI_6_4_GIC_MSI_FRAME 0x0D
322 #define EFI_ACPI_6_4_GICR 0x0E
323 #define EFI_ACPI_6_4_GIC_ITS 0x0F
324 #define EFI_ACPI_6_4_MULTIPROCESSOR_WAKEUP 0x10
327 // APIC Structure Definitions
331 /// Processor Local APIC Structure Definition
336 UINT8 AcpiProcessorUid
;
339 } EFI_ACPI_6_4_PROCESSOR_LOCAL_APIC_STRUCTURE
;
342 /// Local APIC Flags. All other bits are reserved and must be 0.
344 #define EFI_ACPI_6_4_LOCAL_APIC_ENABLED BIT0
345 #define EFI_ACPI_6_4_LOCAL_APIC_ONLINE_CAPABLE BIT1
348 /// IO APIC Structure
355 UINT32 IoApicAddress
;
356 UINT32 GlobalSystemInterruptBase
;
357 } EFI_ACPI_6_4_IO_APIC_STRUCTURE
;
360 /// Interrupt Source Override Structure
367 UINT32 GlobalSystemInterrupt
;
369 } EFI_ACPI_6_4_INTERRUPT_SOURCE_OVERRIDE_STRUCTURE
;
372 /// Platform Interrupt Sources Structure Definition
382 UINT32 GlobalSystemInterrupt
;
383 UINT32 PlatformInterruptSourceFlags
;
384 UINT8 CpeiProcessorOverride
;
386 } EFI_ACPI_6_4_PLATFORM_INTERRUPT_APIC_STRUCTURE
;
390 // All other bits are reserved and must be set to 0.
392 #define EFI_ACPI_6_4_POLARITY (3 << 0)
393 #define EFI_ACPI_6_4_TRIGGER_MODE (3 << 2)
396 /// Non-Maskable Interrupt Source Structure
402 UINT32 GlobalSystemInterrupt
;
403 } EFI_ACPI_6_4_NON_MASKABLE_INTERRUPT_SOURCE_STRUCTURE
;
406 /// Local APIC NMI Structure
411 UINT8 AcpiProcessorUid
;
414 } EFI_ACPI_6_4_LOCAL_APIC_NMI_STRUCTURE
;
417 /// Local APIC Address Override Structure
423 UINT64 LocalApicAddress
;
424 } EFI_ACPI_6_4_LOCAL_APIC_ADDRESS_OVERRIDE_STRUCTURE
;
427 /// IO SAPIC Structure
434 UINT32 GlobalSystemInterruptBase
;
435 UINT64 IoSapicAddress
;
436 } EFI_ACPI_6_4_IO_SAPIC_STRUCTURE
;
439 /// Local SAPIC Structure
440 /// This struct followed by a null-terminated ASCII string - ACPI Processor UID String
445 UINT8 AcpiProcessorId
;
450 UINT32 ACPIProcessorUIDValue
;
451 } EFI_ACPI_6_4_PROCESSOR_LOCAL_SAPIC_STRUCTURE
;
454 /// Platform Interrupt Sources Structure
464 UINT32 GlobalSystemInterrupt
;
465 UINT32 PlatformInterruptSourceFlags
;
466 } EFI_ACPI_6_4_PLATFORM_INTERRUPT_SOURCES_STRUCTURE
;
469 /// Platform Interrupt Source Flags.
470 /// All other bits are reserved and must be set to 0.
472 #define EFI_ACPI_6_4_CPEI_PROCESSOR_OVERRIDE BIT0
475 /// Processor Local x2APIC Structure Definition
483 UINT32 AcpiProcessorUid
;
484 } EFI_ACPI_6_4_PROCESSOR_LOCAL_X2APIC_STRUCTURE
;
487 /// Local x2APIC NMI Structure
493 UINT32 AcpiProcessorUid
;
494 UINT8 LocalX2ApicLint
;
496 } EFI_ACPI_6_4_LOCAL_X2APIC_NMI_STRUCTURE
;
505 UINT32 CPUInterfaceNumber
;
506 UINT32 AcpiProcessorUid
;
508 UINT32 ParkingProtocolVersion
;
509 UINT32 PerformanceInterruptGsiv
;
510 UINT64 ParkedAddress
;
511 UINT64 PhysicalBaseAddress
;
514 UINT32 VGICMaintenanceInterrupt
;
515 UINT64 GICRBaseAddress
;
517 UINT8 ProcessorPowerEfficiencyClass
;
519 UINT16 SpeOverflowInterrupt
;
520 } EFI_ACPI_6_4_GIC_STRUCTURE
;
523 /// GIC Flags. All other bits are reserved and must be 0.
525 #define EFI_ACPI_6_4_GIC_ENABLED BIT0
526 #define EFI_ACPI_6_4_PERFORMANCE_INTERRUPT_MODEL BIT1
527 #define EFI_ACPI_6_4_VGIC_MAINTENANCE_INTERRUPT_MODE_FLAGS BIT2
530 /// GIC Distributor Structure
537 UINT64 PhysicalBaseAddress
;
538 UINT32 SystemVectorBase
;
541 } EFI_ACPI_6_4_GIC_DISTRIBUTOR_STRUCTURE
;
546 #define EFI_ACPI_6_4_GIC_V1 0x01
547 #define EFI_ACPI_6_4_GIC_V2 0x02
548 #define EFI_ACPI_6_4_GIC_V3 0x03
549 #define EFI_ACPI_6_4_GIC_V4 0x04
552 /// GIC MSI Frame Structure
558 UINT32 GicMsiFrameId
;
559 UINT64 PhysicalBaseAddress
;
563 } EFI_ACPI_6_4_GIC_MSI_FRAME_STRUCTURE
;
566 /// GIC MSI Frame Flags. All other bits are reserved and must be 0.
568 #define EFI_ACPI_6_4_SPI_COUNT_BASE_SELECT BIT0
577 UINT64 DiscoveryRangeBaseAddress
;
578 UINT32 DiscoveryRangeLength
;
579 } EFI_ACPI_6_4_GICR_STRUCTURE
;
582 /// GIC Interrupt Translation Service Structure
589 UINT64 PhysicalBaseAddress
;
591 } EFI_ACPI_6_4_GIC_ITS_STRUCTURE
;
594 /// Multiprocessor Wakeup Structure
599 UINT16 MailBoxVersion
;
601 UINT64 MailBoxAddress
;
602 } EFI_ACPI_6_4_MULTIPROCESSOR_WAKEUP_STRUCTURE
;
605 /// Multiprocessor Wakeup Mailbox Structure
612 UINT8 ReservedForOs
[2032];
613 UINT8 ReservedForFirmware
[2048];
614 } EFI_ACPI_6_4_MULTIPROCESSOR_WAKEUP_MAILBOX_STRUCTURE
;
616 #define EFI_ACPI_6_4_MULTIPROCESSOR_WAKEUP_MAILBOX_COMMAND_NOOP 0x0000
617 #define EFI_ACPI_6_4_MULTIPROCESSOR_WAKEUP_MAILBOX_COMMAND_WAKEUP 0x0001
620 /// Smart Battery Description Table (SBST)
623 EFI_ACPI_DESCRIPTION_HEADER Header
;
624 UINT32 WarningEnergyLevel
;
625 UINT32 LowEnergyLevel
;
626 UINT32 CriticalEnergyLevel
;
627 } EFI_ACPI_6_4_SMART_BATTERY_DESCRIPTION_TABLE
;
630 /// SBST Version (as defined in ACPI 6.4 spec.)
632 #define EFI_ACPI_6_4_SMART_BATTERY_DESCRIPTION_TABLE_REVISION 0x01
635 /// Embedded Controller Boot Resources Table (ECDT)
636 /// The table is followed by a null terminated ASCII string that contains
637 /// a fully qualified reference to the name space object.
640 EFI_ACPI_DESCRIPTION_HEADER Header
;
641 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE EcControl
;
642 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE EcData
;
645 } EFI_ACPI_6_4_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE
;
648 /// ECDT Version (as defined in ACPI 6.4 spec.)
650 #define EFI_ACPI_6_4_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE_REVISION 0x01
653 /// System Resource Affinity Table (SRAT). The rest of the table
654 /// must be defined in a platform specific manner.
657 EFI_ACPI_DESCRIPTION_HEADER Header
;
658 UINT32 Reserved1
; ///< Must be set to 1
660 } EFI_ACPI_6_4_SYSTEM_RESOURCE_AFFINITY_TABLE_HEADER
;
663 /// SRAT Version (as defined in ACPI 6.4 spec.)
665 #define EFI_ACPI_6_4_SYSTEM_RESOURCE_AFFINITY_TABLE_REVISION 0x03
668 // SRAT structure types.
669 // All other values between 0x06 an 0xFF are reserved and
670 // will be ignored by OSPM.
672 #define EFI_ACPI_6_4_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY 0x00
673 #define EFI_ACPI_6_4_MEMORY_AFFINITY 0x01
674 #define EFI_ACPI_6_4_PROCESSOR_LOCAL_X2APIC_AFFINITY 0x02
675 #define EFI_ACPI_6_4_GICC_AFFINITY 0x03
676 #define EFI_ACPI_6_4_GIC_ITS_AFFINITY 0x04
677 #define EFI_ACPI_6_4_GENERIC_INITIATOR_AFFINITY 0x05
680 /// Processor Local APIC/SAPIC Affinity Structure Definition
685 UINT8 ProximityDomain7To0
;
689 UINT8 ProximityDomain31To8
[3];
691 } EFI_ACPI_6_4_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY_STRUCTURE
;
694 /// Local APIC/SAPIC Flags. All other bits are reserved and must be 0.
696 #define EFI_ACPI_6_4_PROCESSOR_LOCAL_APIC_SAPIC_ENABLED (1 << 0)
699 /// Memory Affinity Structure Definition
704 UINT32 ProximityDomain
;
706 UINT32 AddressBaseLow
;
707 UINT32 AddressBaseHigh
;
713 } EFI_ACPI_6_4_MEMORY_AFFINITY_STRUCTURE
;
716 // Memory Flags. All other bits are reserved and must be 0.
718 #define EFI_ACPI_6_4_MEMORY_ENABLED (1 << 0)
719 #define EFI_ACPI_6_4_MEMORY_HOT_PLUGGABLE (1 << 1)
720 #define EFI_ACPI_6_4_MEMORY_NONVOLATILE (1 << 2)
723 /// Processor Local x2APIC Affinity Structure Definition
729 UINT32 ProximityDomain
;
734 } EFI_ACPI_6_4_PROCESSOR_LOCAL_X2APIC_AFFINITY_STRUCTURE
;
737 /// GICC Affinity Structure Definition
742 UINT32 ProximityDomain
;
743 UINT32 AcpiProcessorUid
;
746 } EFI_ACPI_6_4_GICC_AFFINITY_STRUCTURE
;
749 /// GICC Flags. All other bits are reserved and must be 0.
751 #define EFI_ACPI_6_4_GICC_ENABLED (1 << 0)
754 /// GIC Interrupt Translation Service (ITS) Affinity Structure Definition
759 UINT32 ProximityDomain
;
762 } EFI_ACPI_6_4_GIC_ITS_AFFINITY_STRUCTURE
;
765 // Generic Initiator Affinity Structure Device Handle Types
766 // All other values between 0x02 an 0xFF are reserved and
767 // will be ignored by OSPM.
769 #define EFI_ACPI_6_4_ACPI_DEVICE_HANDLE 0x00
770 #define EFI_ACPI_6_4_PCI_DEVICE_HANDLE 0x01
773 /// Device Handle - ACPI
779 } EFI_ACPI_6_4_DEVICE_HANDLE_ACPI
;
782 /// Device Handle - PCI
788 } EFI_ACPI_6_4_DEVICE_HANDLE_PCI
;
794 EFI_ACPI_6_4_DEVICE_HANDLE_ACPI Acpi
;
795 EFI_ACPI_6_4_DEVICE_HANDLE_PCI Pci
;
796 } EFI_ACPI_6_4_DEVICE_HANDLE
;
799 /// Generic Initiator Affinity Structure
805 UINT8 DeviceHandleType
;
806 UINT32 ProximityDomain
;
807 EFI_ACPI_6_4_DEVICE_HANDLE DeviceHandle
;
810 } EFI_ACPI_6_4_GENERIC_INITIATOR_AFFINITY_STRUCTURE
;
813 /// Generic Initiator Affinity Structure Flags. All other bits are reserved
816 #define EFI_ACPI_6_4_GENERIC_INITIATOR_AFFINITY_STRUCTURE_ENABLED BIT0
817 #define EFI_ACPI_6_4_GENERIC_INITIATOR_AFFINITY_STRUCTURE_ARCHITECTURAL_TRANSACTIONS BIT1
820 /// System Locality Distance Information Table (SLIT).
821 /// The rest of the table is a matrix.
824 EFI_ACPI_DESCRIPTION_HEADER Header
;
825 UINT64 NumberOfSystemLocalities
;
826 } EFI_ACPI_6_4_SYSTEM_LOCALITY_DISTANCE_INFORMATION_TABLE_HEADER
;
829 /// SLIT Version (as defined in ACPI 6.4 spec.)
831 #define EFI_ACPI_6_4_SYSTEM_LOCALITY_DISTANCE_INFORMATION_TABLE_REVISION 0x01
834 /// Corrected Platform Error Polling Table (CPEP)
837 EFI_ACPI_DESCRIPTION_HEADER Header
;
839 } EFI_ACPI_6_4_CORRECTED_PLATFORM_ERROR_POLLING_TABLE_HEADER
;
842 /// CPEP Version (as defined in ACPI 6.4 spec.)
844 #define EFI_ACPI_6_4_CORRECTED_PLATFORM_ERROR_POLLING_TABLE_REVISION 0x01
847 // CPEP processor structure types.
849 #define EFI_ACPI_6_4_CPEP_PROCESSOR_APIC_SAPIC 0x00
852 /// Corrected Platform Error Polling Processor Structure Definition
859 UINT32 PollingInterval
;
860 } EFI_ACPI_6_4_CPEP_PROCESSOR_APIC_SAPIC_STRUCTURE
;
863 /// Maximum System Characteristics Table (MSCT)
866 EFI_ACPI_DESCRIPTION_HEADER Header
;
867 UINT32 OffsetProxDomInfo
;
868 UINT32 MaximumNumberOfProximityDomains
;
869 UINT32 MaximumNumberOfClockDomains
;
870 UINT64 MaximumPhysicalAddress
;
871 } EFI_ACPI_6_4_MAXIMUM_SYSTEM_CHARACTERISTICS_TABLE_HEADER
;
874 /// MSCT Version (as defined in ACPI 6.4 spec.)
876 #define EFI_ACPI_6_4_MAXIMUM_SYSTEM_CHARACTERISTICS_TABLE_REVISION 0x01
879 /// Maximum Proximity Domain Information Structure Definition
884 UINT32 ProximityDomainRangeLow
;
885 UINT32 ProximityDomainRangeHigh
;
886 UINT32 MaximumProcessorCapacity
;
887 UINT64 MaximumMemoryCapacity
;
888 } EFI_ACPI_6_4_MAXIMUM_PROXIMITY_DOMAIN_INFORMATION_STRUCTURE
;
891 /// ACPI RAS Feature Table definition.
894 EFI_ACPI_DESCRIPTION_HEADER Header
;
895 UINT8 PlatformCommunicationChannelIdentifier
[12];
896 } EFI_ACPI_6_4_RAS_FEATURE_TABLE
;
899 /// RASF Version (as defined in ACPI 6.4 spec.)
901 #define EFI_ACPI_6_4_RAS_FEATURE_TABLE_REVISION 0x01
904 /// ACPI RASF Platform Communication Channel Shared Memory Region definition.
911 UINT8 RASCapabilities
[16];
912 UINT8 SetRASCapabilities
[16];
913 UINT16 NumberOfRASFParameterBlocks
;
914 UINT32 SetRASCapabilitiesStatus
;
915 } EFI_ACPI_6_4_RASF_PLATFORM_COMMUNICATION_CHANNEL_SHARED_MEMORY_REGION
;
918 /// ACPI RASF PCC command code
920 #define EFI_ACPI_6_4_RASF_PCC_COMMAND_CODE_EXECUTE_RASF_COMMAND 0x01
923 /// ACPI RASF Platform RAS Capabilities
925 #define EFI_ACPI_6_4_RASF_PLATFORM_RAS_CAPABILITY_HARDWARE_BASED_PATROL_SCRUB_SUPPORTED BIT0
926 #define EFI_ACPI_6_4_RASF_PLATFORM_RAS_CAPABILITY_HARDWARE_BASED_PATROL_SCRUB_SUPPORTED_AND_EXPOSED_TO_SOFTWARE BIT1
927 #define EFI_ACPI_6_4_RASF_PLATFORM_RAS_CAPABILITY_CPU_CACHE_FLUSH_TO_NVDIMM_DURABILITY_ON_POWER_LOSS BIT2
928 #define EFI_ACPI_6_4_RASF_PLATFORM_RAS_CAPABILITY_MEMORY_CONTROLLER_FLUSH_TO_NVDIMM_DURABILITY_ON_POWER_LOSS BIT3
929 #define EFI_ACPI_6_4_RASF_PLATFORM_RAS_CAPABILITY_BYTE_ADDRESSABLE_PERSISTENT_MEMORY_HARDWARE_MIRRORING BIT4
932 /// ACPI RASF Parameter Block structure for PATROL_SCRUB
938 UINT16 PatrolScrubCommand
;
939 UINT64 RequestedAddressRange
[2];
940 UINT64 ActualAddressRange
[2];
942 UINT8 RequestedSpeed
;
943 } EFI_ACPI_6_4_RASF_PATROL_SCRUB_PLATFORM_BLOCK_STRUCTURE
;
946 /// ACPI RASF Patrol Scrub command
948 #define EFI_ACPI_6_4_RASF_PATROL_SCRUB_COMMAND_GET_PATROL_PARAMETERS 0x01
949 #define EFI_ACPI_6_4_RASF_PATROL_SCRUB_COMMAND_START_PATROL_SCRUBBER 0x02
950 #define EFI_ACPI_6_4_RASF_PATROL_SCRUB_COMMAND_STOP_PATROL_SCRUBBER 0x03
953 /// Memory Power State Table definition.
956 EFI_ACPI_DESCRIPTION_HEADER Header
;
957 UINT8 PlatformCommunicationChannelIdentifier
;
959 // Memory Power Node Structure
960 // Memory Power State Characteristics
961 } EFI_ACPI_6_4_MEMORY_POWER_STATUS_TABLE
;
964 /// MPST Version (as defined in ACPI 6.4 spec.)
966 #define EFI_ACPI_6_4_MEMORY_POWER_STATE_TABLE_REVISION 0x01
969 /// MPST Platform Communication Channel Shared Memory Region definition.
975 UINT32 MemoryPowerCommandRegister
;
976 UINT32 MemoryPowerStatusRegister
;
978 UINT32 MemoryPowerNodeId
;
979 UINT64 MemoryEnergyConsumed
;
980 UINT64 ExpectedAveragePowerComsuned
;
981 } EFI_ACPI_6_4_MPST_PLATFORM_COMMUNICATION_CHANNEL_SHARED_MEMORY_REGION
;
984 /// ACPI MPST PCC command code
986 #define EFI_ACPI_6_4_MPST_PCC_COMMAND_CODE_EXECUTE_MPST_COMMAND 0x03
989 /// ACPI MPST Memory Power command
991 #define EFI_ACPI_6_4_MPST_MEMORY_POWER_COMMAND_GET_MEMORY_POWER_STATE 0x01
992 #define EFI_ACPI_6_4_MPST_MEMORY_POWER_COMMAND_SET_MEMORY_POWER_STATE 0x02
993 #define EFI_ACPI_6_4_MPST_MEMORY_POWER_COMMAND_GET_AVERAGE_POWER_CONSUMED 0x03
994 #define EFI_ACPI_6_4_MPST_MEMORY_POWER_COMMAND_GET_MEMORY_ENERGY_CONSUMED 0x04
997 /// MPST Memory Power Node Table
1000 UINT8 PowerStateValue
;
1001 UINT8 PowerStateInformationIndex
;
1002 } EFI_ACPI_6_4_MPST_MEMORY_POWER_STATE
;
1007 UINT16 MemoryPowerNodeId
;
1010 UINT64 AddressLength
;
1011 UINT32 NumberOfPowerStates
;
1012 UINT32 NumberOfPhysicalComponents
;
1013 //EFI_ACPI_6_4_MPST_MEMORY_POWER_STATE MemoryPowerState[NumberOfPowerStates];
1014 //UINT16 PhysicalComponentIdentifier[NumberOfPhysicalComponents];
1015 } EFI_ACPI_6_4_MPST_MEMORY_POWER_STRUCTURE
;
1017 #define EFI_ACPI_6_4_MPST_MEMORY_POWER_STRUCTURE_FLAG_ENABLE 0x01
1018 #define EFI_ACPI_6_4_MPST_MEMORY_POWER_STRUCTURE_FLAG_POWER_MANAGED 0x02
1019 #define EFI_ACPI_6_4_MPST_MEMORY_POWER_STRUCTURE_FLAG_HOT_PLUGGABLE 0x04
1022 UINT16 MemoryPowerNodeCount
;
1024 } EFI_ACPI_6_4_MPST_MEMORY_POWER_NODE_TABLE
;
1027 /// MPST Memory Power State Characteristics Table
1030 UINT8 PowerStateStructureID
;
1033 UINT32 AveragePowerConsumedInMPS0
;
1034 UINT32 RelativePowerSavingToMPS0
;
1035 UINT64 ExitLatencyToMPS0
;
1036 } EFI_ACPI_6_4_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE
;
1038 #define EFI_ACPI_6_4_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE_FLAG_MEMORY_CONTENT_PRESERVED 0x01
1039 #define EFI_ACPI_6_4_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE_FLAG_AUTONOMOUS_MEMORY_POWER_STATE_ENTRY 0x02
1040 #define EFI_ACPI_6_4_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE_FLAG_AUTONOMOUS_MEMORY_POWER_STATE_EXIT 0x04
1043 UINT16 MemoryPowerStateCharacteristicsCount
;
1045 } EFI_ACPI_6_4_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_TABLE
;
1048 /// Platform Memory Topology Table definition.
1051 EFI_ACPI_DESCRIPTION_HEADER Header
;
1052 UINT32 NumberOfMemoryDevices
;
1053 //EFI_ACPI_6_4_PMTT_COMMON_MEMORY_DEVICE MemoryDeviceStructure[NumberOfMemoryDevices];
1054 } EFI_ACPI_6_4_PLATFORM_MEMORY_TOPOLOGY_TABLE
;
1057 /// PMTT Version (as defined in ACPI 6.4 spec.)
1059 #define EFI_ACPI_6_4_MEMORY_TOPOLOGY_TABLE_REVISION 0x02
1062 /// Common Memory Device.
1070 UINT32 NumberOfMemoryDevices
;
1071 //UINT8 TypeSpecificData[];
1072 //EFI_ACPI_6_4_PMTT_COMMON_MEMORY_DEVICE MemoryDeviceStructure[NumberOfMemoryDevices];
1073 } EFI_ACPI_6_4_PMTT_COMMON_MEMORY_DEVICE
;
1076 /// Memory Device Type.
1078 #define EFI_ACPI_6_4_PMTT_MEMORY_DEVICE_TYPE_SOCKET 0x1
1079 #define EFI_ACPI_6_4_PMTT_MEMORY_DEVICE_TYPE_MEMORY_CONTROLLER 0x2
1080 #define EFI_ACPI_6_4_PMTT_MEMORY_DEVICE_TYPE_DIMM 0x3
1081 #define EFI_ACPI_6_4_PMTT_MEMORY_DEVICE_TYPE_VENDOR_SPECIFIC_TYPE 0xFF
1084 /// Socket Type Data.
1087 EFI_ACPI_6_4_PMTT_COMMON_MEMORY_DEVICE CommonMemoryDeviceHeader
;
1088 UINT16 SocketIdentifier
;
1090 //EFI_ACPI_6_4_PMTT_COMMON_MEMORY_DEVICE MemoryDeviceStructure[];
1091 } EFI_ACPI_6_4_PMTT_SOCKET_TYPE_DATA
;
1094 /// Memory Controller Type Data.
1097 EFI_ACPI_6_4_PMTT_COMMON_MEMORY_DEVICE CommonMemoryDeviceHeader
;
1098 UINT16 MemoryControllerIdentifier
;
1100 //EFI_ACPI_6_4_PMTT_COMMON_MEMORY_DEVICE MemoryDeviceStructure[];
1101 } EFI_ACPI_6_4_PMTT_MEMORY_CONTROLLER_TYPE_DATA
;
1104 /// DIMM Type Specific Data.
1107 EFI_ACPI_6_4_PMTT_COMMON_MEMORY_DEVICE CommonMemoryDeviceHeader
;
1108 UINT32 SmbiosHandle
;
1109 } EFI_ACPI_6_4_PMTT_DIMM_TYPE_SPECIFIC_DATA
;
1112 /// Vendor Specific Type Data.
1115 EFI_ACPI_6_4_PMTT_COMMON_MEMORY_DEVICE CommonMemoryDeviceHeader
;
1117 //EFI_ACPI_6_4_PMTT_VENDOR_SPECIFIC_TYPE_DATA VendorSpecificData[];
1118 //EFI_ACPI_6_4_PMTT_COMMON_MEMORY_DEVICE MemoryDeviceStructure[];
1119 } EFI_ACPI_6_4_PMTT_VENDOR_SPECIFIC_TYPE_DATA
;
1122 /// Boot Graphics Resource Table definition.
1125 EFI_ACPI_DESCRIPTION_HEADER Header
;
1127 /// 2-bytes (16 bit) version ID. This value must be 1.
1131 /// 1-byte status field indicating current status about the table.
1132 /// Bits[7:3] = Reserved (must be zero)
1133 /// Bits[2:1] = Orientation Offset. These bits describe the clockwise
1134 /// degree offset from the image's default orientation.
1135 /// [00] = 0, no offset
1139 /// Bit [0] = Displayed. A one indicates the boot image graphic is
1144 /// 1-byte enumerated type field indicating format of the image.
1146 /// 1 - 255 Reserved (for future use)
1150 /// 8-byte (64 bit) physical address pointing to the firmware's in-memory copy
1151 /// of the image bitmap.
1153 UINT64 ImageAddress
;
1155 /// A 4-byte (32-bit) unsigned long describing the display X-offset of the boot image.
1156 /// (X, Y) display offset of the top left corner of the boot image.
1157 /// The top left corner of the display is at offset (0, 0).
1159 UINT32 ImageOffsetX
;
1161 /// A 4-byte (32-bit) unsigned long describing the display Y-offset of the boot image.
1162 /// (X, Y) display offset of the top left corner of the boot image.
1163 /// The top left corner of the display is at offset (0, 0).
1165 UINT32 ImageOffsetY
;
1166 } EFI_ACPI_6_4_BOOT_GRAPHICS_RESOURCE_TABLE
;
1171 #define EFI_ACPI_6_4_BOOT_GRAPHICS_RESOURCE_TABLE_REVISION 1
1176 #define EFI_ACPI_6_4_BGRT_VERSION 0x01
1181 #define EFI_ACPI_6_4_BGRT_STATUS_NOT_DISPLAYED 0x00
1182 #define EFI_ACPI_6_4_BGRT_STATUS_DISPLAYED 0x01
1187 #define EFI_ACPI_6_4_BGRT_IMAGE_TYPE_BMP 0x00
1190 /// FPDT Version (as defined in ACPI 6.4 spec.)
1192 #define EFI_ACPI_6_4_FIRMWARE_PERFORMANCE_DATA_TABLE_REVISION 0x01
1195 /// FPDT Performance Record Types
1197 #define EFI_ACPI_6_4_FPDT_RECORD_TYPE_FIRMWARE_BASIC_BOOT_POINTER 0x0000
1198 #define EFI_ACPI_6_4_FPDT_RECORD_TYPE_S3_PERFORMANCE_TABLE_POINTER 0x0001
1201 /// FPDT Performance Record Revision
1203 #define EFI_ACPI_6_4_FPDT_RECORD_REVISION_FIRMWARE_BASIC_BOOT_POINTER 0x01
1204 #define EFI_ACPI_6_4_FPDT_RECORD_REVISION_S3_PERFORMANCE_TABLE_POINTER 0x01
1207 /// FPDT Runtime Performance Record Types
1209 #define EFI_ACPI_6_4_FPDT_RUNTIME_RECORD_TYPE_S3_RESUME 0x0000
1210 #define EFI_ACPI_6_4_FPDT_RUNTIME_RECORD_TYPE_S3_SUSPEND 0x0001
1211 #define EFI_ACPI_6_4_FPDT_RUNTIME_RECORD_TYPE_FIRMWARE_BASIC_BOOT 0x0002
1214 /// FPDT Runtime Performance Record Revision
1216 #define EFI_ACPI_6_4_FPDT_RUNTIME_RECORD_REVISION_S3_RESUME 0x01
1217 #define EFI_ACPI_6_4_FPDT_RUNTIME_RECORD_REVISION_S3_SUSPEND 0x01
1218 #define EFI_ACPI_6_4_FPDT_RUNTIME_RECORD_REVISION_FIRMWARE_BASIC_BOOT 0x02
1221 /// FPDT Performance Record header
1227 } EFI_ACPI_6_4_FPDT_PERFORMANCE_RECORD_HEADER
;
1230 /// FPDT Performance Table header
1235 } EFI_ACPI_6_4_FPDT_PERFORMANCE_TABLE_HEADER
;
1238 /// FPDT Firmware Basic Boot Performance Pointer Record Structure
1241 EFI_ACPI_6_4_FPDT_PERFORMANCE_RECORD_HEADER Header
;
1244 /// 64-bit processor-relative physical address of the Basic Boot Performance Table.
1246 UINT64 BootPerformanceTablePointer
;
1247 } EFI_ACPI_6_4_FPDT_BOOT_PERFORMANCE_TABLE_POINTER_RECORD
;
1250 /// FPDT S3 Performance Table Pointer Record Structure
1253 EFI_ACPI_6_4_FPDT_PERFORMANCE_RECORD_HEADER Header
;
1256 /// 64-bit processor-relative physical address of the S3 Performance Table.
1258 UINT64 S3PerformanceTablePointer
;
1259 } EFI_ACPI_6_4_FPDT_S3_PERFORMANCE_TABLE_POINTER_RECORD
;
1262 /// FPDT Firmware Basic Boot Performance Record Structure
1265 EFI_ACPI_6_4_FPDT_PERFORMANCE_RECORD_HEADER Header
;
1268 /// Timer value logged at the beginning of firmware image execution.
1269 /// This may not always be zero or near zero.
1273 /// Timer value logged just prior to loading the OS boot loader into memory.
1274 /// For non-UEFI compatible boots, this field must be zero.
1276 UINT64 OsLoaderLoadImageStart
;
1278 /// Timer value logged just prior to launching the previously loaded OS boot loader image.
1279 /// For non-UEFI compatible boots, the timer value logged will be just prior
1280 /// to the INT 19h handler invocation.
1282 UINT64 OsLoaderStartImageStart
;
1284 /// Timer value logged at the point when the OS loader calls the
1285 /// ExitBootServices function for UEFI compatible firmware.
1286 /// For non-UEFI compatible boots, this field must be zero.
1288 UINT64 ExitBootServicesEntry
;
1290 /// Timer value logged at the point just prior towhen the OS loader gaining
1291 /// control back from calls the ExitBootServices function for UEFI compatible firmware.
1292 /// For non-UEFI compatible boots, this field must be zero.
1294 UINT64 ExitBootServicesExit
;
1295 } EFI_ACPI_6_4_FPDT_FIRMWARE_BASIC_BOOT_RECORD
;
1298 /// FPDT Firmware Basic Boot Performance Table signature
1300 #define EFI_ACPI_6_4_FPDT_BOOT_PERFORMANCE_TABLE_SIGNATURE SIGNATURE_32('F', 'B', 'P', 'T')
1303 // FPDT Firmware Basic Boot Performance Table
1306 EFI_ACPI_6_4_FPDT_PERFORMANCE_TABLE_HEADER Header
;
1308 // one or more Performance Records.
1310 } EFI_ACPI_6_4_FPDT_FIRMWARE_BASIC_BOOT_TABLE
;
1313 /// FPDT "S3PT" S3 Performance Table
1315 #define EFI_ACPI_6_4_FPDT_S3_PERFORMANCE_TABLE_SIGNATURE SIGNATURE_32('S', '3', 'P', 'T')
1318 // FPDT Firmware S3 Boot Performance Table
1321 EFI_ACPI_6_4_FPDT_PERFORMANCE_TABLE_HEADER Header
;
1323 // one or more Performance Records.
1325 } EFI_ACPI_6_4_FPDT_FIRMWARE_S3_BOOT_TABLE
;
1328 /// FPDT Basic S3 Resume Performance Record
1331 EFI_ACPI_6_4_FPDT_PERFORMANCE_RECORD_HEADER Header
;
1333 /// A count of the number of S3 resume cycles since the last full boot sequence.
1337 /// Timer recorded at the end of BIOS S3 resume, just prior to handoff to the
1338 /// OS waking vector. Only the most recent resume cycle's time is retained.
1342 /// Average timer value of all resume cycles logged since the last full boot
1343 /// sequence, including the most recent resume. Note that the entire log of
1344 /// timer values does not need to be retained in order to calculate this average.
1346 UINT64 AverageResume
;
1347 } EFI_ACPI_6_4_FPDT_S3_RESUME_RECORD
;
1350 /// FPDT Basic S3 Suspend Performance Record
1353 EFI_ACPI_6_4_FPDT_PERFORMANCE_RECORD_HEADER Header
;
1355 /// Timer value recorded at the OS write to SLP_TYP upon entry to S3.
1356 /// Only the most recent suspend cycle's timer value is retained.
1358 UINT64 SuspendStart
;
1360 /// Timer value recorded at the final firmware write to SLP_TYP (or other
1361 /// mechanism) used to trigger hardware entry to S3.
1362 /// Only the most recent suspend cycle's timer value is retained.
1365 } EFI_ACPI_6_4_FPDT_S3_SUSPEND_RECORD
;
1368 /// Firmware Performance Record Table definition.
1371 EFI_ACPI_DESCRIPTION_HEADER Header
;
1372 } EFI_ACPI_6_4_FIRMWARE_PERFORMANCE_RECORD_TABLE
;
1375 /// Generic Timer Description Table definition.
1378 EFI_ACPI_DESCRIPTION_HEADER Header
;
1379 UINT64 CntControlBasePhysicalAddress
;
1381 UINT32 SecurePL1TimerGSIV
;
1382 UINT32 SecurePL1TimerFlags
;
1383 UINT32 NonSecurePL1TimerGSIV
;
1384 UINT32 NonSecurePL1TimerFlags
;
1385 UINT32 VirtualTimerGSIV
;
1386 UINT32 VirtualTimerFlags
;
1387 UINT32 NonSecurePL2TimerGSIV
;
1388 UINT32 NonSecurePL2TimerFlags
;
1389 UINT64 CntReadBasePhysicalAddress
;
1390 UINT32 PlatformTimerCount
;
1391 UINT32 PlatformTimerOffset
;
1392 UINT32 VirtualPL2TimerGSIV
;
1393 UINT32 VirtualPL2TimerFlags
;
1394 } EFI_ACPI_6_4_GENERIC_TIMER_DESCRIPTION_TABLE
;
1397 /// GTDT Version (as defined in ACPI 6.4 spec.)
1399 #define EFI_ACPI_6_4_GENERIC_TIMER_DESCRIPTION_TABLE_REVISION 0x03
1402 /// Timer Flags. All other bits are reserved and must be 0.
1404 #define EFI_ACPI_6_4_GTDT_TIMER_FLAG_TIMER_INTERRUPT_MODE BIT0
1405 #define EFI_ACPI_6_4_GTDT_TIMER_FLAG_TIMER_INTERRUPT_POLARITY BIT1
1406 #define EFI_ACPI_6_4_GTDT_TIMER_FLAG_ALWAYS_ON_CAPABILITY BIT2
1409 /// Platform Timer Type
1411 #define EFI_ACPI_6_4_GTDT_GT_BLOCK 0
1412 #define EFI_ACPI_6_4_GTDT_ARM_GENERIC_WATCHDOG 1
1415 /// GT Block Structure
1422 UINT32 GTBlockTimerCount
;
1423 UINT32 GTBlockTimerOffset
;
1424 } EFI_ACPI_6_4_GTDT_GT_BLOCK_STRUCTURE
;
1427 /// GT Block Timer Structure
1430 UINT8 GTFrameNumber
;
1434 UINT32 GTxPhysicalTimerGSIV
;
1435 UINT32 GTxPhysicalTimerFlags
;
1436 UINT32 GTxVirtualTimerGSIV
;
1437 UINT32 GTxVirtualTimerFlags
;
1438 UINT32 GTxCommonFlags
;
1439 } EFI_ACPI_6_4_GTDT_GT_BLOCK_TIMER_STRUCTURE
;
1442 /// GT Block Physical Timers and Virtual Timers Flags. All other bits are reserved and must be 0.
1444 #define EFI_ACPI_6_4_GTDT_GT_BLOCK_TIMER_FLAG_TIMER_INTERRUPT_MODE BIT0
1445 #define EFI_ACPI_6_4_GTDT_GT_BLOCK_TIMER_FLAG_TIMER_INTERRUPT_POLARITY BIT1
1448 /// Common Flags Flags. All other bits are reserved and must be 0.
1450 #define EFI_ACPI_6_4_GTDT_GT_BLOCK_COMMON_FLAG_SECURE_TIMER BIT0
1451 #define EFI_ACPI_6_4_GTDT_GT_BLOCK_COMMON_FLAG_ALWAYS_ON_CAPABILITY BIT1
1454 /// Arm Generic Watchdog Structure
1460 UINT64 RefreshFramePhysicalAddress
;
1461 UINT64 WatchdogControlFramePhysicalAddress
;
1462 UINT32 WatchdogTimerGSIV
;
1463 UINT32 WatchdogTimerFlags
;
1464 } EFI_ACPI_6_4_GTDT_ARM_GENERIC_WATCHDOG_STRUCTURE
;
1467 /// Arm Generic Watchdog Timer Flags. All other bits are reserved and must be 0.
1469 #define EFI_ACPI_6_4_GTDT_ARM_GENERIC_WATCHDOG_FLAG_TIMER_INTERRUPT_MODE BIT0
1470 #define EFI_ACPI_6_4_GTDT_ARM_GENERIC_WATCHDOG_FLAG_TIMER_INTERRUPT_POLARITY BIT1
1471 #define EFI_ACPI_6_4_GTDT_ARM_GENERIC_WATCHDOG_FLAG_SECURE_TIMER BIT2
1474 // NVDIMM Firmware Interface Table definition.
1477 EFI_ACPI_DESCRIPTION_HEADER Header
;
1479 } EFI_ACPI_6_4_NVDIMM_FIRMWARE_INTERFACE_TABLE
;
1482 // NFIT Version (as defined in ACPI 6.4 spec.)
1484 #define EFI_ACPI_6_4_NVDIMM_FIRMWARE_INTERFACE_TABLE_REVISION 0x1
1487 // Definition for NFIT Table Structure Types
1489 #define EFI_ACPI_6_4_NFIT_SYSTEM_PHYSICAL_ADDRESS_RANGE_STRUCTURE_TYPE 0
1490 #define EFI_ACPI_6_4_NFIT_NVDIMM_REGION_MAPPING_STRUCTURE_TYPE 1
1491 #define EFI_ACPI_6_4_NFIT_INTERLEAVE_STRUCTURE_TYPE 2
1492 #define EFI_ACPI_6_4_NFIT_SMBIOS_MANAGEMENT_INFORMATION_STRUCTURE_TYPE 3
1493 #define EFI_ACPI_6_4_NFIT_NVDIMM_CONTROL_REGION_STRUCTURE_TYPE 4
1494 #define EFI_ACPI_6_4_NFIT_NVDIMM_BLOCK_DATA_WINDOW_REGION_STRUCTURE_TYPE 5
1495 #define EFI_ACPI_6_4_NFIT_FLUSH_HINT_ADDRESS_STRUCTURE_TYPE 6
1498 // Definition for NFIT Structure Header
1503 } EFI_ACPI_6_4_NFIT_STRUCTURE_HEADER
;
1506 // Definition for System Physical Address Range Structure
1508 #define EFI_ACPI_6_4_NFIT_SYSTEM_PHYSICAL_ADDRESS_RANGE_FLAGS_CONTROL_REGION_FOR_MANAGEMENT BIT0
1509 #define EFI_ACPI_6_4_NFIT_SYSTEM_PHYSICAL_ADDRESS_RANGE_FLAGS_PROXIMITY_DOMAIN_VALID BIT1
1510 #define EFI_ACPI_6_4_NFIT_SYSTEM_PHYSICAL_ADDRESS_RANGE_FLAGS_SPA_LOCATION_COOKIE_VALID BIT2
1512 #define EFI_ACPI_6_4_NFIT_GUID_VOLATILE_MEMORY_REGION { 0x7305944F, 0xFDDA, 0x44E3, { 0xB1, 0x6C, 0x3F, 0x22, 0xD2, 0x52, 0xE5, 0xD0 }}
1513 #define EFI_ACPI_6_4_NFIT_GUID_BYTE_ADDRESSABLE_PERSISTENT_MEMORY_REGION { 0x66F0D379, 0xB4F3, 0x4074, { 0xAC, 0x43, 0x0D, 0x33, 0x18, 0xB7, 0x8C, 0xDB }}
1514 #define EFI_ACPI_6_4_NFIT_GUID_NVDIMM_CONTROL_REGION { 0x92F701F6, 0x13B4, 0x405D, { 0x91, 0x0B, 0x29, 0x93, 0x67, 0xE8, 0x23, 0x4C }}
1515 #define EFI_ACPI_6_4_NFIT_GUID_NVDIMM_BLOCK_DATA_WINDOW_REGION { 0x91AF0530, 0x5D86, 0x470E, { 0xA6, 0xB0, 0x0A, 0x2D, 0xB9, 0x40, 0x82, 0x49 }}
1516 #define EFI_ACPI_6_4_NFIT_GUID_RAM_DISK_SUPPORTING_VIRTUAL_DISK_REGION_VOLATILE { 0x77AB535A, 0x45FC, 0x624B, { 0x55, 0x60, 0xF7, 0xB2, 0x81, 0xD1, 0xF9, 0x6E }}
1517 #define EFI_ACPI_6_4_NFIT_GUID_RAM_DISK_SUPPORTING_VIRTUAL_CD_REGION_VOLATILE { 0x3D5ABD30, 0x4175, 0x87CE, { 0x6D, 0x64, 0xD2, 0xAD, 0xE5, 0x23, 0xC4, 0xBB }}
1518 #define EFI_ACPI_6_4_NFIT_GUID_RAM_DISK_SUPPORTING_VIRTUAL_DISK_REGION_PERSISTENT { 0x5CEA02C9, 0x4D07, 0x69D3, { 0x26, 0x9F ,0x44, 0x96, 0xFB, 0xE0, 0x96, 0xF9 }}
1519 #define EFI_ACPI_6_4_NFIT_GUID_RAM_DISK_SUPPORTING_VIRTUAL_CD_REGION_PERSISTENT { 0x08018188, 0x42CD, 0xBB48, { 0x10, 0x0F, 0x53, 0x87, 0xD5, 0x3D, 0xED, 0x3D }}
1524 UINT16 SPARangeStructureIndex
;
1527 UINT32 ProximityDomain
;
1528 GUID AddressRangeTypeGUID
;
1529 UINT64 SystemPhysicalAddressRangeBase
;
1530 UINT64 SystemPhysicalAddressRangeLength
;
1531 UINT64 AddressRangeMemoryMappingAttribute
;
1532 UINT64 SPALocationCookie
;
1533 } EFI_ACPI_6_4_NFIT_SYSTEM_PHYSICAL_ADDRESS_RANGE_STRUCTURE
;
1536 // Definition for Memory Device to System Physical Address Range Mapping Structure
1539 UINT32 DIMMNumber
:4;
1540 UINT32 MemoryChannelNumber
:4;
1541 UINT32 MemoryControllerID
:4;
1543 UINT32 NodeControllerID
:12;
1544 UINT32 Reserved_28
:4;
1545 } EFI_ACPI_6_4_NFIT_DEVICE_HANDLE
;
1547 #define EFI_ACPI_6_4_NFIT_MEMORY_DEVICE_STATE_FLAGS_PREVIOUS_SAVE_FAIL BIT0
1548 #define EFI_ACPI_6_4_NFIT_MEMORY_DEVICE_STATE_FLAGS_LAST_RESTORE_FAIL BIT1
1549 #define EFI_ACPI_6_4_NFIT_MEMORY_DEVICE_STATE_FLAGS_PLATFORM_FLUSH_FAIL BIT2
1550 #define EFI_ACPI_6_4_NFIT_MEMORY_DEVICE_STATE_FLAGS_NOT_ARMED_PRIOR_TO_OSPM_HAND_OFF BIT3
1551 #define EFI_ACPI_6_4_NFIT_MEMORY_DEVICE_STATE_FLAGS_SMART_HEALTH_EVENTS_PRIOR_OSPM_HAND_OFF BIT4
1552 #define EFI_ACPI_6_4_NFIT_MEMORY_DEVICE_STATE_FLAGS_FIRMWARE_ENABLED_TO_NOTIFY_OSPM_ON_SMART_HEALTH_EVENTS BIT5
1553 #define EFI_ACPI_6_4_NFIT_MEMORY_DEVICE_STATE_FLAGS_FIRMWARE_NOT_MAP_NVDIMM_TO_SPA BIT6
1558 EFI_ACPI_6_4_NFIT_DEVICE_HANDLE NFITDeviceHandle
;
1559 UINT16 NVDIMMPhysicalID
;
1560 UINT16 NVDIMMRegionID
;
1561 UINT16 SPARangeStructureIndex
;
1562 UINT16 NVDIMMControlRegionStructureIndex
;
1563 UINT64 NVDIMMRegionSize
;
1564 UINT64 RegionOffset
;
1565 UINT64 NVDIMMPhysicalAddressRegionBase
;
1566 UINT16 InterleaveStructureIndex
;
1567 UINT16 InterleaveWays
;
1568 UINT16 NVDIMMStateFlags
;
1570 } EFI_ACPI_6_4_NFIT_NVDIMM_REGION_MAPPING_STRUCTURE
;
1573 // Definition for Interleave Structure
1578 UINT16 InterleaveStructureIndex
;
1580 UINT32 NumberOfLines
;
1582 //UINT32 LineOffset[NumberOfLines];
1583 } EFI_ACPI_6_4_NFIT_INTERLEAVE_STRUCTURE
;
1586 // Definition for SMBIOS Management Information Structure
1593 } EFI_ACPI_6_4_NFIT_SMBIOS_MANAGEMENT_INFORMATION_STRUCTURE
;
1596 // Definition for NVDIMM Control Region Structure
1598 #define EFI_ACPI_6_4_NFIT_NVDIMM_CONTROL_REGION_VALID_FIELDS_MANUFACTURING BIT0
1600 #define EFI_ACPI_6_4_NFIT_NVDIMM_CONTROL_REGION_FLAGS_BLOCK_DATA_WINDOWS_BUFFERED BIT0
1605 UINT16 NVDIMMControlRegionStructureIndex
;
1609 UINT16 SubsystemVendorID
;
1610 UINT16 SubsystemDeviceID
;
1611 UINT16 SubsystemRevisionID
;
1613 UINT8 ManufacturingLocation
;
1614 UINT16 ManufacturingDate
;
1615 UINT8 Reserved_22
[2];
1616 UINT32 SerialNumber
;
1617 UINT16 RegionFormatInterfaceCode
;
1618 UINT16 NumberOfBlockControlWindows
;
1619 UINT64 SizeOfBlockControlWindow
;
1620 UINT64 CommandRegisterOffsetInBlockControlWindow
;
1621 UINT64 SizeOfCommandRegisterInBlockControlWindows
;
1622 UINT64 StatusRegisterOffsetInBlockControlWindow
;
1623 UINT64 SizeOfStatusRegisterInBlockControlWindows
;
1624 UINT16 NVDIMMControlRegionFlag
;
1625 UINT8 Reserved_74
[6];
1626 } EFI_ACPI_6_4_NFIT_NVDIMM_CONTROL_REGION_STRUCTURE
;
1629 // Definition for NVDIMM Block Data Window Region Structure
1634 UINT16 NVDIMMControlRegionStructureIndex
;
1635 UINT16 NumberOfBlockDataWindows
;
1636 UINT64 BlockDataWindowStartOffset
;
1637 UINT64 SizeOfBlockDataWindow
;
1638 UINT64 BlockAccessibleMemoryCapacity
;
1639 UINT64 BeginningAddressOfFirstBlockInBlockAccessibleMemory
;
1640 } EFI_ACPI_6_4_NFIT_NVDIMM_BLOCK_DATA_WINDOW_REGION_STRUCTURE
;
1643 // Definition for Flush Hint Address Structure
1648 EFI_ACPI_6_4_NFIT_DEVICE_HANDLE NFITDeviceHandle
;
1649 UINT16 NumberOfFlushHintAddresses
;
1650 UINT8 Reserved_10
[6];
1651 //UINT64 FlushHintAddress[NumberOfFlushHintAddresses];
1652 } EFI_ACPI_6_4_NFIT_FLUSH_HINT_ADDRESS_STRUCTURE
;
1655 /// Secure DEVices Table (SDEV)
1658 EFI_ACPI_DESCRIPTION_HEADER Header
;
1659 } EFI_ACPI_6_4_SECURE_DEVICES_TABLE_HEADER
;
1662 /// SDEV Revision (as defined in ACPI 6.4 spec.)
1664 #define EFI_ACPI_6_4_SECURE_DEVICES_TABLE_REVISION 0x01
1667 /// Secure Device types
1669 #define EFI_ACPI_6_4_SDEV_TYPE_ACPI_NAMESPACE_DEVICE 0x00
1670 #define EFI_ACPI_6_4_SDEV_TYPE_PCIE_ENDPOINT_DEVICE 0x01
1673 /// Secure Device flags
1675 #define EFI_ACPI_6_4_SDEV_FLAG_ALLOW_HANDOFF BIT0
1676 #define EFI_ACPI_6_4_SDEV_FLAG_SECURE_ACCESS_COMPONENTS_PRESENT BIT1
1679 /// SDEV Structure Header
1685 } EFI_ACPI_6_4_SDEV_STRUCTURE_HEADER
;
1688 /// ACPI_NAMESPACE_DEVICE based Secure Device Structure
1691 EFI_ACPI_6_4_SDEV_STRUCTURE_HEADER Header
;
1692 UINT16 DeviceIdentifierOffset
;
1693 UINT16 DeviceIdentifierLength
;
1694 UINT16 VendorSpecificDataOffset
;
1695 UINT16 VendorSpecificDataLength
;
1696 UINT16 SecureAccessComponentsOffset
;
1697 UINT16 SecureAccessComponentsLength
;
1698 } EFI_ACPI_6_4_SDEV_STRUCTURE_ACPI_NAMESPACE_DEVICE
;
1701 /// Secure Access Component Types
1703 #define EFI_ACPI_6_4_SDEV_SECURE_ACCESS_COMPONENT_TYPE_IDENTIFICATION 0x00
1704 #define EFI_ACPI_6_4_SDEV_SECURE_ACCESS_COMPONENT_TYPE_MEMORY 0x01
1707 /// Identification Based Secure Access Component
1710 EFI_ACPI_6_4_SDEV_STRUCTURE_HEADER Header
;
1711 UINT16 HardwareIdentifierOffset
;
1712 UINT16 HardwareIdentifierLength
;
1713 UINT16 SubsystemIdentifierOffset
;
1714 UINT16 SubsystemIdentifierLength
;
1715 UINT16 HardwareRevision
;
1716 UINT8 HardwareRevisionPresent
;
1717 UINT8 ClassCodePresent
;
1718 UINT8 PciCompatibleBaseClass
;
1719 UINT8 PciCompatibleSubClass
;
1720 UINT8 PciCompatibleProgrammingInterface
;
1721 } EFI_ACPI_6_4_SDEV_SECURE_ACCESS_COMPONENT_IDENTIFICATION_STRUCTURE
;
1724 /// Memory-based Secure Access Component
1727 EFI_ACPI_6_4_SDEV_STRUCTURE_HEADER Header
;
1729 UINT64 MemoryAddressBase
;
1730 UINT64 MemoryLength
;
1731 } EFI_ACPI_6_4_SDEV_SECURE_ACCESS_COMPONENT_MEMORY_STRUCTURE
;
1734 /// PCIe Endpoint Device based Secure Device Structure
1737 EFI_ACPI_6_4_SDEV_STRUCTURE_HEADER Header
;
1738 UINT16 PciSegmentNumber
;
1739 UINT16 StartBusNumber
;
1740 UINT16 PciPathOffset
;
1741 UINT16 PciPathLength
;
1742 UINT16 VendorSpecificDataOffset
;
1743 UINT16 VendorSpecificDataLength
;
1744 } EFI_ACPI_6_4_SDEV_STRUCTURE_PCIE_ENDPOINT_DEVICE
;
1747 /// Boot Error Record Table (BERT)
1750 EFI_ACPI_DESCRIPTION_HEADER Header
;
1751 UINT32 BootErrorRegionLength
;
1752 UINT64 BootErrorRegion
;
1753 } EFI_ACPI_6_4_BOOT_ERROR_RECORD_TABLE_HEADER
;
1756 /// BERT Version (as defined in ACPI 6.4 spec.)
1758 #define EFI_ACPI_6_4_BOOT_ERROR_RECORD_TABLE_REVISION 0x01
1761 /// Boot Error Region Block Status Definition
1764 UINT32 UncorrectableErrorValid
:1;
1765 UINT32 CorrectableErrorValid
:1;
1766 UINT32 MultipleUncorrectableErrors
:1;
1767 UINT32 MultipleCorrectableErrors
:1;
1768 UINT32 ErrorDataEntryCount
:10;
1770 } EFI_ACPI_6_4_ERROR_BLOCK_STATUS
;
1773 /// Boot Error Region Definition
1776 EFI_ACPI_6_4_ERROR_BLOCK_STATUS BlockStatus
;
1777 UINT32 RawDataOffset
;
1778 UINT32 RawDataLength
;
1780 UINT32 ErrorSeverity
;
1781 } EFI_ACPI_6_4_BOOT_ERROR_REGION_STRUCTURE
;
1784 // Boot Error Severity types
1786 #define EFI_ACPI_6_4_ERROR_SEVERITY_CORRECTABLE 0x00
1787 #define EFI_ACPI_6_4_ERROR_SEVERITY_FATAL 0x01
1788 #define EFI_ACPI_6_4_ERROR_SEVERITY_CORRECTED 0x02
1789 #define EFI_ACPI_6_4_ERROR_SEVERITY_NONE 0x03
1792 /// Generic Error Data Entry Definition
1795 UINT8 SectionType
[16];
1796 UINT32 ErrorSeverity
;
1798 UINT8 ValidationBits
;
1800 UINT32 ErrorDataLength
;
1804 } EFI_ACPI_6_4_GENERIC_ERROR_DATA_ENTRY_STRUCTURE
;
1807 /// Generic Error Data Entry Version (as defined in ACPI 6.4 spec.)
1809 #define EFI_ACPI_6_4_GENERIC_ERROR_DATA_ENTRY_REVISION 0x0300
1812 /// HEST - Hardware Error Source Table
1815 EFI_ACPI_DESCRIPTION_HEADER Header
;
1816 UINT32 ErrorSourceCount
;
1817 } EFI_ACPI_6_4_HARDWARE_ERROR_SOURCE_TABLE_HEADER
;
1820 /// HEST Version (as defined in ACPI 6.4 spec.)
1822 #define EFI_ACPI_6_4_HARDWARE_ERROR_SOURCE_TABLE_REVISION 0x01
1825 // Error Source structure types.
1827 #define EFI_ACPI_6_4_IA32_ARCHITECTURE_MACHINE_CHECK_EXCEPTION 0x00
1828 #define EFI_ACPI_6_4_IA32_ARCHITECTURE_CORRECTED_MACHINE_CHECK 0x01
1829 #define EFI_ACPI_6_4_IA32_ARCHITECTURE_NMI_ERROR 0x02
1830 #define EFI_ACPI_6_4_PCI_EXPRESS_ROOT_PORT_AER 0x06
1831 #define EFI_ACPI_6_4_PCI_EXPRESS_DEVICE_AER 0x07
1832 #define EFI_ACPI_6_4_PCI_EXPRESS_BRIDGE_AER 0x08
1833 #define EFI_ACPI_6_4_GENERIC_HARDWARE_ERROR 0x09
1834 #define EFI_ACPI_6_4_GENERIC_HARDWARE_ERROR_VERSION_2 0x0A
1835 #define EFI_ACPI_6_4_IA32_ARCHITECTURE_DEFERRED_MACHINE_CHECK 0x0B
1838 // Error Source structure flags.
1840 #define EFI_ACPI_6_4_ERROR_SOURCE_FLAG_FIRMWARE_FIRST (1 << 0)
1841 #define EFI_ACPI_6_4_ERROR_SOURCE_FLAG_GLOBAL (1 << 1)
1842 #define EFI_ACPI_6_4_ERROR_SOURCE_FLAG_GHES_ASSIST (1 << 2)
1845 /// IA-32 Architecture Machine Check Exception Structure Definition
1853 UINT32 NumberOfRecordsToPreAllocate
;
1854 UINT32 MaxSectionsPerRecord
;
1855 UINT64 GlobalCapabilityInitData
;
1856 UINT64 GlobalControlInitData
;
1857 UINT8 NumberOfHardwareBanks
;
1859 } EFI_ACPI_6_4_IA32_ARCHITECTURE_MACHINE_CHECK_EXCEPTION_STRUCTURE
;
1862 /// IA-32 Architecture Machine Check Bank Structure Definition
1866 UINT8 ClearStatusOnInitialization
;
1867 UINT8 StatusDataFormat
;
1869 UINT32 ControlRegisterMsrAddress
;
1870 UINT64 ControlInitData
;
1871 UINT32 StatusRegisterMsrAddress
;
1872 UINT32 AddressRegisterMsrAddress
;
1873 UINT32 MiscRegisterMsrAddress
;
1874 } EFI_ACPI_6_4_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_BANK_STRUCTURE
;
1877 /// IA-32 Architecture Machine Check Bank Structure MCA data format
1879 #define EFI_ACPI_6_4_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_DATA_FORMAT_IA32 0x00
1880 #define EFI_ACPI_6_4_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_DATA_FORMAT_INTEL64 0x01
1881 #define EFI_ACPI_6_4_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_DATA_FORMAT_AMD64 0x02
1884 // Hardware Error Notification types. All other values are reserved
1886 #define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_POLLED 0x00
1887 #define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_EXTERNAL_INTERRUPT 0x01
1888 #define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_LOCAL_INTERRUPT 0x02
1889 #define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_SCI 0x03
1890 #define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_NMI 0x04
1891 #define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_CMCI 0x05
1892 #define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_MCE 0x06
1893 #define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_GPIO_SIGNAL 0x07
1894 #define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_ARMV8_SEA 0x08
1895 #define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_ARMV8_SEI 0x09
1896 #define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_GSIV 0x0A
1897 #define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_SOFTWARE_DELEGATED_EXCEPTION 0x0B
1900 /// Hardware Error Notification Configuration Write Enable Structure Definition
1904 UINT16 PollInterval
:1;
1905 UINT16 SwitchToPollingThresholdValue
:1;
1906 UINT16 SwitchToPollingThresholdWindow
:1;
1907 UINT16 ErrorThresholdValue
:1;
1908 UINT16 ErrorThresholdWindow
:1;
1910 } EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_CONFIGURATION_WRITE_ENABLE_STRUCTURE
;
1913 /// Hardware Error Notification Structure Definition
1918 EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_CONFIGURATION_WRITE_ENABLE_STRUCTURE ConfigurationWriteEnable
;
1919 UINT32 PollInterval
;
1921 UINT32 SwitchToPollingThresholdValue
;
1922 UINT32 SwitchToPollingThresholdWindow
;
1923 UINT32 ErrorThresholdValue
;
1924 UINT32 ErrorThresholdWindow
;
1925 } EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_STRUCTURE
;
1928 /// IA-32 Architecture Corrected Machine Check Structure Definition
1936 UINT32 NumberOfRecordsToPreAllocate
;
1937 UINT32 MaxSectionsPerRecord
;
1938 EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStructure
;
1939 UINT8 NumberOfHardwareBanks
;
1941 } EFI_ACPI_6_4_IA32_ARCHITECTURE_CORRECTED_MACHINE_CHECK_STRUCTURE
;
1944 /// IA-32 Architecture NMI Error Structure Definition
1950 UINT32 NumberOfRecordsToPreAllocate
;
1951 UINT32 MaxSectionsPerRecord
;
1952 UINT32 MaxRawDataLength
;
1953 } EFI_ACPI_6_4_IA32_ARCHITECTURE_NMI_ERROR_STRUCTURE
;
1956 /// PCI Express Root Port AER Structure Definition
1964 UINT32 NumberOfRecordsToPreAllocate
;
1965 UINT32 MaxSectionsPerRecord
;
1969 UINT16 DeviceControl
;
1971 UINT32 UncorrectableErrorMask
;
1972 UINT32 UncorrectableErrorSeverity
;
1973 UINT32 CorrectableErrorMask
;
1974 UINT32 AdvancedErrorCapabilitiesAndControl
;
1975 UINT32 RootErrorCommand
;
1976 } EFI_ACPI_6_4_PCI_EXPRESS_ROOT_PORT_AER_STRUCTURE
;
1979 /// PCI Express Device AER Structure Definition
1987 UINT32 NumberOfRecordsToPreAllocate
;
1988 UINT32 MaxSectionsPerRecord
;
1992 UINT16 DeviceControl
;
1994 UINT32 UncorrectableErrorMask
;
1995 UINT32 UncorrectableErrorSeverity
;
1996 UINT32 CorrectableErrorMask
;
1997 UINT32 AdvancedErrorCapabilitiesAndControl
;
1998 } EFI_ACPI_6_4_PCI_EXPRESS_DEVICE_AER_STRUCTURE
;
2001 /// PCI Express Bridge AER Structure Definition
2009 UINT32 NumberOfRecordsToPreAllocate
;
2010 UINT32 MaxSectionsPerRecord
;
2014 UINT16 DeviceControl
;
2016 UINT32 UncorrectableErrorMask
;
2017 UINT32 UncorrectableErrorSeverity
;
2018 UINT32 CorrectableErrorMask
;
2019 UINT32 AdvancedErrorCapabilitiesAndControl
;
2020 UINT32 SecondaryUncorrectableErrorMask
;
2021 UINT32 SecondaryUncorrectableErrorSeverity
;
2022 UINT32 SecondaryAdvancedErrorCapabilitiesAndControl
;
2023 } EFI_ACPI_6_4_PCI_EXPRESS_BRIDGE_AER_STRUCTURE
;
2026 /// Generic Hardware Error Source Structure Definition
2031 UINT16 RelatedSourceId
;
2034 UINT32 NumberOfRecordsToPreAllocate
;
2035 UINT32 MaxSectionsPerRecord
;
2036 UINT32 MaxRawDataLength
;
2037 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE ErrorStatusAddress
;
2038 EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStructure
;
2039 UINT32 ErrorStatusBlockLength
;
2040 } EFI_ACPI_6_4_GENERIC_HARDWARE_ERROR_SOURCE_STRUCTURE
;
2043 /// Generic Hardware Error Source Version 2 Structure Definition
2048 UINT16 RelatedSourceId
;
2051 UINT32 NumberOfRecordsToPreAllocate
;
2052 UINT32 MaxSectionsPerRecord
;
2053 UINT32 MaxRawDataLength
;
2054 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE ErrorStatusAddress
;
2055 EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStructure
;
2056 UINT32 ErrorStatusBlockLength
;
2057 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE ReadAckRegister
;
2058 UINT64 ReadAckPreserve
;
2059 UINT64 ReadAckWrite
;
2060 } EFI_ACPI_6_4_GENERIC_HARDWARE_ERROR_SOURCE_VERSION_2_STRUCTURE
;
2063 /// Generic Error Status Definition
2066 EFI_ACPI_6_4_ERROR_BLOCK_STATUS BlockStatus
;
2067 UINT32 RawDataOffset
;
2068 UINT32 RawDataLength
;
2070 UINT32 ErrorSeverity
;
2071 } EFI_ACPI_6_4_GENERIC_ERROR_STATUS_STRUCTURE
;
2074 /// IA-32 Architecture Deferred Machine Check Structure Definition
2082 UINT32 NumberOfRecordsToPreAllocate
;
2083 UINT32 MaxSectionsPerRecord
;
2084 EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStructure
;
2085 UINT8 NumberOfHardwareBanks
;
2087 } EFI_ACPI_6_4_IA32_ARCHITECTURE_DEFERRED_MACHINE_CHECK_STRUCTURE
;;
2090 /// HMAT - Heterogeneous Memory Attribute Table
2093 EFI_ACPI_DESCRIPTION_HEADER Header
;
2095 } EFI_ACPI_6_4_HETEROGENEOUS_MEMORY_ATTRIBUTE_TABLE_HEADER
;
2098 /// HMAT Revision (as defined in ACPI 6.4 spec.)
2100 #define EFI_ACPI_6_4_HETEROGENEOUS_MEMORY_ATTRIBUTE_TABLE_REVISION 0x02
2105 #define EFI_ACPI_6_4_HMAT_TYPE_MEMORY_PROXIMITY_DOMAIN_ATTRIBUTES 0x00
2106 #define EFI_ACPI_6_4_HMAT_TYPE_SYSTEM_LOCALITY_LATENCY_AND_BANDWIDTH_INFO 0x01
2107 #define EFI_ACPI_6_4_HMAT_TYPE_MEMORY_SIDE_CACHE_INFO 0x02
2110 /// HMAT Structure Header
2116 } EFI_ACPI_6_4_HMAT_STRUCTURE_HEADER
;
2119 /// Memory Proximity Domain Attributes Structure flags
2122 UINT16 InitiatorProximityDomainValid
:1;
2124 } EFI_ACPI_6_4_HMAT_STRUCTURE_MEMORY_PROXIMITY_DOMAIN_ATTRIBUTES_FLAGS
;
2127 /// Memory Proximity Domain Attributes Structure
2133 EFI_ACPI_6_4_HMAT_STRUCTURE_MEMORY_PROXIMITY_DOMAIN_ATTRIBUTES_FLAGS Flags
;
2135 UINT32 InitiatorProximityDomain
;
2136 UINT32 MemoryProximityDomain
;
2137 UINT8 Reserved2
[20];
2138 } EFI_ACPI_6_4_HMAT_STRUCTURE_MEMORY_PROXIMITY_DOMAIN_ATTRIBUTES
;
2141 /// System Locality Latency and Bandwidth Information Structure flags
2144 UINT8 MemoryHierarchy
:4;
2145 UINT8 AccessAttributes
:2;
2147 } EFI_ACPI_6_4_HMAT_STRUCTURE_SYSTEM_LOCALITY_LATENCY_AND_BANDWIDTH_INFO_FLAGS
;
2150 /// System Locality Latency and Bandwidth Information Structure
2156 EFI_ACPI_6_4_HMAT_STRUCTURE_SYSTEM_LOCALITY_LATENCY_AND_BANDWIDTH_INFO_FLAGS Flags
;
2158 UINT8 MinTransferSize
;
2160 UINT32 NumberOfInitiatorProximityDomains
;
2161 UINT32 NumberOfTargetProximityDomains
;
2163 UINT64 EntryBaseUnit
;
2164 } EFI_ACPI_6_4_HMAT_STRUCTURE_SYSTEM_LOCALITY_LATENCY_AND_BANDWIDTH_INFO
;
2167 /// Memory Side Cache Information Structure cache attributes
2170 UINT32 TotalCacheLevels
:4;
2171 UINT32 CacheLevel
:4;
2172 UINT32 CacheAssociativity
:4;
2173 UINT32 WritePolicy
:4;
2174 UINT32 CacheLineSize
:16;
2175 } EFI_ACPI_6_4_HMAT_STRUCTURE_MEMORY_SIDE_CACHE_INFO_CACHE_ATTRIBUTES
;
2178 /// Memory Side Cache Information Structure
2184 UINT32 MemoryProximityDomain
;
2186 UINT64 MemorySideCacheSize
;
2187 EFI_ACPI_6_4_HMAT_STRUCTURE_MEMORY_SIDE_CACHE_INFO_CACHE_ATTRIBUTES CacheAttributes
;
2189 UINT16 NumberOfSmbiosHandles
;
2190 } EFI_ACPI_6_4_HMAT_STRUCTURE_MEMORY_SIDE_CACHE_INFO
;
2193 /// ERST - Error Record Serialization Table
2196 EFI_ACPI_DESCRIPTION_HEADER Header
;
2197 UINT32 SerializationHeaderSize
;
2199 UINT32 InstructionEntryCount
;
2200 } EFI_ACPI_6_4_ERROR_RECORD_SERIALIZATION_TABLE_HEADER
;
2203 /// ERST Version (as defined in ACPI 6.4 spec.)
2205 #define EFI_ACPI_6_4_ERROR_RECORD_SERIALIZATION_TABLE_REVISION 0x01
2208 /// ERST Serialization Actions
2210 #define EFI_ACPI_6_4_ERST_BEGIN_WRITE_OPERATION 0x00
2211 #define EFI_ACPI_6_4_ERST_BEGIN_READ_OPERATION 0x01
2212 #define EFI_ACPI_6_4_ERST_BEGIN_CLEAR_OPERATION 0x02
2213 #define EFI_ACPI_6_4_ERST_END_OPERATION 0x03
2214 #define EFI_ACPI_6_4_ERST_SET_RECORD_OFFSET 0x04
2215 #define EFI_ACPI_6_4_ERST_EXECUTE_OPERATION 0x05
2216 #define EFI_ACPI_6_4_ERST_CHECK_BUSY_STATUS 0x06
2217 #define EFI_ACPI_6_4_ERST_GET_COMMAND_STATUS 0x07
2218 #define EFI_ACPI_6_4_ERST_GET_RECORD_IDENTIFIER 0x08
2219 #define EFI_ACPI_6_4_ERST_SET_RECORD_IDENTIFIER 0x09
2220 #define EFI_ACPI_6_4_ERST_GET_RECORD_COUNT 0x0A
2221 #define EFI_ACPI_6_4_ERST_BEGIN_DUMMY_WRITE_OPERATION 0x0B
2222 #define EFI_ACPI_6_4_ERST_GET_ERROR_LOG_ADDRESS_RANGE 0x0D
2223 #define EFI_ACPI_6_4_ERST_GET_ERROR_LOG_ADDRESS_RANGE_LENGTH 0x0E
2224 #define EFI_ACPI_6_4_ERST_GET_ERROR_LOG_ADDRESS_RANGE_ATTRIBUTES 0x0F
2225 #define EFI_ACPI_6_4_ERST_GET_EXECUTE_OPERATION_TIMINGS 0x10
2228 /// ERST Action Command Status
2230 #define EFI_ACPI_6_4_ERST_STATUS_SUCCESS 0x00
2231 #define EFI_ACPI_6_4_ERST_STATUS_NOT_ENOUGH_SPACE 0x01
2232 #define EFI_ACPI_6_4_ERST_STATUS_HARDWARE_NOT_AVAILABLE 0x02
2233 #define EFI_ACPI_6_4_ERST_STATUS_FAILED 0x03
2234 #define EFI_ACPI_6_4_ERST_STATUS_RECORD_STORE_EMPTY 0x04
2235 #define EFI_ACPI_6_4_ERST_STATUS_RECORD_NOT_FOUND 0x05
2238 /// ERST Serialization Instructions
2240 #define EFI_ACPI_6_4_ERST_READ_REGISTER 0x00
2241 #define EFI_ACPI_6_4_ERST_READ_REGISTER_VALUE 0x01
2242 #define EFI_ACPI_6_4_ERST_WRITE_REGISTER 0x02
2243 #define EFI_ACPI_6_4_ERST_WRITE_REGISTER_VALUE 0x03
2244 #define EFI_ACPI_6_4_ERST_NOOP 0x04
2245 #define EFI_ACPI_6_4_ERST_LOAD_VAR1 0x05
2246 #define EFI_ACPI_6_4_ERST_LOAD_VAR2 0x06
2247 #define EFI_ACPI_6_4_ERST_STORE_VAR1 0x07
2248 #define EFI_ACPI_6_4_ERST_ADD 0x08
2249 #define EFI_ACPI_6_4_ERST_SUBTRACT 0x09
2250 #define EFI_ACPI_6_4_ERST_ADD_VALUE 0x0A
2251 #define EFI_ACPI_6_4_ERST_SUBTRACT_VALUE 0x0B
2252 #define EFI_ACPI_6_4_ERST_STALL 0x0C
2253 #define EFI_ACPI_6_4_ERST_STALL_WHILE_TRUE 0x0D
2254 #define EFI_ACPI_6_4_ERST_SKIP_NEXT_INSTRUCTION_IF_TRUE 0x0E
2255 #define EFI_ACPI_6_4_ERST_GOTO 0x0F
2256 #define EFI_ACPI_6_4_ERST_SET_SRC_ADDRESS_BASE 0x10
2257 #define EFI_ACPI_6_4_ERST_SET_DST_ADDRESS_BASE 0x11
2258 #define EFI_ACPI_6_4_ERST_MOVE_DATA 0x12
2261 /// ERST Instruction Flags
2263 #define EFI_ACPI_6_4_ERST_PRESERVE_REGISTER 0x01
2266 /// ERST Serialization Instruction Entry
2269 UINT8 SerializationAction
;
2273 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE RegisterRegion
;
2276 } EFI_ACPI_6_4_ERST_SERIALIZATION_INSTRUCTION_ENTRY
;
2279 /// EINJ - Error Injection Table
2282 EFI_ACPI_DESCRIPTION_HEADER Header
;
2283 UINT32 InjectionHeaderSize
;
2284 UINT8 InjectionFlags
;
2286 UINT32 InjectionEntryCount
;
2287 } EFI_ACPI_6_4_ERROR_INJECTION_TABLE_HEADER
;
2290 /// EINJ Version (as defined in ACPI 6.4 spec.)
2292 #define EFI_ACPI_6_4_ERROR_INJECTION_TABLE_REVISION 0x01
2295 /// EINJ Error Injection Actions
2297 #define EFI_ACPI_6_4_EINJ_BEGIN_INJECTION_OPERATION 0x00
2298 #define EFI_ACPI_6_4_EINJ_GET_TRIGGER_ERROR_ACTION_TABLE 0x01
2299 #define EFI_ACPI_6_4_EINJ_SET_ERROR_TYPE 0x02
2300 #define EFI_ACPI_6_4_EINJ_GET_ERROR_TYPE 0x03
2301 #define EFI_ACPI_6_4_EINJ_END_OPERATION 0x04
2302 #define EFI_ACPI_6_4_EINJ_EXECUTE_OPERATION 0x05
2303 #define EFI_ACPI_6_4_EINJ_CHECK_BUSY_STATUS 0x06
2304 #define EFI_ACPI_6_4_EINJ_GET_COMMAND_STATUS 0x07
2305 #define EFI_ACPI_6_4_EINJ_TRIGGER_ERROR 0xFF
2308 /// EINJ Action Command Status
2310 #define EFI_ACPI_6_4_EINJ_STATUS_SUCCESS 0x00
2311 #define EFI_ACPI_6_4_EINJ_STATUS_UNKNOWN_FAILURE 0x01
2312 #define EFI_ACPI_6_4_EINJ_STATUS_INVALID_ACCESS 0x02
2315 /// EINJ Error Type Definition
2317 #define EFI_ACPI_6_4_EINJ_ERROR_PROCESSOR_CORRECTABLE (1 << 0)
2318 #define EFI_ACPI_6_4_EINJ_ERROR_PROCESSOR_UNCORRECTABLE_NONFATAL (1 << 1)
2319 #define EFI_ACPI_6_4_EINJ_ERROR_PROCESSOR_UNCORRECTABLE_FATAL (1 << 2)
2320 #define EFI_ACPI_6_4_EINJ_ERROR_MEMORY_CORRECTABLE (1 << 3)
2321 #define EFI_ACPI_6_4_EINJ_ERROR_MEMORY_UNCORRECTABLE_NONFATAL (1 << 4)
2322 #define EFI_ACPI_6_4_EINJ_ERROR_MEMORY_UNCORRECTABLE_FATAL (1 << 5)
2323 #define EFI_ACPI_6_4_EINJ_ERROR_PCI_EXPRESS_CORRECTABLE (1 << 6)
2324 #define EFI_ACPI_6_4_EINJ_ERROR_PCI_EXPRESS_UNCORRECTABLE_NONFATAL (1 << 7)
2325 #define EFI_ACPI_6_4_EINJ_ERROR_PCI_EXPRESS_UNCORRECTABLE_FATAL (1 << 8)
2326 #define EFI_ACPI_6_4_EINJ_ERROR_PLATFORM_CORRECTABLE (1 << 9)
2327 #define EFI_ACPI_6_4_EINJ_ERROR_PLATFORM_UNCORRECTABLE_NONFATAL (1 << 10)
2328 #define EFI_ACPI_6_4_EINJ_ERROR_PLATFORM_UNCORRECTABLE_FATAL (1 << 11)
2331 /// EINJ Injection Instructions
2333 #define EFI_ACPI_6_4_EINJ_READ_REGISTER 0x00
2334 #define EFI_ACPI_6_4_EINJ_READ_REGISTER_VALUE 0x01
2335 #define EFI_ACPI_6_4_EINJ_WRITE_REGISTER 0x02
2336 #define EFI_ACPI_6_4_EINJ_WRITE_REGISTER_VALUE 0x03
2337 #define EFI_ACPI_6_4_EINJ_NOOP 0x04
2340 /// EINJ Instruction Flags
2342 #define EFI_ACPI_6_4_EINJ_PRESERVE_REGISTER 0x01
2345 /// EINJ Injection Instruction Entry
2348 UINT8 InjectionAction
;
2352 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE RegisterRegion
;
2355 } EFI_ACPI_6_4_EINJ_INJECTION_INSTRUCTION_ENTRY
;
2358 /// EINJ Trigger Action Table
2365 } EFI_ACPI_6_4_EINJ_TRIGGER_ACTION_TABLE
;
2368 /// Platform Communications Channel Table (PCCT)
2371 EFI_ACPI_DESCRIPTION_HEADER Header
;
2374 } EFI_ACPI_6_4_PLATFORM_COMMUNICATION_CHANNEL_TABLE_HEADER
;
2377 /// PCCT Version (as defined in ACPI 6.4 spec.)
2379 #define EFI_ACPI_6_4_PLATFORM_COMMUNICATION_CHANNEL_TABLE_REVISION 0x02
2382 /// PCCT Global Flags
2384 #define EFI_ACPI_6_4_PCCT_FLAGS_PLATFORM_INTERRUPT BIT0
2387 // PCCT Subspace type
2389 #define EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_GENERIC 0x00
2390 #define EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_1_HW_REDUCED_COMMUNICATIONS 0x01
2391 #define EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_2_HW_REDUCED_COMMUNICATIONS 0x02
2392 #define EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_3_EXTENDED_PCC 0x03
2393 #define EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_4_EXTENDED_PCC 0x04
2394 #define EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_5_HW_REGISTERS_COMMUNICATIONS 0x05
2397 /// PCC Subspace Structure Header
2402 } EFI_ACPI_6_4_PCCT_SUBSPACE_HEADER
;
2405 /// Generic Communications Subspace Structure
2412 UINT64 AddressLength
;
2413 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE DoorbellRegister
;
2414 UINT64 DoorbellPreserve
;
2415 UINT64 DoorbellWrite
;
2416 UINT32 NominalLatency
;
2417 UINT32 MaximumPeriodicAccessRate
;
2418 UINT16 MinimumRequestTurnaroundTime
;
2419 } EFI_ACPI_6_4_PCCT_SUBSPACE_GENERIC
;
2422 /// Generic Communications Channel Shared Memory Region
2428 UINT8 NotifyOnCompletion
:1;
2429 } EFI_ACPI_6_4_PCCT_GENERIC_SHARED_MEMORY_REGION_COMMAND
;
2432 UINT8 CommandComplete
:1;
2433 UINT8 PlatformInterrupt
:1;
2435 UINT8 PlatformNotification
:1;
2438 } EFI_ACPI_6_4_PCCT_GENERIC_SHARED_MEMORY_REGION_STATUS
;
2442 EFI_ACPI_6_4_PCCT_GENERIC_SHARED_MEMORY_REGION_COMMAND Command
;
2443 EFI_ACPI_6_4_PCCT_GENERIC_SHARED_MEMORY_REGION_STATUS Status
;
2444 } EFI_ACPI_6_4_PCCT_GENERIC_SHARED_MEMORY_REGION_HEADER
;
2446 #define EFI_ACPI_6_4_PCCT_SUBSPACE_PLATFORM_INTERRUPT_FLAGS_POLARITY BIT0
2447 #define EFI_ACPI_6_4_PCCT_SUBSPACE_PLATFORM_INTERRUPT_FLAGS_MODE BIT1
2450 /// Type 1 HW-Reduced Communications Subspace Structure
2455 UINT32 PlatformInterrupt
;
2456 UINT8 PlatformInterruptFlags
;
2459 UINT64 AddressLength
;
2460 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE DoorbellRegister
;
2461 UINT64 DoorbellPreserve
;
2462 UINT64 DoorbellWrite
;
2463 UINT32 NominalLatency
;
2464 UINT32 MaximumPeriodicAccessRate
;
2465 UINT16 MinimumRequestTurnaroundTime
;
2466 } EFI_ACPI_6_4_PCCT_SUBSPACE_1_HW_REDUCED_COMMUNICATIONS
;
2469 /// Type 2 HW-Reduced Communications Subspace Structure
2474 UINT32 PlatformInterrupt
;
2475 UINT8 PlatformInterruptFlags
;
2478 UINT64 AddressLength
;
2479 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE DoorbellRegister
;
2480 UINT64 DoorbellPreserve
;
2481 UINT64 DoorbellWrite
;
2482 UINT32 NominalLatency
;
2483 UINT32 MaximumPeriodicAccessRate
;
2484 UINT16 MinimumRequestTurnaroundTime
;
2485 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE PlatformInterruptAckRegister
;
2486 UINT64 PlatformInterruptAckPreserve
;
2487 UINT64 PlatformInterruptAckWrite
;
2488 } EFI_ACPI_6_4_PCCT_SUBSPACE_2_HW_REDUCED_COMMUNICATIONS
;
2491 /// Type 3 Extended PCC Subspace Structure
2496 UINT32 PlatformInterrupt
;
2497 UINT8 PlatformInterruptFlags
;
2500 UINT32 AddressLength
;
2501 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE DoorbellRegister
;
2502 UINT64 DoorbellPreserve
;
2503 UINT64 DoorbellWrite
;
2504 UINT32 NominalLatency
;
2505 UINT32 MaximumPeriodicAccessRate
;
2506 UINT32 MinimumRequestTurnaroundTime
;
2507 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE PlatformInterruptAckRegister
;
2508 UINT64 PlatformInterruptAckPreserve
;
2509 UINT64 PlatformInterruptAckSet
;
2511 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE CommandCompleteCheckRegister
;
2512 UINT64 CommandCompleteCheckMask
;
2513 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE CommandCompleteUpdateRegister
;
2514 UINT64 CommandCompleteUpdatePreserve
;
2515 UINT64 CommandCompleteUpdateSet
;
2516 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE ErrorStatusRegister
;
2517 UINT64 ErrorStatusMask
;
2518 } EFI_ACPI_6_4_PCCT_SUBSPACE_3_EXTENDED_PCC
;
2521 /// Type 4 Extended PCC Subspace Structure
2523 typedef EFI_ACPI_6_4_PCCT_SUBSPACE_3_EXTENDED_PCC EFI_ACPI_6_4_PCCT_SUBSPACE_4_EXTENDED_PCC
;
2525 #define EFI_ACPI_6_4_PCCT_MASTER_SLAVE_COMMUNICATIONS_CHANNEL_FLAGS_NOTIFY_ON_COMPLETION BIT0
2532 } EFI_ACPI_6_4_PCCT_EXTENDED_PCC_SHARED_MEMORY_REGION_HEADER
;
2535 /// Type 5 HW Registers based Communications Subspace Structure
2542 UINT64 SharedMemoryRangeLength
;
2543 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE DoorbellRegister
;
2544 UINT64 DoorbellPreserve
;
2545 UINT64 DoorbellWrite
;
2546 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE CommandCompleteCheckRegister
;
2547 UINT64 CommandCompleteCheckMask
;
2548 EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE ErrorStatusRegister
;
2549 UINT64 ErrorStatusMask
;
2550 UINT32 NominalLatency
;
2551 UINT32 MinimumRequestTurnaroundTime
;
2552 } EFI_ACPI_6_4_PCCT_SUBSPACE_5_HW_REGISTERS_COMMUNICATIONS
;
2555 /// Reduced PCC Subspace Shared Memory Region
2559 //UINT8 CommunicationSubspace[];
2560 } EFI_6_4_PCCT_REDUCED_PCC_SUBSPACE_SHARED_MEMORY_REGION
;
2563 /// Platform Debug Trigger Table (PDTT)
2566 EFI_ACPI_DESCRIPTION_HEADER Header
;
2569 UINT32 TriggerIdentifierArrayOffset
;
2570 } EFI_ACPI_6_4_PLATFORM_DEBUG_TRIGGER_TABLE_HEADER
;
2573 /// PDTT Revision (as defined in ACPI 6.4 spec.)
2575 #define EFI_ACPI_6_4_PLATFORM_DEBUG_TRIGGER_TABLE_REVISION 0x00
2578 /// PDTT Platform Communication Channel Identifier Structure
2581 UINT16 SubChannelIdentifer
:8;
2583 UINT16 WaitForCompletion
:1;
2584 UINT16 TriggerOrder
:1;
2586 } EFI_ACPI_6_4_PDTT_PCC_IDENTIFIER
;
2589 /// PCC Commands Codes used by Platform Debug Trigger Table
2591 #define EFI_ACPI_6_4_PDTT_PCC_COMMAND_DOORBELL_ONLY 0x00
2592 #define EFI_ACPI_6_4_PDTT_PCC_COMMAND_VENDOR_SPECIFIC 0x01
2595 /// PDTT Platform Communication Channel
2597 typedef EFI_ACPI_6_4_PCCT_GENERIC_SHARED_MEMORY_REGION_HEADER EFI_ACPI_6_4_PDTT_PCC
;
2600 /// Processor Properties Topology Table (PPTT)
2603 EFI_ACPI_DESCRIPTION_HEADER Header
;
2604 } EFI_ACPI_6_4_PROCESSOR_PROPERTIES_TOPOLOGY_TABLE_HEADER
;
2607 /// PPTT Revision (as defined in ACPI 6.4 spec.)
2609 #define EFI_ACPI_6_4_PROCESSOR_PROPERTIES_TOPOLOGY_TABLE_REVISION 0x03
2614 #define EFI_ACPI_6_4_PPTT_TYPE_PROCESSOR 0x00
2615 #define EFI_ACPI_6_4_PPTT_TYPE_CACHE 0x01
2616 #define EFI_ACPI_6_4_PPTT_TYPE_ID 0x02
2619 /// PPTT Structure Header
2625 } EFI_ACPI_6_4_PPTT_STRUCTURE_HEADER
;
2628 /// For PPTT struct processor flags
2630 #define EFI_ACPI_6_4_PPTT_PACKAGE_NOT_PHYSICAL 0x0
2631 #define EFI_ACPI_6_4_PPTT_PACKAGE_PHYSICAL 0x1
2632 #define EFI_ACPI_6_4_PPTT_PROCESSOR_ID_INVALID 0x0
2633 #define EFI_ACPI_6_4_PPTT_PROCESSOR_ID_VALID 0x1
2634 #define EFI_ACPI_6_4_PPTT_PROCESSOR_IS_NOT_THREAD 0x0
2635 #define EFI_ACPI_6_4_PPTT_PROCESSOR_IS_THREAD 0x1
2636 #define EFI_ACPI_6_4_PPTT_NODE_IS_NOT_LEAF 0x0
2637 #define EFI_ACPI_6_4_PPTT_NODE_IS_LEAF 0x1
2638 #define EFI_ACPI_6_4_PPTT_IMPLEMENTATION_NOT_IDENTICAL 0x0
2639 #define EFI_ACPI_6_4_PPTT_IMPLEMENTATION_IDENTICAL 0x1
2642 /// Processor hierarchy node structure flags
2645 UINT32 PhysicalPackage
:1;
2646 UINT32 AcpiProcessorIdValid
:1;
2647 UINT32 ProcessorIsAThread
:1;
2648 UINT32 NodeIsALeaf
:1;
2649 UINT32 IdenticalImplementation
:1;
2651 } EFI_ACPI_6_4_PPTT_STRUCTURE_PROCESSOR_FLAGS
;
2654 /// Processor hierarchy node structure
2660 EFI_ACPI_6_4_PPTT_STRUCTURE_PROCESSOR_FLAGS Flags
;
2662 UINT32 AcpiProcessorId
;
2663 UINT32 NumberOfPrivateResources
;
2664 } EFI_ACPI_6_4_PPTT_STRUCTURE_PROCESSOR
;
2667 /// For PPTT struct cache flags
2669 #define EFI_ACPI_6_4_PPTT_CACHE_SIZE_INVALID 0x0
2670 #define EFI_ACPI_6_4_PPTT_CACHE_SIZE_VALID 0x1
2671 #define EFI_ACPI_6_4_PPTT_NUMBER_OF_SETS_INVALID 0x0
2672 #define EFI_ACPI_6_4_PPTT_NUMBER_OF_SETS_VALID 0x1
2673 #define EFI_ACPI_6_4_PPTT_ASSOCIATIVITY_INVALID 0x0
2674 #define EFI_ACPI_6_4_PPTT_ASSOCIATIVITY_VALID 0x1
2675 #define EFI_ACPI_6_4_PPTT_ALLOCATION_TYPE_INVALID 0x0
2676 #define EFI_ACPI_6_4_PPTT_ALLOCATION_TYPE_VALID 0x1
2677 #define EFI_ACPI_6_4_PPTT_CACHE_TYPE_INVALID 0x0
2678 #define EFI_ACPI_6_4_PPTT_CACHE_TYPE_VALID 0x1
2679 #define EFI_ACPI_6_4_PPTT_WRITE_POLICY_INVALID 0x0
2680 #define EFI_ACPI_6_4_PPTT_WRITE_POLICY_VALID 0x1
2681 #define EFI_ACPI_6_4_PPTT_LINE_SIZE_INVALID 0x0
2682 #define EFI_ACPI_6_4_PPTT_LINE_SIZE_VALID 0x1
2685 /// Cache Type Structure flags
2688 UINT32 SizePropertyValid
:1;
2689 UINT32 NumberOfSetsValid
:1;
2690 UINT32 AssociativityValid
:1;
2691 UINT32 AllocationTypeValid
:1;
2692 UINT32 CacheTypeValid
:1;
2693 UINT32 WritePolicyValid
:1;
2694 UINT32 LineSizeValid
:1;
2695 UINT32 CacheIdValid
:1;
2697 } EFI_ACPI_6_4_PPTT_STRUCTURE_CACHE_FLAGS
;
2700 /// For cache attributes
2702 #define EFI_ACPI_6_4_CACHE_ATTRIBUTES_ALLOCATION_READ 0x0
2703 #define EFI_ACPI_6_4_CACHE_ATTRIBUTES_ALLOCATION_WRITE 0x1
2704 #define EFI_ACPI_6_4_CACHE_ATTRIBUTES_ALLOCATION_READ_WRITE 0x2
2705 #define EFI_ACPI_6_4_CACHE_ATTRIBUTES_CACHE_TYPE_DATA 0x0
2706 #define EFI_ACPI_6_4_CACHE_ATTRIBUTES_CACHE_TYPE_INSTRUCTION 0x1
2707 #define EFI_ACPI_6_4_CACHE_ATTRIBUTES_CACHE_TYPE_UNIFIED 0x2
2708 #define EFI_ACPI_6_4_CACHE_ATTRIBUTES_WRITE_POLICY_WRITE_BACK 0x0
2709 #define EFI_ACPI_6_4_CACHE_ATTRIBUTES_WRITE_POLICY_WRITE_THROUGH 0x1
2712 /// Cache Type Structure cache attributes
2715 UINT8 AllocationType
:2;
2717 UINT8 WritePolicy
:1;
2719 } EFI_ACPI_6_4_PPTT_STRUCTURE_CACHE_ATTRIBUTES
;
2722 /// Cache Type Structure
2728 EFI_ACPI_6_4_PPTT_STRUCTURE_CACHE_FLAGS Flags
;
2729 UINT32 NextLevelOfCache
;
2731 UINT32 NumberOfSets
;
2732 UINT8 Associativity
;
2733 EFI_ACPI_6_4_PPTT_STRUCTURE_CACHE_ATTRIBUTES Attributes
;
2736 } EFI_ACPI_6_4_PPTT_STRUCTURE_CACHE
;
2751 } EFI_ACPI_6_4_PPTT_STRUCTURE_ID
;
2754 /// Platform Health Assessment Table (PHAT) Format
2757 EFI_ACPI_DESCRIPTION_HEADER Header
;
2758 //UINT8 PlatformTelemetryRecords[];
2759 } EFI_ACPI_6_4_PLATFORM_HEALTH_ASSESSMENT_TABLE
;
2761 #define EFI_ACPI_6_4_PLATFORM_HEALTH_ASSESSMENT_TABLE_REVISION 0x01
2764 /// PHAT Record Format
2767 UINT16 PlatformHealthAssessmentRecordType
;
2768 UINT16 RecordLength
;
2771 } EFI_ACPI_6_4_PHAT_RECORD
;
2774 /// PHAT Record Type Format
2776 #define EFI_ACPI_6_4_PHAT_RECORD_TYPE_FIRMWARE_VERSION_DATA_RECORD 0x0000
2777 #define EFI_ACPI_6_4_PHAT_RECORD_TYPE_FIRMWARE_HEALTH_DATA_RECORD 0x0001
2780 /// PHAT Version Element
2784 UINT64 VersionValue
;
2786 } EFI_ACPI_6_4_PHAT_VERSION_ELEMENT
;
2789 /// PHAT Firmware Version Data Record
2792 UINT16 PlatformRecordType
;
2793 UINT16 RecordLength
;
2797 //UINT8 PhatVersionElement[];
2798 } EFI_ACPI_6_4_PHAT_FIRMWARE_VERISON_DATA_RECORD
;
2800 #define EFI_ACPI_6_4_PHAT_FIRMWARE_VERSION_DATA_RECORD_REVISION 0x01
2803 /// Firmware Health Data Record Structure
2806 UINT16 PlatformRecordType
;
2807 UINT16 RecordLength
;
2811 GUID DeviceSignature
;
2812 UINT32 DeviceSpecificDataOffset
;
2813 //UINT8 DevicePath[];
2814 //UINT8 DeviceSpecificData[];
2815 } EFI_ACPI_6_4_PHAT_FIRMWARE_HEALTH_DATA_RECORD_STRUCTURE
;
2817 #define EFI_ACPI_6_4_PHAT_FIRMWARE_HEALTH_DATA_RECORD_REVISION 0x01
2820 /// Firmware Health Data Record device health state
2822 #define EFI_ACPI_6_4_PHAT_FIRMWARE_HEALTH_DATA_RECORD_ERRORS_FOUND 0x00
2823 #define EFI_ACPI_6_4_PHAT_FIRMWARE_HEALTH_DATA_RECORD_NO_ERRORS_FOUND 0x01
2824 #define EFI_ACPI_6_4_PHAT_FIRMWARE_HEALTH_DATA_RECORD_UNKNOWN 0x02
2825 #define EFI_ACPI_6_4_PHAT_FIRMWARE_HEALTH_DATA_RECORD_ADVISORY 0x03
2828 // Known table signatures
2832 /// "RSD PTR " Root System Description Pointer
2834 #define EFI_ACPI_6_4_ROOT_SYSTEM_DESCRIPTION_POINTER_SIGNATURE SIGNATURE_64('R', 'S', 'D', ' ', 'P', 'T', 'R', ' ')
2837 /// "APIC" Multiple APIC Description Table
2839 #define EFI_ACPI_6_4_MULTIPLE_APIC_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('A', 'P', 'I', 'C')
2842 /// "BERT" Boot Error Record Table
2844 #define EFI_ACPI_6_4_BOOT_ERROR_RECORD_TABLE_SIGNATURE SIGNATURE_32('B', 'E', 'R', 'T')
2847 /// "BGRT" Boot Graphics Resource Table
2849 #define EFI_ACPI_6_4_BOOT_GRAPHICS_RESOURCE_TABLE_SIGNATURE SIGNATURE_32('B', 'G', 'R', 'T')
2852 /// "CDIT" Component Distance Information Table
2854 #define EFI_ACPI_6_4_COMPONENT_DISTANCE_INFORMATION_TABLE_SIGNATURE SIGNATURE_32('C', 'D', 'I', 'T')
2857 /// "CPEP" Corrected Platform Error Polling Table
2859 #define EFI_ACPI_6_4_CORRECTED_PLATFORM_ERROR_POLLING_TABLE_SIGNATURE SIGNATURE_32('C', 'P', 'E', 'P')
2862 /// "CRAT" Component Resource Attribute Table
2864 #define EFI_ACPI_6_4_COMPONENT_RESOURCE_ATTRIBUTE_TABLE_SIGNATURE SIGNATURE_32('C', 'R', 'A', 'T')
2867 /// "DSDT" Differentiated System Description Table
2869 #define EFI_ACPI_6_4_DIFFERENTIATED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('D', 'S', 'D', 'T')
2872 /// "ECDT" Embedded Controller Boot Resources Table
2874 #define EFI_ACPI_6_4_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE_SIGNATURE SIGNATURE_32('E', 'C', 'D', 'T')
2877 /// "EINJ" Error Injection Table
2879 #define EFI_ACPI_6_4_ERROR_INJECTION_TABLE_SIGNATURE SIGNATURE_32('E', 'I', 'N', 'J')
2882 /// "ERST" Error Record Serialization Table
2884 #define EFI_ACPI_6_4_ERROR_RECORD_SERIALIZATION_TABLE_SIGNATURE SIGNATURE_32('E', 'R', 'S', 'T')
2887 /// "FACP" Fixed ACPI Description Table
2889 #define EFI_ACPI_6_4_FIXED_ACPI_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('F', 'A', 'C', 'P')
2892 /// "FACS" Firmware ACPI Control Structure
2894 #define EFI_ACPI_6_4_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE SIGNATURE_32('F', 'A', 'C', 'S')
2897 /// "FPDT" Firmware Performance Data Table
2899 #define EFI_ACPI_6_4_FIRMWARE_PERFORMANCE_DATA_TABLE_SIGNATURE SIGNATURE_32('F', 'P', 'D', 'T')
2902 /// "GTDT" Generic Timer Description Table
2904 #define EFI_ACPI_6_4_GENERIC_TIMER_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('G', 'T', 'D', 'T')
2907 /// "HEST" Hardware Error Source Table
2909 #define EFI_ACPI_6_4_HARDWARE_ERROR_SOURCE_TABLE_SIGNATURE SIGNATURE_32('H', 'E', 'S', 'T')
2912 /// "HMAT" Heterogeneous Memory Attribute Table
2914 #define EFI_ACPI_6_4_HETEROGENEOUS_MEMORY_ATTRIBUTE_TABLE_SIGNATURE SIGNATURE_32('H', 'M', 'A', 'T')
2917 /// "MPST" Memory Power State Table
2919 #define EFI_ACPI_6_4_MEMORY_POWER_STATE_TABLE_SIGNATURE SIGNATURE_32('M', 'P', 'S', 'T')
2922 /// "MSCT" Maximum System Characteristics Table
2924 #define EFI_ACPI_6_4_MAXIMUM_SYSTEM_CHARACTERISTICS_TABLE_SIGNATURE SIGNATURE_32('M', 'S', 'C', 'T')
2927 /// "NFIT" NVDIMM Firmware Interface Table
2929 #define EFI_ACPI_6_4_NVDIMM_FIRMWARE_INTERFACE_TABLE_STRUCTURE_SIGNATURE SIGNATURE_32('N', 'F', 'I', 'T')
2932 /// "PDTT" Platform Debug Trigger Table
2934 #define EFI_ACPI_6_4_PLATFORM_DEBUG_TRIGGER_TABLE_STRUCTURE_SIGNATURE SIGNATURE_32('P', 'D', 'T', 'T')
2937 /// "PMTT" Platform Memory Topology Table
2939 #define EFI_ACPI_6_4_PLATFORM_MEMORY_TOPOLOGY_TABLE_SIGNATURE SIGNATURE_32('P', 'M', 'T', 'T')
2942 /// "PPTT" Processor Properties Topology Table
2944 #define EFI_ACPI_6_4_PROCESSOR_PROPERTIES_TOPOLOGY_TABLE_STRUCTURE_SIGNATURE SIGNATURE_32('P', 'P', 'T', 'T')
2947 /// "PSDT" Persistent System Description Table
2949 #define EFI_ACPI_6_4_PERSISTENT_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('P', 'S', 'D', 'T')
2952 /// "RASF" ACPI RAS Feature Table
2954 #define EFI_ACPI_6_4_ACPI_RAS_FEATURE_TABLE_SIGNATURE SIGNATURE_32('R', 'A', 'S', 'F')
2957 /// "RSDT" Root System Description Table
2959 #define EFI_ACPI_6_4_ROOT_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('R', 'S', 'D', 'T')
2962 /// "SBST" Smart Battery Specification Table
2964 #define EFI_ACPI_6_4_SMART_BATTERY_SPECIFICATION_TABLE_SIGNATURE SIGNATURE_32('S', 'B', 'S', 'T')
2967 /// "SDEV" Secure DEVices Table
2969 #define EFI_ACPI_6_4_SECURE_DEVICES_TABLE_SIGNATURE SIGNATURE_32('S', 'D', 'E', 'V')
2972 /// "SLIT" System Locality Information Table
2974 #define EFI_ACPI_6_4_SYSTEM_LOCALITY_INFORMATION_TABLE_SIGNATURE SIGNATURE_32('S', 'L', 'I', 'T')
2977 /// "SRAT" System Resource Affinity Table
2979 #define EFI_ACPI_6_4_SYSTEM_RESOURCE_AFFINITY_TABLE_SIGNATURE SIGNATURE_32('S', 'R', 'A', 'T')
2982 /// "SSDT" Secondary System Description Table
2984 #define EFI_ACPI_6_4_SECONDARY_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('S', 'S', 'D', 'T')
2987 /// "XSDT" Extended System Description Table
2989 #define EFI_ACPI_6_4_EXTENDED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('X', 'S', 'D', 'T')
2992 /// "BOOT" MS Simple Boot Spec
2994 #define EFI_ACPI_6_4_SIMPLE_BOOT_FLAG_TABLE_SIGNATURE SIGNATURE_32('B', 'O', 'O', 'T')
2997 /// "CSRT" MS Core System Resource Table
2999 #define EFI_ACPI_6_4_CORE_SYSTEM_RESOURCE_TABLE_SIGNATURE SIGNATURE_32('C', 'S', 'R', 'T')
3002 /// "DBG2" MS Debug Port 2 Spec
3004 #define EFI_ACPI_6_4_DEBUG_PORT_2_TABLE_SIGNATURE SIGNATURE_32('D', 'B', 'G', '2')
3007 /// "DBGP" MS Debug Port Spec
3009 #define EFI_ACPI_6_4_DEBUG_PORT_TABLE_SIGNATURE SIGNATURE_32('D', 'B', 'G', 'P')
3012 /// "DMAR" DMA Remapping Table
3014 #define EFI_ACPI_6_4_DMA_REMAPPING_TABLE_SIGNATURE SIGNATURE_32('D', 'M', 'A', 'R')
3017 /// "DRTM" Dynamic Root of Trust for Measurement Table
3019 #define EFI_ACPI_6_4_DYNAMIC_ROOT_OF_TRUST_FOR_MEASUREMENT_TABLE_SIGNATURE SIGNATURE_32('D', 'R', 'T', 'M')
3022 /// "ETDT" Event Timer Description Table
3024 #define EFI_ACPI_6_4_EVENT_TIMER_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('E', 'T', 'D', 'T')
3027 /// "HPET" IA-PC High Precision Event Timer Table
3029 #define EFI_ACPI_6_4_HIGH_PRECISION_EVENT_TIMER_TABLE_SIGNATURE SIGNATURE_32('H', 'P', 'E', 'T')
3032 /// "iBFT" iSCSI Boot Firmware Table
3034 #define EFI_ACPI_6_4_ISCSI_BOOT_FIRMWARE_TABLE_SIGNATURE SIGNATURE_32('i', 'B', 'F', 'T')
3037 /// "IORT" I/O Remapping Table
3039 #define EFI_ACPI_6_4_IO_REMAPPING_TABLE_SIGNATURE SIGNATURE_32('I', 'O', 'R', 'T')
3042 /// "IVRS" I/O Virtualization Reporting Structure
3044 #define EFI_ACPI_6_4_IO_VIRTUALIZATION_REPORTING_STRUCTURE_SIGNATURE SIGNATURE_32('I', 'V', 'R', 'S')
3047 /// "LPIT" Low Power Idle Table
3049 #define EFI_ACPI_6_4_LOW_POWER_IDLE_TABLE_STRUCTURE_SIGNATURE SIGNATURE_32('L', 'P', 'I', 'T')
3052 /// "MCFG" PCI Express Memory Mapped Configuration Space Base Address Description Table
3054 #define EFI_ACPI_6_4_PCI_EXPRESS_MEMORY_MAPPED_CONFIGURATION_SPACE_BASE_ADDRESS_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('M', 'C', 'F', 'G')
3057 /// "MCHI" Management Controller Host Interface Table
3059 #define EFI_ACPI_6_4_MANAGEMENT_CONTROLLER_HOST_INTERFACE_TABLE_SIGNATURE SIGNATURE_32('M', 'C', 'H', 'I')
3062 /// "MSDM" MS Data Management Table
3064 #define EFI_ACPI_6_4_DATA_MANAGEMENT_TABLE_SIGNATURE SIGNATURE_32('M', 'S', 'D', 'M')
3067 /// "PCCT" Platform Communications Channel Table
3069 #define EFI_ACPI_6_4_PLATFORM_COMMUNICATIONS_CHANNEL_TABLE_SIGNATURE SIGNATURE_32('P', 'C', 'C', 'T')
3072 /// "PHAT" Platform Health Assessment Table
3074 #define EFI_ACPI_6_4_PLATFORM_HEALTH_ASSESSMENT_TABLE_SIGNATURE SIGNATURE_32('P', 'H', 'A', 'T')
3077 /// "SDEI" Software Delegated Exceptions Interface Table
3079 #define EFI_ACPI_6_4_SOFTWARE_DELEGATED_EXCEPTIONS_INTERFACE_TABLE_SIGNATURE SIGNATURE_32('S', 'D', 'E', 'I')
3082 /// "SLIC" MS Software Licensing Table Specification
3084 #define EFI_ACPI_6_4_SOFTWARE_LICENSING_TABLE_SIGNATURE SIGNATURE_32('S', 'L', 'I', 'C')
3087 /// "SPCR" Serial Port Concole Redirection Table
3089 #define EFI_ACPI_6_4_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_SIGNATURE SIGNATURE_32('S', 'P', 'C', 'R')
3092 /// "SPMI" Server Platform Management Interface Table
3094 #define EFI_ACPI_6_4_SERVER_PLATFORM_MANAGEMENT_INTERFACE_TABLE_SIGNATURE SIGNATURE_32('S', 'P', 'M', 'I')
3097 /// "STAO" _STA Override Table
3099 #define EFI_ACPI_6_4_STA_OVERRIDE_TABLE_SIGNATURE SIGNATURE_32('S', 'T', 'A', 'O')
3102 /// "TCPA" Trusted Computing Platform Alliance Capabilities Table
3104 #define EFI_ACPI_6_4_TRUSTED_COMPUTING_PLATFORM_ALLIANCE_CAPABILITIES_TABLE_SIGNATURE SIGNATURE_32('T', 'C', 'P', 'A')
3107 /// "TPM2" Trusted Computing Platform 1 Table
3109 #define EFI_ACPI_6_4_TRUSTED_COMPUTING_PLATFORM_2_TABLE_SIGNATURE SIGNATURE_32('T', 'P', 'M', '2')
3112 /// "UEFI" UEFI ACPI Data Table
3114 #define EFI_ACPI_6_4_UEFI_ACPI_DATA_TABLE_SIGNATURE SIGNATURE_32('U', 'E', 'F', 'I')
3117 /// "WAET" Windows ACPI Emulated Devices Table
3119 #define EFI_ACPI_6_4_WINDOWS_ACPI_EMULATED_DEVICES_TABLE_SIGNATURE SIGNATURE_32('W', 'A', 'E', 'T')
3122 /// "WDAT" Watchdog Action Table
3124 #define EFI_ACPI_6_4_WATCHDOG_ACTION_TABLE_SIGNATURE SIGNATURE_32('W', 'D', 'A', 'T')
3127 /// "WDRT" Watchdog Resource Table
3129 #define EFI_ACPI_6_4_WATCHDOG_RESOURCE_TABLE_SIGNATURE SIGNATURE_32('W', 'D', 'R', 'T')
3132 /// "WPBT" MS Platform Binary Table
3134 #define EFI_ACPI_6_4_PLATFORM_BINARY_TABLE_SIGNATURE SIGNATURE_32('W', 'P', 'B', 'T')
3137 /// "WSMT" Windows SMM Security Mitigation Table
3139 #define EFI_ACPI_6_4_WINDOWS_SMM_SECURITY_MITIGATION_TABLE_SIGNATURE SIGNATURE_32('W', 'S', 'M', 'T')
3142 /// "XENV" Xen Project Table
3144 #define EFI_ACPI_6_4_XEN_PROJECT_TABLE_SIGNATURE SIGNATURE_32('X', 'E', 'N', 'V')