Kernel: Map all ACPI tables on initialization

This makes their usage much easier and less error prone

They won't mapped be processes when we get to there, so this won't be
a problem
This commit is contained in:
Bananymous
2023-04-15 23:53:45 +03:00
parent 1c22e90fa0
commit 88f60b5e41
3 changed files with 13 additions and 21 deletions

View File

@@ -84,8 +84,7 @@ namespace Kernel
static BAN::ErrorOr<void> initialize();
static ACPI& get();
BAN::ErrorOr<const SDTHeader*> get_header(const char[4]);
void unmap_header(const SDTHeader*);
const SDTHeader* get_header(const char[4]);
private:
ACPI() = default;