175#define ACPI_SIG_DSDT "DSDT"
176#define ACPI_SIG_FADT "FACP"
177#define ACPI_SIG_FACS "FACS"
178#define ACPI_SIG_OSDT "OSDT"
179#define ACPI_SIG_PSDT "PSDT"
180#define ACPI_SIG_RSDP "RSD PTR "
181#define ACPI_SIG_RSDT "RSDT"
182#define ACPI_SIG_XSDT "XSDT"
183#define ACPI_SIG_SSDT "SSDT"
184#define ACPI_RSDP_NAME "RSDP"
185#define ACPI_OEM_NAME "OEM"
216 char Signature[ACPI_NAMESEG_SIZE];
220 char OemId[ACPI_OEM_ID_SIZE];
221 char OemTableId[ACPI_OEM_TABLE_ID_SIZE];
223 char AslCompilerId[ACPI_NAMESEG_SIZE];
224 UINT32 AslCompilerRevision;
261 char OemId[ACPI_OEM_ID_SIZE];
263 UINT32 RsdtPhysicalAddress;
265 UINT64 XsdtPhysicalAddress;
266 UINT8 ExtendedChecksum;
277 char OemId[ACPI_OEM_ID_SIZE];
279 UINT32 RsdtPhysicalAddress;
288 UINT64 XsdtPhysicalAddress;
289 UINT8 ExtendedChecksum;
305 UINT32 TableOffsetEntry[1];
312 UINT64 TableOffsetEntry[1];
316#define ACPI_RSDT_ENTRY_SIZE (sizeof (UINT32))
317#define ACPI_XSDT_ENTRY_SIZE (sizeof (UINT64))
330 UINT32 HardwareSignature;
331 UINT32 FirmwareWakingVector;
334 UINT64 XFirmwareWakingVector;
344#define ACPI_GLOCK_PENDING (1)
345#define ACPI_GLOCK_OWNED (1<<1)
349#define ACPI_FACS_S4_BIOS_PRESENT (1)
350#define ACPI_FACS_64BIT_WAKE (1<<1)
354#define ACPI_FACS_64BIT_ENVIRONMENT (1)
372 UINT8 PreferredProfile;
379 UINT32 Pm1aEventBlock;
380 UINT32 Pm1bEventBlock;
381 UINT32 Pm1aControlBlock;
382 UINT32 Pm1bControlBlock;
383 UINT32 Pm2ControlBlock;
387 UINT8 Pm1EventLength;
388 UINT8 Pm1ControlLength;
389 UINT8 Pm2ControlLength;
391 UINT8 Gpe0BlockLength;
392 UINT8 Gpe1BlockLength;
430#define ACPI_FADT_LEGACY_DEVICES (1)
431#define ACPI_FADT_8042 (1<<1)
432#define ACPI_FADT_NO_VGA (1<<2)
433#define ACPI_FADT_NO_MSI (1<<3)
434#define ACPI_FADT_NO_ASPM (1<<4)
435#define ACPI_FADT_NO_CMOS_RTC (1<<5)
439#define ACPI_FADT_PSCI_COMPLIANT (1)
440#define ACPI_FADT_PSCI_USE_HVC (1<<1)
444#define ACPI_FADT_WBINVD (1)
445#define ACPI_FADT_WBINVD_FLUSH (1<<1)
446#define ACPI_FADT_C1_SUPPORTED (1<<2)
447#define ACPI_FADT_C2_MP_SUPPORTED (1<<3)
448#define ACPI_FADT_POWER_BUTTON (1<<4)
449#define ACPI_FADT_SLEEP_BUTTON (1<<5)
450#define ACPI_FADT_FIXED_RTC (1<<6)
451#define ACPI_FADT_S4_RTC_WAKE (1<<7)
452#define ACPI_FADT_32BIT_TIMER (1<<8)
453#define ACPI_FADT_DOCKING_SUPPORTED (1<<9)
454#define ACPI_FADT_RESET_REGISTER (1<<10)
455#define ACPI_FADT_SEALED_CASE (1<<11)
456#define ACPI_FADT_HEADLESS (1<<12)
457#define ACPI_FADT_SLEEP_TYPE (1<<13)
458#define ACPI_FADT_PCI_EXPRESS_WAKE (1<<14)
459#define ACPI_FADT_PLATFORM_CLOCK (1<<15)
460#define ACPI_FADT_S4_RTC_VALID (1<<16)
461#define ACPI_FADT_REMOTE_POWER_ON (1<<17)
462#define ACPI_FADT_APIC_CLUSTER (1<<18)
463#define ACPI_FADT_APIC_PHYSICAL (1<<19)
464#define ACPI_FADT_HW_REDUCED (1<<20)
465#define ACPI_FADT_LOW_POWER_S0 (1<<21)
470enum AcpiPreferredPmProfiles
476 PM_ENTERPRISE_SERVER = 4,
479 PM_PERFORMANCE_SERVER = 7,
485#define ACPI_X_WAKE_STATUS 0x80
486#define ACPI_X_SLEEP_TYPE_MASK 0x1C
487#define ACPI_X_SLEEP_TYPE_POSITION 0x02
488#define ACPI_X_SLEEP_ENABLE 0x20
511 ACPI_PHYSICAL_ADDRESS Address;
515 ACPI_OWNER_ID OwnerId;
517 UINT16 ValidationCount;
533#define ACPI_MAX_TABLE_VALIDATIONS ACPI_UINT16_MAX
537#define ACPI_TABLE_ORIGIN_EXTERNAL_VIRTUAL (0)
538#define ACPI_TABLE_ORIGIN_INTERNAL_PHYSICAL (1)
539#define ACPI_TABLE_ORIGIN_INTERNAL_VIRTUAL (2)
540#define ACPI_TABLE_ORIGIN_MASK (3)
541#define ACPI_TABLE_IS_VERIFIED (4)
542#define ACPI_TABLE_IS_LOADED (8)
554#define ACPI_FADT_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_FADT, f)
571#define ACPI_FADT_V1_SIZE (UINT32) (ACPI_FADT_OFFSET (Flags) + 4)
572#define ACPI_FADT_V2_SIZE (UINT32) (ACPI_FADT_OFFSET (MinorRevision) + 1)
573#define ACPI_FADT_V3_SIZE (UINT32) (ACPI_FADT_OFFSET (SleepControl))
574#define ACPI_FADT_V5_SIZE (UINT32) (ACPI_FADT_OFFSET (HypervisorId))
575#define ACPI_FADT_V6_SIZE (UINT32) (sizeof (ACPI_TABLE_FADT))
577#define ACPI_FADT_CONFORMANCE "ACPI 6.1 (FADT version 6)"