RTEMS 6.1-rc5
|
ACPI implementation. More...
Functions | |
bool | acpi_tables_initialize (void) |
Initializes the ACPICA Table Manager. Requires dynamic memory. | |
void | acpi_walk_subtables (ACPI_TABLE_HEADER *table, size_t size_of_header, void(*handler)(ACPI_SUBTABLE_HEADER *)) |
Walks through the subtables of an ACPI table. | |
RTEMS_SYSINIT_ITEM (initialize_acpi, RTEMS_SYSINIT_DEVICE_DRIVERS, RTEMS_SYSINIT_ORDER_MIDDLE) | |
Variables | |
uint64_t | acpi_rsdp_addr = 0 |
ACPI implementation.
bool acpi_tables_initialize | ( | void | ) |
Initializes the ACPICA Table Manager. Requires dynamic memory.
The ACPICA Table Manager is independent of the rest of the ACPICA subsystem and only requires dynamic memory to be initialized (unless a statically allocated array for the tables is provided). Since access to ACPI tables may be required before the entire ACPICA subsystem can be initialized this routine can be used earlier in the system intialization.
void acpi_walk_subtables | ( | ACPI_TABLE_HEADER * | table, |
size_t | size_of_header, | ||
void(*)(ACPI_SUBTABLE_HEADER *) | handler | ||
) |
Walks through the subtables of an ACPI table.
table | Pointer to the table. |
size_of_header | Size of the table header (used to offset into first subtable). |
handler | Handler that is called for each subtable found. |