1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 09:18:11 +00:00

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.
This commit is contained in:
Andreas Kling 2020-05-22 12:55:23 +02:00
parent 6b5d2afd00
commit 84b7bc5e14
8 changed files with 169 additions and 47 deletions

View file

@ -44,6 +44,7 @@ class InodeWatcher;
class KBuffer;
class KResult;
class LocalSocket;
class MappedROM;
class PageDirectory;
class PerformanceEventBuffer;
class PhysicalPage;