|
#define | ACPI_SIG_DSDT "DSDT" /* Differentiated System Description Table */ |
|
#define | ACPI_SIG_FADT "FACP" /* Fixed ACPI Description Table */ |
|
#define | ACPI_SIG_FACS "FACS" /* Firmware ACPI Control Structure */ |
|
#define | ACPI_SIG_OSDT "OSDT" /* Override System Description Table */ |
|
#define | ACPI_SIG_PSDT "PSDT" /* Persistent System Description Table */ |
|
#define | ACPI_SIG_RSDP "RSD PTR " /* Root System Description Pointer */ |
|
#define | ACPI_SIG_RSDT "RSDT" /* Root System Description Table */ |
|
#define | ACPI_SIG_XSDT "XSDT" /* Extended System Description Table */ |
|
#define | ACPI_SIG_SSDT "SSDT" /* Secondary System Description Table */ |
|
#define | ACPI_RSDP_NAME "RSDP" /* Short name for RSDP, not signature */ |
|
#define | ACPI_OEM_NAME "OEM" /* Short name for OEM, not signature */ |
|
#define | ACPI_RSDT_ENTRY_SIZE (sizeof (UINT32)) |
|
#define | ACPI_XSDT_ENTRY_SIZE (sizeof (UINT64)) |
|
#define | ACPI_GLOCK_PENDING (1) /* 00: Pending global lock ownership */ |
|
#define | ACPI_GLOCK_OWNED (1<<1) /* 01: Global lock is owned */ |
|
#define | ACPI_FACS_S4_BIOS_PRESENT (1) /* 00: S4BIOS support is present */ |
|
#define | ACPI_FACS_64BIT_WAKE (1<<1) /* 01: 64-bit wake vector supported (ACPI 4.0) */ |
|
#define | ACPI_FACS_64BIT_ENVIRONMENT (1) /* 00: 64-bit wake environment is required (ACPI 4.0) */ |
|
#define | ACPI_FADT_LEGACY_DEVICES (1) /* 00: [V2] System has LPC or ISA bus devices */ |
|
#define | ACPI_FADT_8042 (1<<1) /* 01: [V3] System has an 8042 controller on port 60/64 */ |
|
#define | ACPI_FADT_NO_VGA (1<<2) /* 02: [V4] It is not safe to probe for VGA hardware */ |
|
#define | ACPI_FADT_NO_MSI (1<<3) /* 03: [V4] Message Signaled Interrupts (MSI) must not be enabled */ |
|
#define | ACPI_FADT_NO_ASPM (1<<4) /* 04: [V4] PCIe ASPM control must not be enabled */ |
|
#define | ACPI_FADT_NO_CMOS_RTC (1<<5) /* 05: [V5] No CMOS real-time clock present */ |
|
#define | ACPI_FADT_PSCI_COMPLIANT (1) /* 00: [V5+] PSCI 0.2+ is implemented */ |
|
#define | ACPI_FADT_PSCI_USE_HVC (1<<1) /* 01: [V5+] HVC must be used instead of SMC as the PSCI conduit */ |
|
#define | ACPI_FADT_WBINVD (1) /* 00: [V1] The WBINVD instruction works properly */ |
|
#define | ACPI_FADT_WBINVD_FLUSH (1<<1) /* 01: [V1] WBINVD flushes but does not invalidate caches */ |
|
#define | ACPI_FADT_C1_SUPPORTED (1<<2) /* 02: [V1] All processors support C1 state */ |
|
#define | ACPI_FADT_C2_MP_SUPPORTED (1<<3) /* 03: [V1] C2 state works on MP system */ |
|
#define | ACPI_FADT_POWER_BUTTON (1<<4) /* 04: [V1] Power button is handled as a control method device */ |
|
#define | ACPI_FADT_SLEEP_BUTTON (1<<5) /* 05: [V1] Sleep button is handled as a control method device */ |
|
#define | ACPI_FADT_FIXED_RTC (1<<6) /* 06: [V1] RTC wakeup status is not in fixed register space */ |
|
#define | ACPI_FADT_S4_RTC_WAKE (1<<7) /* 07: [V1] RTC alarm can wake system from S4 */ |
|
#define | ACPI_FADT_32BIT_TIMER (1<<8) /* 08: [V1] ACPI timer width is 32-bit (0=24-bit) */ |
|
#define | ACPI_FADT_DOCKING_SUPPORTED (1<<9) /* 09: [V1] Docking supported */ |
|
#define | ACPI_FADT_RESET_REGISTER (1<<10) /* 10: [V2] System reset via the FADT RESET_REG supported */ |
|
#define | ACPI_FADT_SEALED_CASE (1<<11) /* 11: [V3] No internal expansion capabilities and case is sealed */ |
|
#define | ACPI_FADT_HEADLESS (1<<12) /* 12: [V3] No local video capabilities or local input devices */ |
|
#define | ACPI_FADT_SLEEP_TYPE (1<<13) /* 13: [V3] Must execute native instruction after writing SLP_TYPx register */ |
|
#define | ACPI_FADT_PCI_EXPRESS_WAKE (1<<14) /* 14: [V4] System supports PCIEXP_WAKE (STS/EN) bits (ACPI 3.0) */ |
|
#define | ACPI_FADT_PLATFORM_CLOCK (1<<15) /* 15: [V4] OSPM should use platform-provided timer (ACPI 3.0) */ |
|
#define | ACPI_FADT_S4_RTC_VALID (1<<16) /* 16: [V4] Contents of RTC_STS valid after S4 wake (ACPI 3.0) */ |
|
#define | ACPI_FADT_REMOTE_POWER_ON (1<<17) /* 17: [V4] System is compatible with remote power on (ACPI 3.0) */ |
|
#define | ACPI_FADT_APIC_CLUSTER (1<<18) /* 18: [V4] All local APICs must use cluster model (ACPI 3.0) */ |
|
#define | ACPI_FADT_APIC_PHYSICAL (1<<19) /* 19: [V4] All local xAPICs must use physical dest mode (ACPI 3.0) */ |
|
#define | ACPI_FADT_HW_REDUCED (1<<20) /* 20: [V5] ACPI hardware is not implemented (ACPI 5.0) */ |
|
#define | ACPI_FADT_LOW_POWER_S0 (1<<21) /* 21: [V5] S0 power savings are equal or better than S3 (ACPI 5.0) */ |
|
#define | ACPI_X_WAKE_STATUS 0x80 |
|
#define | ACPI_X_SLEEP_TYPE_MASK 0x1C |
|
#define | ACPI_X_SLEEP_TYPE_POSITION 0x02 |
|
#define | ACPI_X_SLEEP_ENABLE 0x20 |
|
#define | ACPI_MAX_TABLE_VALIDATIONS ACPI_UINT16_MAX |
|
#define | ACPI_TABLE_ORIGIN_EXTERNAL_VIRTUAL (0) /* Virtual address, external maintained */ |
|
#define | ACPI_TABLE_ORIGIN_INTERNAL_PHYSICAL (1) /* Physical address, internally mapped */ |
|
#define | ACPI_TABLE_ORIGIN_INTERNAL_VIRTUAL (2) /* Virtual address, internallly allocated */ |
|
#define | ACPI_TABLE_ORIGIN_MASK (3) |
|
#define | ACPI_TABLE_IS_VERIFIED (4) |
|
#define | ACPI_TABLE_IS_LOADED (8) |
|
#define | ACPI_FADT_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_FADT, f) |
|
#define | ACPI_FADT_V1_SIZE (UINT32) (ACPI_FADT_OFFSET (Flags) + 4) |
|
#define | ACPI_FADT_V2_SIZE (UINT32) (ACPI_FADT_OFFSET (MinorRevision) + 1) |
|
#define | ACPI_FADT_V3_SIZE (UINT32) (ACPI_FADT_OFFSET (SleepControl)) |
|
#define | ACPI_FADT_V5_SIZE (UINT32) (ACPI_FADT_OFFSET (HypervisorId)) |
|
#define | ACPI_FADT_V6_SIZE (UINT32) (sizeof (ACPI_TABLE_FADT)) |
|
#define | ACPI_FADT_CONFORMANCE "ACPI 6.1 (FADT version 6)" |
|