mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:37:45 +00:00
Revert "Kernel: Move Kernel mapping to 0xc0000000"
This reverts commit bd33c66273
.
This broke the network card drivers, since they depended on kmalloc
addresses being identity-mapped.
This commit is contained in:
parent
f61ed8eab5
commit
9a157b5e81
13 changed files with 64 additions and 132 deletions
|
@ -22,7 +22,7 @@ public:
|
|||
~PageDirectory();
|
||||
|
||||
u32 cr3() const { return m_directory_page->paddr().get(); }
|
||||
PageDirectoryEntry* entries() { return reinterpret_cast<PageDirectoryEntry*>(cr3() + kernel_virtual_base); }
|
||||
PageDirectoryEntry* entries() { return reinterpret_cast<PageDirectoryEntry*>(cr3()); }
|
||||
|
||||
void flush(VirtualAddress);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue