mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 22:38:12 +00:00
Protect the first 4 KB of memory.
This makes null pointers crashy, tremendously useful :^)
This commit is contained in:
parent
dd6706a1a1
commit
d5ec18027e
2 changed files with 18 additions and 1 deletions
|
@ -58,6 +58,7 @@ private:
|
|||
|
||||
void initializePaging();
|
||||
|
||||
void protectMap(LinearAddress, size_t length);
|
||||
void identityMap(LinearAddress, size_t length);
|
||||
|
||||
Vector<PhysicalAddress> allocatePhysicalPages(size_t count);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue