mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:58:12 +00:00
Kernel: ACPI code doesn't rely on identity mapping anymore
The problem was mostly in the initialization code, since in that stage the parser assumed that there is an identity mapping in the first 1MB of the address space. Now during initialization the parser will create the correct mappings to locate the required data.
This commit is contained in:
parent
325022cbd7
commit
60c32f44dd
2 changed files with 45 additions and 24 deletions
|
@ -52,6 +52,8 @@ private:
|
|||
size_t get_table_size(ACPI_RAW::SDTHeader&);
|
||||
u8 get_table_revision(ACPI_RAW::SDTHeader&);
|
||||
void init_fadt();
|
||||
ACPI_RAW::RSDPDescriptor20* search_rsdp_in_ebda(u16 ebda_segment);
|
||||
ACPI_RAW::RSDPDescriptor20* search_rsdp_in_bios_area();
|
||||
ACPI_RAW::RSDPDescriptor20* search_rsdp();
|
||||
|
||||
// Early pointers that are needed really for initializtion only...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue