uint8_t pm_profile
Preferred power management profile.
const struct acpi_madt_io_apic * acpi_next_io_apic(const struct acpi_madt_io_apic *prev)
Return a pointer to the next I/O APIC structure entry in the MADT table.
uint32_t flags
Fixed feature flags.
uint32_t length
Length of this table including header.
uint8_t reserved2
Not used.
uint32_t ptr_io_apic
I/O APIC address.
uint32_t pm1a_ctlblock
Port of PM1a ctl register block.
char oemid[6]
Supplied by the OEM.
Header attached to the front of all ACPI tables.
union acpi_hdr::@1 signature
uint32_t creator_revision
Revision of this utility.
const struct acpi_madt * acpi_madt()
Return a pointer to the ACPI multiple APIC description table (MADT).
Platform Interrupt Sources.
uint8_t apicid
I/O APIC ID.
uint8_t pmt_ctl_len
Bytes decoded by pmt_ctlblock.
const struct acpi_fadt * acpi_fadt()
Return a pointer to the ACPI fixed ACPI description table.
uint8_t bus_end
End PCI bus number.
uint8_t bus
Must be 0, meaning ISA.
uint32_t flags
APIC flags.
uint32_t smi_cmdport
SMI command port.
uint8_t gpe0_len
Bytes decoded by gpe0_block.
uint8_t pstate_ctl
SMI command to assume perf state ctl.
uint32_t gpe0_block
Port of general-purpose event 0 reg block.
uint32_t interrupt
Interrupt this soruce will signal.
char creatorid[4]
Vendor id.
uint16_t flush_size
Cache reads to flush dirty cache.
uint32_t flags
Local APIC flags (bit 0 = usable)
Interrupt Source Override.
uint8_t length
Length of IC structure including header.
const struct acpi_mcfg_addr * acpi_next_mcfg_addr(const struct acpi_mcfg_addr *prev)
Return a pointer to the next Mapped Configuration (MCFG) address entry, used for PCIe.
void acpi_init()
Find and parse all available ACPI tables.
uint32_t ptr_dsdt
Pointer to DSDT block.
uint8_t pm1_evt_len
Bytes decoded by pm1*_evtblock.
struct acpi_hdr PACKSTRUCT
uint32_t ptr_local_apic
Local APIC address.
MCFG entry, one or more of which appears at the tail of the acpi_mcfg struct.
uint16_t flush_stride
Cache width (flush stride)
uint32_t pm1b_ctlblock
Port of PM1b ctl register block.
char oemtableid[8]
Supplied by the OEM.
uint16_t latency_c3
Worst-case us latency to enter C3 state.
const struct acpi_madt_local_apic * acpi_next_local_apic(const struct acpi_madt_local_apic *prev)
Return a pointer to the next Local APIC structure entry in the MADT table.
PCI express Mapped Configuration (MCFG) table.
uint32_t gpe1_block
Port of general-purpose event 0 reg block.
uint16_t seg_group
PCI segment group number.
uint8_t alarm_day
RTC RAM index day-of-month alarm: day.
uint8_t duty_width
Width of P_CNT reg duty cycle setting.
uint32_t oemrevision
Supplied by the OEM.
uint8_t acpi_disable
SMI command to re-enable SMI ownership.
uint32_t pm1b_evtblock
Port of PM1b event register block.
uint32_t pm2_ctlblock
Port of PM2 ctl register block.
Fixed ACPI Description Table (FADT)
uint8_t duty_offset
Index of P_CNT reg duty cycle setting.
uint8_t apicid
Local APIC ID.
uint8_t source
Bus-relative source (IRQ)
const struct acpi_madt_iso * acpi_next_iso(const struct acpi_madt_iso *prev)
Return a pointer to the next Interrupt Source Override (ISO) structure entry in the MADT table...
uint8_t acpi_enable
SMI command to disable SMI ownership.
uint8_t checksum
Covers entire table.
uint16_t boot_arch
Boot architecture flags (ACPI 2.0+)
uint8_t type
acpi_madt_type
MADT Interrupt Source Override (ISO) entry.
uint32_t pm1a_evtblock
Port of PM1a event register block.
uint8_t gpe1_len
Bytes decoded by gpe1_block.
uint8_t cstate_ctl
SMI command for C state notifications.
uint16_t latency_c2
Worst-case us latency to enter C2 state.
uint32_t firmware_ctl
Pointer to FACS firmware control block.
uint8_t pm2_ctl_len
Bytes decoded by pm2_ctlblock.
Multiple APIC description table (MADT).
uint16_t flags
MPS INTI flags.
uint64_t base
Base address of configuration mechanism.
uint8_t century
RTC RAM index of century.
uint8_t procid
Processor ID.
uint8_t s4bios_req
SMI command to enter S4BIOS state.
uint16_t sci_interrupt
SCI interrupt vector.
uint8_t revision
Revision number, should be 1.
int acpi_version()
Return the ACPI version number.
uint32_t pmt_ctlblock
Port of PM timer ctl register block.
uint32_t interrupt_base
Interrupt # where interrupts start.
uint8_t alarm_month
RTC RAM index day-of-month alarm: month.
acpi_madt_type
MADT entry types.
Local APIC Address Override.
uint8_t reserved1
Not used.
uint8_t pm1_ctl_len
Bytes decoded by pm1*_ctlblock.
uint8_t bus_start
Start PCI bus number.
uint8_t gpe1_base
Offset where gpe1 events start.