19#define EFI_ACPI_5_1_AML_PSD_REVISION 0
24#define EFI_ACPI_5_1_AML_CPC_REVISION 2
36 UINT8 RegisterBitWidth;
37 UINT8 RegisterBitOffset;
45#define EFI_ACPI_5_1_SYSTEM_MEMORY 0
46#define EFI_ACPI_5_1_SYSTEM_IO 1
47#define EFI_ACPI_5_1_PCI_CONFIGURATION_SPACE 2
48#define EFI_ACPI_5_1_EMBEDDED_CONTROLLER 3
49#define EFI_ACPI_5_1_SMBUS 4
50#define EFI_ACPI_5_1_PLATFORM_COMMUNICATION_CHANNEL 0x0A
51#define EFI_ACPI_5_1_FUNCTIONAL_FIXED_HARDWARE 0x7F
56#define EFI_ACPI_5_1_UNDEFINED 0
57#define EFI_ACPI_5_1_BYTE 1
58#define EFI_ACPI_5_1_WORD 2
59#define EFI_ACPI_5_1_DWORD 3
60#define EFI_ACPI_5_1_QWORD 4
77 UINT8 ExtendedChecksum;
84#define EFI_ACPI_5_1_ROOT_SYSTEM_DESCRIPTION_POINTER_REVISION 0x02
104#define EFI_ACPI_5_1_ROOT_SYSTEM_DESCRIPTION_TABLE_REVISION 0x01
115#define EFI_ACPI_5_1_EXTENDED_SYSTEM_DESCRIPTION_TABLE_REVISION 0x01
125 UINT8 PreferredPmProfile;
164 UINT64 XFirmwareCtrl;
181#define EFI_ACPI_5_1_FIXED_ACPI_DESCRIPTION_TABLE_REVISION 0x05
182#define EFI_ACPI_5_1_FIXED_ACPI_DESCRIPTION_TABLE_MINOR_REVISION 0x01
187#define EFI_ACPI_5_1_PM_PROFILE_UNSPECIFIED 0
188#define EFI_ACPI_5_1_PM_PROFILE_DESKTOP 1
189#define EFI_ACPI_5_1_PM_PROFILE_MOBILE 2
190#define EFI_ACPI_5_1_PM_PROFILE_WORKSTATION 3
191#define EFI_ACPI_5_1_PM_PROFILE_ENTERPRISE_SERVER 4
192#define EFI_ACPI_5_1_PM_PROFILE_SOHO_SERVER 5
193#define EFI_ACPI_5_1_PM_PROFILE_APPLIANCE_PC 6
194#define EFI_ACPI_5_1_PM_PROFILE_PERFORMANCE_SERVER 7
195#define EFI_ACPI_5_1_PM_PROFILE_TABLET 8
201#define EFI_ACPI_5_1_LEGACY_DEVICES BIT0
202#define EFI_ACPI_5_1_8042 BIT1
203#define EFI_ACPI_5_1_VGA_NOT_PRESENT BIT2
204#define EFI_ACPI_5_1_MSI_NOT_SUPPORTED BIT3
205#define EFI_ACPI_5_1_PCIE_ASPM_CONTROLS BIT4
206#define EFI_ACPI_5_1_CMOS_RTC_NOT_PRESENT BIT5
212#define EFI_ACPI_5_1_ARM_PSCI_COMPLIANT BIT0
213#define EFI_ACPI_5_1_ARM_PSCI_USE_HVC BIT1
219#define EFI_ACPI_5_1_WBINVD BIT0
220#define EFI_ACPI_5_1_WBINVD_FLUSH BIT1
221#define EFI_ACPI_5_1_PROC_C1 BIT2
222#define EFI_ACPI_5_1_P_LVL2_UP BIT3
223#define EFI_ACPI_5_1_PWR_BUTTON BIT4
224#define EFI_ACPI_5_1_SLP_BUTTON BIT5
225#define EFI_ACPI_5_1_FIX_RTC BIT6
226#define EFI_ACPI_5_1_RTC_S4 BIT7
227#define EFI_ACPI_5_1_TMR_VAL_EXT BIT8
228#define EFI_ACPI_5_1_DCK_CAP BIT9
229#define EFI_ACPI_5_1_RESET_REG_SUP BIT10
230#define EFI_ACPI_5_1_SEALED_CASE BIT11
231#define EFI_ACPI_5_1_HEADLESS BIT12
232#define EFI_ACPI_5_1_CPU_SW_SLP BIT13
233#define EFI_ACPI_5_1_PCI_EXP_WAK BIT14
234#define EFI_ACPI_5_1_USE_PLATFORM_CLOCK BIT15
235#define EFI_ACPI_5_1_S4_RTC_STS_VALID BIT16
236#define EFI_ACPI_5_1_REMOTE_POWER_ON_CAPABLE BIT17
237#define EFI_ACPI_5_1_FORCE_APIC_CLUSTER_MODEL BIT18
238#define EFI_ACPI_5_1_FORCE_APIC_PHYSICAL_DESTINATION_MODE BIT19
239#define EFI_ACPI_5_1_HW_REDUCED_ACPI BIT20
240#define EFI_ACPI_5_1_LOW_POWER_S0_IDLE_CAPABLE BIT21
248 UINT32 HardwareSignature;
249 UINT32 FirmwareWakingVector;
252 UINT64 XFirmwareWakingVector;
262#define EFI_ACPI_5_1_FIRMWARE_ACPI_CONTROL_STRUCTURE_VERSION 0x02
268#define EFI_ACPI_5_1_S4BIOS_F BIT0
269#define EFI_ACPI_5_1_64BIT_WAKE_SUPPORTED_F BIT1
275#define EFI_ACPI_5_1_OSPM_64BIT_WAKE_F BIT0
284#define EFI_ACPI_5_1_DIFFERENTIATED_SYSTEM_DESCRIPTION_TABLE_REVISION 0x02
285#define EFI_ACPI_5_1_SECONDARY_SYSTEM_DESCRIPTION_TABLE_REVISION 0x02
293 UINT32 LocalApicAddress;
300#define EFI_ACPI_5_1_MULTIPLE_APIC_DESCRIPTION_TABLE_REVISION 0x03
306#define EFI_ACPI_5_1_PCAT_COMPAT BIT0
313#define EFI_ACPI_5_1_PROCESSOR_LOCAL_APIC 0x00
314#define EFI_ACPI_5_1_IO_APIC 0x01
315#define EFI_ACPI_5_1_INTERRUPT_SOURCE_OVERRIDE 0x02
316#define EFI_ACPI_5_1_NON_MASKABLE_INTERRUPT_SOURCE 0x03
317#define EFI_ACPI_5_1_LOCAL_APIC_NMI 0x04
318#define EFI_ACPI_5_1_LOCAL_APIC_ADDRESS_OVERRIDE 0x05
319#define EFI_ACPI_5_1_IO_SAPIC 0x06
320#define EFI_ACPI_5_1_LOCAL_SAPIC 0x07
321#define EFI_ACPI_5_1_PLATFORM_INTERRUPT_SOURCES 0x08
322#define EFI_ACPI_5_1_PROCESSOR_LOCAL_X2APIC 0x09
323#define EFI_ACPI_5_1_LOCAL_X2APIC_NMI 0x0A
324#define EFI_ACPI_5_1_GIC 0x0B
325#define EFI_ACPI_5_1_GICD 0x0C
326#define EFI_ACPI_5_1_GIC_MSI_FRAME 0x0D
327#define EFI_ACPI_5_1_GICR 0x0E
339 UINT8 AcpiProcessorId;
347#define EFI_ACPI_5_1_LOCAL_APIC_ENABLED BIT0
357 UINT32 IoApicAddress;
358 UINT32 GlobalSystemInterruptBase;
369 UINT32 GlobalSystemInterrupt;
384 UINT32 GlobalSystemInterrupt;
385 UINT32 PlatformInterruptSourceFlags;
386 UINT8 CpeiProcessorOverride;
394#define EFI_ACPI_5_1_POLARITY (3 << 0)
395#define EFI_ACPI_5_1_TRIGGER_MODE (3 << 2)
404 UINT32 GlobalSystemInterrupt;
413 UINT8 AcpiProcessorId;
425 UINT64 LocalApicAddress;
436 UINT32 GlobalSystemInterruptBase;
437 UINT64 IoSapicAddress;
447 UINT8 AcpiProcessorId;
452 UINT32 ACPIProcessorUIDValue;
466 UINT32 GlobalSystemInterrupt;
467 UINT32 PlatformInterruptSourceFlags;
474#define EFI_ACPI_5_1_CPEI_PROCESSOR_OVERRIDE BIT0
485 UINT32 AcpiProcessorUid;
495 UINT32 AcpiProcessorUid;
496 UINT8 LocalX2ApicLint;
507 UINT32 CPUInterfaceNumber;
508 UINT32 AcpiProcessorUid;
510 UINT32 ParkingProtocolVersion;
511 UINT32 PerformanceInterruptGsiv;
512 UINT64 ParkedAddress;
513 UINT64 PhysicalBaseAddress;
516 UINT32 VGICMaintenanceInterrupt;
517 UINT64 GICRBaseAddress;
524#define EFI_ACPI_5_1_GIC_ENABLED BIT0
525#define EFI_ACPI_5_1_PERFORMANCE_INTERRUPT_MODEL BIT1
526#define EFI_ACPI_5_1_VGIC_MAINTENANCE_INTERRUPT_MODE_FLAGS BIT2
536 UINT64 PhysicalBaseAddress;
537 UINT32 SystemVectorBase;
545#define EFI_ACPI_5_1_GIC_V1 0x01
546#define EFI_ACPI_5_1_GIC_V2 0x02
547#define EFI_ACPI_5_1_GIC_V3 0x03
548#define EFI_ACPI_5_1_GIC_V4 0x04
557 UINT32 GicMsiFrameId;
558 UINT64 PhysicalBaseAddress;
567#define EFI_ACPI_5_1_SPI_COUNT_BASE_SELECT BIT0
576 UINT64 DiscoveryRangeBaseAddress;
577 UINT32 DiscoveryRangeLength;
585 UINT32 WarningEnergyLevel;
586 UINT32 LowEnergyLevel;
587 UINT32 CriticalEnergyLevel;
593#define EFI_ACPI_5_1_SMART_BATTERY_DESCRIPTION_TABLE_REVISION 0x01
611#define EFI_ACPI_5_1_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE_REVISION 0x01
626#define EFI_ACPI_5_1_SYSTEM_RESOURCE_AFFINITY_TABLE_REVISION 0x03
633#define EFI_ACPI_5_1_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY 0x00
634#define EFI_ACPI_5_1_MEMORY_AFFINITY 0x01
635#define EFI_ACPI_5_1_PROCESSOR_LOCAL_X2APIC_AFFINITY 0x02
636#define EFI_ACPI_5_1_GICC_AFFINITY 0x03
644 UINT8 ProximityDomain7To0;
648 UINT8 ProximityDomain31To8[3];
655#define EFI_ACPI_5_1_PROCESSOR_LOCAL_APIC_SAPIC_ENABLED (1 << 0)
663 UINT32 ProximityDomain;
665 UINT32 AddressBaseLow;
666 UINT32 AddressBaseHigh;
677#define EFI_ACPI_5_1_MEMORY_ENABLED (1 << 0)
678#define EFI_ACPI_5_1_MEMORY_HOT_PLUGGABLE (1 << 1)
679#define EFI_ACPI_5_1_MEMORY_NONVOLATILE (1 << 2)
688 UINT32 ProximityDomain;
701 UINT32 ProximityDomain;
702 UINT32 AcpiProcessorUid;
710#define EFI_ACPI_5_1_GICC_ENABLED (1 << 0)
718 UINT64 NumberOfSystemLocalities;
724#define EFI_ACPI_5_1_SYSTEM_LOCALITY_DISTANCE_INFORMATION_TABLE_REVISION 0x01
737#define EFI_ACPI_5_1_CORRECTED_PLATFORM_ERROR_POLLING_TABLE_REVISION 0x01
742#define EFI_ACPI_5_1_CPEP_PROCESSOR_APIC_SAPIC 0x00
752 UINT32 PollingInterval;
760 UINT32 OffsetProxDomInfo;
761 UINT32 MaximumNumberOfProximityDomains;
762 UINT32 MaximumNumberOfClockDomains;
763 UINT64 MaximumPhysicalAddress;
769#define EFI_ACPI_5_1_MAXIMUM_SYSTEM_CHARACTERISTICS_TABLE_REVISION 0x01
777 UINT32 ProximityDomainRangeLow;
778 UINT32 ProximityDomainRangeHigh;
779 UINT32 MaximumProcessorCapacity;
780 UINT64 MaximumMemoryCapacity;
788 UINT8 PlatformCommunicationChannelIdentifier[12];
794#define EFI_ACPI_5_1_RAS_FEATURE_TABLE_REVISION 0x01
804 UINT8 RASCapabilities[16];
805 UINT8 SetRASCapabilities[16];
806 UINT16 NumberOfRASFParameterBlocks;
807 UINT32 SetRASCapabilitiesStatus;
813#define EFI_ACPI_5_1_RASF_PCC_COMMAND_CODE_EXECUTE_RASF_COMMAND 0x01
818#define EFI_ACPI_5_1_RASF_PLATFORM_RAS_CAPABILITY_HARDWARE_BASED_PATROL_SCRUB_SUPPOTED 0x01
819#define EFI_ACPI_5_1_RASF_PLATFORM_RAS_CAPABILITY_HARDWARE_BASED_PATROL_SCRUB_SUPPOTED_AND_EXPOSED_TO_SOFTWARE 0x02
828 UINT16 PatrolScrubCommand;
829 UINT64 RequestedAddressRange[2];
830 UINT64 ActualAddressRange[2];
832 UINT8 RequestedSpeed;
838#define EFI_ACPI_5_1_RASF_PATROL_SCRUB_COMMAND_GET_PATROL_PARAMETERS 0x01
839#define EFI_ACPI_5_1_RASF_PATROL_SCRUB_COMMAND_START_PATROL_SCRUBBER 0x02
840#define EFI_ACPI_5_1_RASF_PATROL_SCRUB_COMMAND_STOP_PATROL_SCRUBBER 0x03
847 UINT8 PlatformCommunicationChannelIdentifier;
856#define EFI_ACPI_5_1_MEMORY_POWER_STATE_TABLE_REVISION 0x01
865 UINT32 MemoryPowerCommandRegister;
866 UINT32 MemoryPowerStatusRegister;
868 UINT32 MemoryPowerNodeId;
869 UINT64 MemoryEnergyConsumed;
870 UINT64 ExpectedAveragePowerComsuned;
876#define EFI_ACPI_5_1_MPST_PCC_COMMAND_CODE_EXECUTE_MPST_COMMAND 0x03
881#define EFI_ACPI_5_1_MPST_MEMORY_POWER_COMMAND_GET_MEMORY_POWER_STATE 0x01
882#define EFI_ACPI_5_1_MPST_MEMORY_POWER_COMMAND_SET_MEMORY_POWER_STATE 0x02
883#define EFI_ACPI_5_1_MPST_MEMORY_POWER_COMMAND_GET_AVERAGE_POWER_CONSUMED 0x03
884#define EFI_ACPI_5_1_MPST_MEMORY_POWER_COMMAND_GET_MEMORY_ENERGY_CONSUMED 0x04
890 UINT8 PowerStateValue;
891 UINT8 PowerStateInformationIndex;
897 UINT16 MemoryPowerNodeId;
900 UINT64 AddressLength;
901 UINT32 NumberOfPowerStates;
902 UINT32 NumberOfPhysicalComponents;
907#define EFI_ACPI_5_1_MPST_MEMORY_POWER_STRUCTURE_FLAG_ENABLE 0x01
908#define EFI_ACPI_5_1_MPST_MEMORY_POWER_STRUCTURE_FLAG_POWER_MANAGED 0x02
909#define EFI_ACPI_5_1_MPST_MEMORY_POWER_STRUCTURE_FLAG_HOT_PLUGGABLE 0x04
912 UINT16 MemoryPowerNodeCount;
920 UINT8 PowerStateStructureID;
923 UINT32 AveragePowerConsumedInMPS0;
924 UINT32 RelativePowerSavingToMPS0;
925 UINT64 ExitLatencyToMPS0;
928#define EFI_ACPI_5_1_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE_FLAG_MEMORY_CONTENT_PRESERVED 0x01
929#define EFI_ACPI_5_1_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE_FLAG_AUTONOMOUS_MEMORY_POWER_STATE_ENTRY 0x02
930#define EFI_ACPI_5_1_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE_FLAG_AUTONOMOUS_MEMORY_POWER_STATE_EXIT 0x04
933 UINT16 MemoryPowerStateCharacteristicsCount;
948#define EFI_ACPI_5_1_MEMORY_TOPOLOGY_TABLE_REVISION 0x01
964#define EFI_ACPI_5_1_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_SOCKET 0x0
965#define EFI_ACPI_5_1_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_MEMORY_CONTROLLER 0x1
966#define EFI_ACPI_5_1_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_DIMM 0x2
973 UINT16 SocketIdentifier;
985 UINT32 ReadBandwidth;
986 UINT32 WriteBandwidth;
987 UINT16 OptimalAccessUnit;
988 UINT16 OptimalAccessAlignment;
990 UINT16 NumberOfProximityDomains;
1000 UINT16 PhysicalComponentIdentifier;
1003 UINT32 SmbiosHandle;
1049#define EFI_ACPI_5_1_BOOT_GRAPHICS_RESOURCE_TABLE_REVISION 1
1054#define EFI_ACPI_5_1_BGRT_VERSION 0x01
1059#define EFI_ACPI_5_1_BGRT_STATUS_NOT_DISPLAYED 0x00
1060#define EFI_ACPI_5_1_BGRT_STATUS_DISPLAYED 0x01
1065#define EFI_ACPI_5_1_BGRT_IMAGE_TYPE_BMP 0x00
1070#define EFI_ACPI_5_1_FIRMWARE_PERFORMANCE_DATA_TABLE_REVISION 0x01
1075#define EFI_ACPI_5_1_FPDT_RECORD_TYPE_FIRMWARE_BASIC_BOOT_POINTER 0x0000
1076#define EFI_ACPI_5_1_FPDT_RECORD_TYPE_S3_PERFORMANCE_TABLE_POINTER 0x0001
1081#define EFI_ACPI_5_1_FPDT_RECORD_REVISION_FIRMWARE_BASIC_BOOT_POINTER 0x01
1082#define EFI_ACPI_5_1_FPDT_RECORD_REVISION_S3_PERFORMANCE_TABLE_POINTER 0x01
1087#define EFI_ACPI_5_1_FPDT_RUNTIME_RECORD_TYPE_S3_RESUME 0x0000
1088#define EFI_ACPI_5_1_FPDT_RUNTIME_RECORD_TYPE_S3_SUSPEND 0x0001
1089#define EFI_ACPI_5_1_FPDT_RUNTIME_RECORD_TYPE_FIRMWARE_BASIC_BOOT 0x0002
1094#define EFI_ACPI_5_1_FPDT_RUNTIME_RECORD_REVISION_S3_RESUME 0x01
1095#define EFI_ACPI_5_1_FPDT_RUNTIME_RECORD_REVISION_S3_SUSPEND 0x01
1096#define EFI_ACPI_5_1_FPDT_RUNTIME_RECORD_REVISION_FIRMWARE_BASIC_BOOT 0x02
1178#define EFI_ACPI_5_1_FPDT_BOOT_PERFORMANCE_TABLE_SIGNATURE SIGNATURE_32('F', 'B', 'P', 'T')
1193#define EFI_ACPI_5_1_FPDT_S3_PERFORMANCE_TABLE_SIGNATURE SIGNATURE_32('S', '3', 'P', 'T')
1257 UINT64 CntControlBasePhysicalAddress;
1259 UINT32 SecurePL1TimerGSIV;
1260 UINT32 SecurePL1TimerFlags;
1261 UINT32 NonSecurePL1TimerGSIV;
1262 UINT32 NonSecurePL1TimerFlags;
1263 UINT32 VirtualTimerGSIV;
1264 UINT32 VirtualTimerFlags;
1265 UINT32 NonSecurePL2TimerGSIV;
1266 UINT32 NonSecurePL2TimerFlags;
1267 UINT64 CntReadBasePhysicalAddress;
1268 UINT32 PlatformTimerCount;
1269 UINT32 PlatformTimerOffset;
1275#define EFI_ACPI_5_1_GENERIC_TIMER_DESCRIPTION_TABLE_REVISION 0x02
1280#define EFI_ACPI_5_1_GTDT_TIMER_FLAG_TIMER_INTERRUPT_MODE BIT0
1281#define EFI_ACPI_5_1_GTDT_TIMER_FLAG_TIMER_INTERRUPT_POLARITY BIT1
1282#define EFI_ACPI_5_1_GTDT_TIMER_FLAG_ALWAYS_ON_CAPABILITY BIT2
1287#define EFI_ACPI_5_1_GTDT_GT_BLOCK 0
1288#define EFI_ACPI_5_1_GTDT_SBSA_GENERIC_WATCHDOG 1
1298 UINT32 GTBlockTimerCount;
1299 UINT32 GTBlockTimerOffset;
1306 UINT8 GTFrameNumber;
1310 UINT32 GTxPhysicalTimerGSIV;
1311 UINT32 GTxPhysicalTimerFlags;
1312 UINT32 GTxVirtualTimerGSIV;
1313 UINT32 GTxVirtualTimerFlags;
1314 UINT32 GTxCommonFlags;
1320#define EFI_ACPI_5_1_GTDT_GT_BLOCK_TIMER_FLAG_TIMER_INTERRUPT_MODE BIT0
1321#define EFI_ACPI_5_1_GTDT_GT_BLOCK_TIMER_FLAG_TIMER_INTERRUPT_POLARITY BIT1
1326#define EFI_ACPI_5_1_GTDT_GT_BLOCK_COMMON_FLAG_SECURE_TIMER BIT0
1327#define EFI_ACPI_5_1_GTDT_GT_BLOCK_COMMON_FLAG_ALWAYS_ON_CAPABILITY BIT1
1336 UINT64 RefreshFramePhysicalAddress;
1337 UINT64 WatchdogControlFramePhysicalAddress;
1338 UINT32 WatchdogTimerGSIV;
1339 UINT32 WatchdogTimerFlags;
1345#define EFI_ACPI_5_1_GTDT_SBSA_GENERIC_WATCHDOG_FLAG_TIMER_INTERRUPT_MODE BIT0
1346#define EFI_ACPI_5_1_GTDT_SBSA_GENERIC_WATCHDOG_FLAG_TIMER_INTERRUPT_POLARITY BIT1
1347#define EFI_ACPI_5_1_GTDT_SBSA_GENERIC_WATCHDOG_FLAG_SECURE_TIMER BIT2
1354 UINT32 BootErrorRegionLength;
1355 UINT64 BootErrorRegion;
1361#define EFI_ACPI_5_1_BOOT_ERROR_RECORD_TABLE_REVISION 0x01
1367 UINT32 UncorrectableErrorValid : 1;
1368 UINT32 CorrectableErrorValid : 1;
1369 UINT32 MultipleUncorrectableErrors : 1;
1370 UINT32 MultipleCorrectableErrors : 1;
1371 UINT32 ErrorDataEntryCount : 10;
1372 UINT32 Reserved : 18;
1380 UINT32 RawDataOffset;
1381 UINT32 RawDataLength;
1383 UINT32 ErrorSeverity;
1389#define EFI_ACPI_5_1_ERROR_SEVERITY_RECOVERABLE 0x00
1390#define EFI_ACPI_5_1_ERROR_SEVERITY_FATAL 0x01
1391#define EFI_ACPI_5_1_ERROR_SEVERITY_CORRECTED 0x02
1392#define EFI_ACPI_5_1_ERROR_SEVERITY_NONE 0x03
1398#define EFI_ACPI_5_1_ERROR_SEVERITY_CORRECTABLE 0x00
1404 UINT8 SectionType[16];
1405 UINT32 ErrorSeverity;
1407 UINT8 ValidationBits;
1409 UINT32 ErrorDataLength;
1417#define EFI_ACPI_5_1_GENERIC_ERROR_DATA_ENTRY_REVISION 0x0201
1424 UINT32 ErrorSourceCount;
1430#define EFI_ACPI_5_1_HARDWARE_ERROR_SOURCE_TABLE_REVISION 0x01
1435#define EFI_ACPI_5_1_IA32_ARCHITECTURE_MACHINE_CHECK_EXCEPTION 0x00
1436#define EFI_ACPI_5_1_IA32_ARCHITECTURE_CORRECTED_MACHINE_CHECK 0x01
1437#define EFI_ACPI_5_1_IA32_ARCHITECTURE_NMI_ERROR 0x02
1438#define EFI_ACPI_5_1_PCI_EXPRESS_ROOT_PORT_AER 0x06
1439#define EFI_ACPI_5_1_PCI_EXPRESS_DEVICE_AER 0x07
1440#define EFI_ACPI_5_1_PCI_EXPRESS_BRIDGE_AER 0x08
1441#define EFI_ACPI_5_1_GENERIC_HARDWARE_ERROR 0x09
1446#define EFI_ACPI_5_1_ERROR_SOURCE_FLAG_FIRMWARE_FIRST (1 << 0)
1447#define EFI_ACPI_5_1_ERROR_SOURCE_FLAG_GLOBAL (1 << 1)
1458 UINT32 NumberOfRecordsToPreAllocate;
1459 UINT32 MaxSectionsPerRecord;
1460 UINT64 GlobalCapabilityInitData;
1461 UINT64 GlobalControlInitData;
1462 UINT8 NumberOfHardwareBanks;
1471 UINT8 ClearStatusOnInitialization;
1472 UINT8 StatusDataFormat;
1474 UINT32 ControlRegisterMsrAddress;
1475 UINT64 ControlInitData;
1476 UINT32 StatusRegisterMsrAddress;
1477 UINT32 AddressRegisterMsrAddress;
1478 UINT32 MiscRegisterMsrAddress;
1484#define EFI_ACPI_5_1_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_DATA_FORMAT_IA32 0x00
1485#define EFI_ACPI_5_1_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_DATA_FORMAT_INTEL64 0x01
1486#define EFI_ACPI_5_1_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_DATA_FORMAT_AMD64 0x02
1491#define EFI_ACPI_5_1_HARDWARE_ERROR_NOTIFICATION_POLLED 0x00
1492#define EFI_ACPI_5_1_HARDWARE_ERROR_NOTIFICATION_EXTERNAL_INTERRUPT 0x01
1493#define EFI_ACPI_5_1_HARDWARE_ERROR_NOTIFICATION_LOCAL_INTERRUPT 0x02
1494#define EFI_ACPI_5_1_HARDWARE_ERROR_NOTIFICATION_SCI 0x03
1495#define EFI_ACPI_5_1_HARDWARE_ERROR_NOTIFICATION_NMI 0x04
1502 UINT16 PollInterval : 1;
1503 UINT16 SwitchToPollingThresholdValue : 1;
1504 UINT16 SwitchToPollingThresholdWindow : 1;
1505 UINT16 ErrorThresholdValue : 1;
1506 UINT16 ErrorThresholdWindow : 1;
1507 UINT16 Reserved : 10;
1517 UINT32 PollInterval;
1519 UINT32 SwitchToPollingThresholdValue;
1520 UINT32 SwitchToPollingThresholdWindow;
1521 UINT32 ErrorThresholdValue;
1522 UINT32 ErrorThresholdWindow;
1534 UINT32 NumberOfRecordsToPreAllocate;
1535 UINT32 MaxSectionsPerRecord;
1537 UINT8 NumberOfHardwareBanks;
1548 UINT32 NumberOfRecordsToPreAllocate;
1549 UINT32 MaxSectionsPerRecord;
1550 UINT32 MaxRawDataLength;
1562 UINT32 NumberOfRecordsToPreAllocate;
1563 UINT32 MaxSectionsPerRecord;
1567 UINT16 DeviceControl;
1569 UINT32 UncorrectableErrorMask;
1570 UINT32 UncorrectableErrorSeverity;
1571 UINT32 CorrectableErrorMask;
1572 UINT32 AdvancedErrorCapabilitiesAndControl;
1573 UINT32 RootErrorCommand;
1585 UINT32 NumberOfRecordsToPreAllocate;
1586 UINT32 MaxSectionsPerRecord;
1590 UINT16 DeviceControl;
1592 UINT32 UncorrectableErrorMask;
1593 UINT32 UncorrectableErrorSeverity;
1594 UINT32 CorrectableErrorMask;
1595 UINT32 AdvancedErrorCapabilitiesAndControl;
1607 UINT32 NumberOfRecordsToPreAllocate;
1608 UINT32 MaxSectionsPerRecord;
1612 UINT16 DeviceControl;
1614 UINT32 UncorrectableErrorMask;
1615 UINT32 UncorrectableErrorSeverity;
1616 UINT32 CorrectableErrorMask;
1617 UINT32 AdvancedErrorCapabilitiesAndControl;
1618 UINT32 SecondaryUncorrectableErrorMask;
1619 UINT32 SecondaryUncorrectableErrorSeverity;
1620 UINT32 SecondaryAdvancedErrorCapabilitiesAndControl;
1629 UINT16 RelatedSourceId;
1632 UINT32 NumberOfRecordsToPreAllocate;
1633 UINT32 MaxSectionsPerRecord;
1634 UINT32 MaxRawDataLength;
1637 UINT32 ErrorStatusBlockLength;
1645 UINT32 RawDataOffset;
1646 UINT32 RawDataLength;
1648 UINT32 ErrorSeverity;
1656 UINT32 SerializationHeaderSize;
1658 UINT32 InstructionEntryCount;
1664#define EFI_ACPI_5_1_ERROR_RECORD_SERIALIZATION_TABLE_REVISION 0x01
1669#define EFI_ACPI_5_1_ERST_BEGIN_WRITE_OPERATION 0x00
1670#define EFI_ACPI_5_1_ERST_BEGIN_READ_OPERATION 0x01
1671#define EFI_ACPI_5_1_ERST_BEGIN_CLEAR_OPERATION 0x02
1672#define EFI_ACPI_5_1_ERST_END_OPERATION 0x03
1673#define EFI_ACPI_5_1_ERST_SET_RECORD_OFFSET 0x04
1674#define EFI_ACPI_5_1_ERST_EXECUTE_OPERATION 0x05
1675#define EFI_ACPI_5_1_ERST_CHECK_BUSY_STATUS 0x06
1676#define EFI_ACPI_5_1_ERST_GET_COMMAND_STATUS 0x07
1677#define EFI_ACPI_5_1_ERST_GET_RECORD_IDENTIFIER 0x08
1678#define EFI_ACPI_5_1_ERST_SET_RECORD_IDENTIFIER 0x09
1679#define EFI_ACPI_5_1_ERST_GET_RECORD_COUNT 0x0A
1680#define EFI_ACPI_5_1_ERST_BEGIN_DUMMY_WRITE_OPERATION 0x0B
1681#define EFI_ACPI_5_1_ERST_GET_ERROR_LOG_ADDRESS_RANGE 0x0D
1682#define EFI_ACPI_5_1_ERST_GET_ERROR_LOG_ADDRESS_RANGE_LENGTH 0x0E
1683#define EFI_ACPI_5_1_ERST_GET_ERROR_LOG_ADDRESS_RANGE_ATTRIBUTES 0x0F
1688#define EFI_ACPI_5_1_ERST_STATUS_SUCCESS 0x00
1689#define EFI_ACPI_5_1_ERST_STATUS_NOT_ENOUGH_SPACE 0x01
1690#define EFI_ACPI_5_1_ERST_STATUS_HARDWARE_NOT_AVAILABLE 0x02
1691#define EFI_ACPI_5_1_ERST_STATUS_FAILED 0x03
1692#define EFI_ACPI_5_1_ERST_STATUS_RECORD_STORE_EMPTY 0x04
1693#define EFI_ACPI_5_1_ERST_STATUS_RECORD_NOT_FOUND 0x05
1698#define EFI_ACPI_5_1_ERST_READ_REGISTER 0x00
1699#define EFI_ACPI_5_1_ERST_READ_REGISTER_VALUE 0x01
1700#define EFI_ACPI_5_1_ERST_WRITE_REGISTER 0x02
1701#define EFI_ACPI_5_1_ERST_WRITE_REGISTER_VALUE 0x03
1702#define EFI_ACPI_5_1_ERST_NOOP 0x04
1703#define EFI_ACPI_5_1_ERST_LOAD_VAR1 0x05
1704#define EFI_ACPI_5_1_ERST_LOAD_VAR2 0x06
1705#define EFI_ACPI_5_1_ERST_STORE_VAR1 0x07
1706#define EFI_ACPI_5_1_ERST_ADD 0x08
1707#define EFI_ACPI_5_1_ERST_SUBTRACT 0x09
1708#define EFI_ACPI_5_1_ERST_ADD_VALUE 0x0A
1709#define EFI_ACPI_5_1_ERST_SUBTRACT_VALUE 0x0B
1710#define EFI_ACPI_5_1_ERST_STALL 0x0C
1711#define EFI_ACPI_5_1_ERST_STALL_WHILE_TRUE 0x0D
1712#define EFI_ACPI_5_1_ERST_SKIP_NEXT_INSTRUCTION_IF_TRUE 0x0E
1713#define EFI_ACPI_5_1_ERST_GOTO 0x0F
1714#define EFI_ACPI_5_1_ERST_SET_SRC_ADDRESS_BASE 0x10
1715#define EFI_ACPI_5_1_ERST_SET_DST_ADDRESS_BASE 0x11
1716#define EFI_ACPI_5_1_ERST_MOVE_DATA 0x12
1721#define EFI_ACPI_5_1_ERST_PRESERVE_REGISTER 0x01
1727 UINT8 SerializationAction;
1741 UINT32 InjectionHeaderSize;
1742 UINT8 InjectionFlags;
1744 UINT32 InjectionEntryCount;
1750#define EFI_ACPI_5_1_ERROR_INJECTION_TABLE_REVISION 0x01
1755#define EFI_ACPI_5_1_EINJ_BEGIN_INJECTION_OPERATION 0x00
1756#define EFI_ACPI_5_1_EINJ_GET_TRIGGER_ERROR_ACTION_TABLE 0x01
1757#define EFI_ACPI_5_1_EINJ_SET_ERROR_TYPE 0x02
1758#define EFI_ACPI_5_1_EINJ_GET_ERROR_TYPE 0x03
1759#define EFI_ACPI_5_1_EINJ_END_OPERATION 0x04
1760#define EFI_ACPI_5_1_EINJ_EXECUTE_OPERATION 0x05
1761#define EFI_ACPI_5_1_EINJ_CHECK_BUSY_STATUS 0x06
1762#define EFI_ACPI_5_1_EINJ_GET_COMMAND_STATUS 0x07
1763#define EFI_ACPI_5_1_EINJ_SET_ERROR_TYPE_WITH_ADDRESS 0x08
1764#define EFI_ACPI_5_1_EINJ_TRIGGER_ERROR 0xFF
1769#define EFI_ACPI_5_1_EINJ_STATUS_SUCCESS 0x00
1770#define EFI_ACPI_5_1_EINJ_STATUS_UNKNOWN_FAILURE 0x01
1771#define EFI_ACPI_5_1_EINJ_STATUS_INVALID_ACCESS 0x02
1776#define EFI_ACPI_5_1_EINJ_ERROR_PROCESSOR_CORRECTABLE (1 << 0)
1777#define EFI_ACPI_5_1_EINJ_ERROR_PROCESSOR_UNCORRECTABLE_NONFATAL (1 << 1)
1778#define EFI_ACPI_5_1_EINJ_ERROR_PROCESSOR_UNCORRECTABLE_FATAL (1 << 2)
1779#define EFI_ACPI_5_1_EINJ_ERROR_MEMORY_CORRECTABLE (1 << 3)
1780#define EFI_ACPI_5_1_EINJ_ERROR_MEMORY_UNCORRECTABLE_NONFATAL (1 << 4)
1781#define EFI_ACPI_5_1_EINJ_ERROR_MEMORY_UNCORRECTABLE_FATAL (1 << 5)
1782#define EFI_ACPI_5_1_EINJ_ERROR_PCI_EXPRESS_CORRECTABLE (1 << 6)
1783#define EFI_ACPI_5_1_EINJ_ERROR_PCI_EXPRESS_UNCORRECTABLE_NONFATAL (1 << 7)
1784#define EFI_ACPI_5_1_EINJ_ERROR_PCI_EXPRESS_UNCORRECTABLE_FATAL (1 << 8)
1785#define EFI_ACPI_5_1_EINJ_ERROR_PLATFORM_CORRECTABLE (1 << 9)
1786#define EFI_ACPI_5_1_EINJ_ERROR_PLATFORM_UNCORRECTABLE_NONFATAL (1 << 10)
1787#define EFI_ACPI_5_1_EINJ_ERROR_PLATFORM_UNCORRECTABLE_FATAL (1 << 11)
1792#define EFI_ACPI_5_1_EINJ_READ_REGISTER 0x00
1793#define EFI_ACPI_5_1_EINJ_READ_REGISTER_VALUE 0x01
1794#define EFI_ACPI_5_1_EINJ_WRITE_REGISTER 0x02
1795#define EFI_ACPI_5_1_EINJ_WRITE_REGISTER_VALUE 0x03
1796#define EFI_ACPI_5_1_EINJ_NOOP 0x04
1801#define EFI_ACPI_5_1_EINJ_PRESERVE_REGISTER 0x01
1807 UINT8 InjectionAction;
1838#define EFI_ACPI_5_1_PLATFORM_COMMUNICATION_CHANNEL_TABLE_REVISION 0x01
1843#define EFI_ACPI_5_1_PCCT_FLAGS_SCI_DOORBELL BIT0
1848#define EFI_ACPI_5_1_PCCT_SUBSPACE_TYPE_GENERIC 0x00
1866 UINT64 AddressLength;
1868 UINT64 DoorbellPreserve;
1869 UINT64 DoorbellWrite;
1870 UINT32 NominalLatency;
1871 UINT32 MaximumPeriodicAccessRate;
1872 UINT16 MinimumRequestTurnaroundTime;
1882 UINT8 GenerateSci : 1;
1886 UINT8 CommandComplete : 1;
1887 UINT8 SciDoorbell : 1;
1889 UINT8 PlatformNotification : 1;
1907#define EFI_ACPI_5_1_ROOT_SYSTEM_DESCRIPTION_POINTER_SIGNATURE SIGNATURE_64('R', 'S', 'D', ' ', 'P', 'T', 'R', ' ')
1912#define EFI_ACPI_5_1_MULTIPLE_APIC_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('A', 'P', 'I', 'C')
1917#define EFI_ACPI_5_1_BOOT_ERROR_RECORD_TABLE_SIGNATURE SIGNATURE_32('B', 'E', 'R', 'T')
1922#define EFI_ACPI_5_1_BOOT_GRAPHICS_RESOURCE_TABLE_SIGNATURE SIGNATURE_32('B', 'G', 'R', 'T')
1927#define EFI_ACPI_5_1_CORRECTED_PLATFORM_ERROR_POLLING_TABLE_SIGNATURE SIGNATURE_32('C', 'P', 'E', 'P')
1932#define EFI_ACPI_5_1_DIFFERENTIATED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('D', 'S', 'D', 'T')
1937#define EFI_ACPI_5_1_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE_SIGNATURE SIGNATURE_32('E', 'C', 'D', 'T')
1942#define EFI_ACPI_5_1_ERROR_INJECTION_TABLE_SIGNATURE SIGNATURE_32('E', 'I', 'N', 'J')
1947#define EFI_ACPI_5_1_ERROR_RECORD_SERIALIZATION_TABLE_SIGNATURE SIGNATURE_32('E', 'R', 'S', 'T')
1952#define EFI_ACPI_5_1_FIXED_ACPI_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('F', 'A', 'C', 'P')
1957#define EFI_ACPI_5_1_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE SIGNATURE_32('F', 'A', 'C', 'S')
1962#define EFI_ACPI_5_1_FIRMWARE_PERFORMANCE_DATA_TABLE_SIGNATURE SIGNATURE_32('F', 'P', 'D', 'T')
1967#define EFI_ACPI_5_1_GENERIC_TIMER_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('G', 'T', 'D', 'T')
1972#define EFI_ACPI_5_1_HARDWARE_ERROR_SOURCE_TABLE_SIGNATURE SIGNATURE_32('H', 'E', 'S', 'T')
1977#define EFI_ACPI_5_1_MEMORY_POWER_STATE_TABLE_SIGNATURE SIGNATURE_32('M', 'P', 'S', 'T')
1982#define EFI_ACPI_5_1_MAXIMUM_SYSTEM_CHARACTERISTICS_TABLE_SIGNATURE SIGNATURE_32('M', 'S', 'C', 'T')
1987#define EFI_ACPI_5_1_PLATFORM_MEMORY_TOPOLOGY_TABLE_SIGNATURE SIGNATURE_32('P', 'M', 'T', 'T')
1992#define EFI_ACPI_5_1_PERSISTENT_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('P', 'S', 'D', 'T')
1997#define EFI_ACPI_5_1_ACPI_RAS_FEATURE_TABLE_SIGNATURE SIGNATURE_32('R', 'A', 'S', 'F')
2002#define EFI_ACPI_5_1_ROOT_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('R', 'S', 'D', 'T')
2007#define EFI_ACPI_5_1_SMART_BATTERY_SPECIFICATION_TABLE_SIGNATURE SIGNATURE_32('S', 'B', 'S', 'T')
2012#define EFI_ACPI_5_1_SYSTEM_LOCALITY_INFORMATION_TABLE_SIGNATURE SIGNATURE_32('S', 'L', 'I', 'T')
2017#define EFI_ACPI_5_1_SYSTEM_RESOURCE_AFFINITY_TABLE_SIGNATURE SIGNATURE_32('S', 'R', 'A', 'T')
2022#define EFI_ACPI_5_1_SECONDARY_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('S', 'S', 'D', 'T')
2027#define EFI_ACPI_5_1_EXTENDED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('X', 'S', 'D', 'T')
2032#define EFI_ACPI_5_1_SIMPLE_BOOT_FLAG_TABLE_SIGNATURE SIGNATURE_32('B', 'O', 'O', 'T')
2037#define EFI_ACPI_5_1_CORE_SYSTEM_RESOURCE_TABLE_SIGNATURE SIGNATURE_32('C', 'S', 'R', 'T')
2042#define EFI_ACPI_5_1_DEBUG_PORT_2_TABLE_SIGNATURE SIGNATURE_32('D', 'B', 'G', '2')
2047#define EFI_ACPI_5_1_DEBUG_PORT_TABLE_SIGNATURE SIGNATURE_32('D', 'B', 'G', 'P')
2052#define EFI_ACPI_5_1_DMA_REMAPPING_TABLE_SIGNATURE SIGNATURE_32('D', 'M', 'A', 'R')
2057#define EFI_ACPI_5_1_DYNAMIC_ROOT_OF_TRUST_FOR_MEASUREMENT_TABLE_SIGNATURE SIGNATURE_32('D', 'R', 'T', 'M')
2062#define EFI_ACPI_5_1_EVENT_TIMER_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('E', 'T', 'D', 'T')
2067#define EFI_ACPI_5_1_HIGH_PRECISION_EVENT_TIMER_TABLE_SIGNATURE SIGNATURE_32('H', 'P', 'E', 'T')
2072#define EFI_ACPI_5_1_ISCSI_BOOT_FIRMWARE_TABLE_SIGNATURE SIGNATURE_32('i', 'B', 'F', 'T')
2077#define EFI_ACPI_5_1_IO_VIRTUALIZATION_REPORTING_STRUCTURE_SIGNATURE SIGNATURE_32('I', 'V', 'R', 'S')
2082#define EFI_ACPI_5_1_IO_LOW_POWER_IDLE_TABLE_STRUCTURE_SIGNATURE SIGNATURE_32('L', 'P', 'I', 'T')
2087#define EFI_ACPI_5_1_PCI_EXPRESS_MEMORY_MAPPED_CONFIGURATION_SPACE_BASE_ADDRESS_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('M', 'C', 'F', 'G')
2092#define EFI_ACPI_5_1_MANAGEMENT_CONTROLLER_HOST_INTERFACE_TABLE_SIGNATURE SIGNATURE_32('M', 'C', 'H', 'I')
2097#define EFI_ACPI_5_1_DATA_MANAGEMENT_TABLE_SIGNATURE SIGNATURE_32('M', 'S', 'D', 'M')
2102#define EFI_ACPI_5_1_PLATFORM_COMMUNICATIONS_CHANNEL_TABLE_SIGNATURE SIGNATURE_32('P', 'C', 'C', 'T')
2107#define EFI_ACPI_5_1_SOFTWARE_LICENSING_TABLE_SIGNATURE SIGNATURE_32('S', 'L', 'I', 'C')
2112#define EFI_ACPI_5_1_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_SIGNATURE SIGNATURE_32('S', 'P', 'C', 'R')
2117#define EFI_ACPI_5_1_SERVER_PLATFORM_MANAGEMENT_INTERFACE_TABLE_SIGNATURE SIGNATURE_32('S', 'P', 'M', 'I')
2122#define EFI_ACPI_5_1_TRUSTED_COMPUTING_PLATFORM_ALLIANCE_CAPABILITIES_TABLE_SIGNATURE SIGNATURE_32('T', 'C', 'P', 'A')
2127#define EFI_ACPI_5_1_TRUSTED_COMPUTING_PLATFORM_2_TABLE_SIGNATURE SIGNATURE_32('T', 'P', 'M', '2')
2132#define EFI_ACPI_5_1_UEFI_ACPI_DATA_TABLE_SIGNATURE SIGNATURE_32('U', 'E', 'F', 'I')
2137#define EFI_ACPI_5_1_WINDOWS_ACPI_EMULATED_DEVICES_TABLE_SIGNATURE SIGNATURE_32('W', 'A', 'E', 'T')
2142#define EFI_ACPI_5_1_WATCHDOG_ACTION_TABLE_SIGNATURE SIGNATURE_32('W', 'D', 'A', 'T')
2147#define EFI_ACPI_5_1_WATCHDOG_RESOURCE_TABLE_SIGNATURE SIGNATURE_32('W', 'D', 'R', 'T')
2152#define EFI_ACPI_5_1_PLATFORM_BINARY_TABLE_SIGNATURE SIGNATURE_32('W', 'P', 'B', 'T')
UINT64 BootPerformanceTablePointer
UINT64 ExitBootServicesEntry
UINT64 OsLoaderStartImageStart
UINT64 OsLoaderLoadImageStart
UINT64 ExitBootServicesExit
UINT64 S3PerformanceTablePointer
UINT32 Reserved1
Must be set to 1.