| 12345678910111213141516171819202122 |
- /* Minimal ACPI table discovery: RSDP -> RSDT/XSDT -> MADT.
- *
- * Only the CPU/LAPIC information needed to start APs is parsed. Absence of
- * ACPI or of a usable MADT is not an error: the kernel then stays UP.
- */
- #ifndef ACPI_H
- #define ACPI_H
- #define ACPI_MAX_CPUS 8
- /* Returns 1 when a usable MADT with at least one local APIC entry was found.
- * acpi_cpu_count() then includes the BSP as entry 0. */
- int acpi_init(void);
- unsigned int acpi_cpu_count(void);
- unsigned int acpi_cpu_apic_id(unsigned int index);
- unsigned int acpi_bsp_apic_id(void);
- unsigned int acpi_lapic_base(void);
- void acpi_dump(void);
- #endif
|