diff options
author | Andreas Kling <kling@serenityos.org> | 2020-05-22 12:55:23 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-22 13:17:38 +0200 |
commit | 84b7bc5e14bcdaef0721143f8d99b40fde7e7c5e (patch) | |
tree | 5db8c1ac3eefc0fdcaad5303f511cf56d900b815 /Kernel/Forward.h | |
parent | 6b5d2afd007ce5834aa9e816ac5db7d99b04d36f (diff) | |
download | serenity-84b7bc5e14bcdaef0721143f8d99b40fde7e7c5e.zip |
Kernel: Add convenient ways to map whole BIOS and EBDA into memory
This patch adds a MappedROM abstraction to the Kernel VM subsystem.
It's basically the read-only byte buffer equivalent of a TypedMapping.
We use this in the ACPI and MP table parsers to scan for interesting
stuff in low memory instead of doing a bunch of address arithmetic.
Diffstat (limited to 'Kernel/Forward.h')
-rw-r--r-- | Kernel/Forward.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Forward.h b/Kernel/Forward.h index 1587051c97..4b89adb116 100644 --- a/Kernel/Forward.h +++ b/Kernel/Forward.h @@ -44,6 +44,7 @@ class InodeWatcher; class KBuffer; class KResult; class LocalSocket; +class MappedROM; class PageDirectory; class PerformanceEventBuffer; class PhysicalPage; |