acpi: add a way to early define RSDP location

This commit is contained in:
Mark
2020-09-01 23:46:18 +03:00
parent d91a9114c7
commit 2ff4dca8c4
3 changed files with 44 additions and 21 deletions
+3
View File
@@ -100,7 +100,10 @@ struct acpi_fadt {
//...
} __attribute__((packed));
extern struct acpi_rsdp_ext *acpi_rsdp;
extern struct acpi_madt *acpi_madt;
extern struct acpi_mcfg *acpi_mcfg;
void amd64_acpi_set_rsdp(uintptr_t addr);
void amd64_acpi_set_rsdp2(uintptr_t addr);
void amd64_acpi_init(void);