Add madt_entry_types and print out value

This commit is contained in:
Michael Shaw 2023-02-28 17:24:32 -05:00
commit b8599a4e8e
4 changed files with 62 additions and 4 deletions

View file

@ -28,9 +28,17 @@ struct acpi_sdt_header {
struct rsdt {
struct acpi_sdt_header h;
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;
#endif /* __ASM__ */
#endif /* _ACPI_H_ */