1 #ifndef __LUNAIX_ACPI_ACPI_H
2 #define __LUNAIX_ACPI_ACPI_H
6 #include <arch/x86/boot/multiboot.h>
11 #define ACPI_RSDP_SIG_L 0x20445352 // 'RSD '
12 #define ACPI_RSDP_SIG_H 0x20525450 // 'PTR '
14 #define ACPI_MADT_SIG 0x43495041 // 'APIC'
27 char reserved[3]; // Reserved field
28 } __attribute__((packed)) acpi_rsdp_t;
31 * @brief Main TOC of ACPI tables, provide hassle-free access of ACPI info.
36 // Make it as null terminated
42 acpi_init(multiboot_info_t* mb_info);
47 #endif /* __LUNAIX_ACPI_ACPI_H */