apic: Added madt entry struct types
This also moves madt parsing to apic.c
This commit is contained in:
parent
6627486995
commit
57ed3eefe6
6 changed files with 130 additions and 41 deletions
|
|
@ -30,12 +30,6 @@ struct rsdt {
|
|||
uint32_t sdt[];
|
||||
} PACKED;
|
||||
|
||||
struct madt {
|
||||
struct acpi_sdt_header h;
|
||||
uint32_t lapic_addr;
|
||||
uint32_t flags;
|
||||
} PACKED;
|
||||
|
||||
void acpi_init();
|
||||
|
||||
extern struct madt *__madt;
|
||||
|
|
|
|||
Loading…
Reference in a new issue