Add madt_entry_types and print out value
This commit is contained in:
parent
2146b49bb3
commit
b8599a4e8e
4 changed files with 62 additions and 4 deletions
|
|
@ -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_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue