diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-11-23 17:27:09 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-11-23 17:27:09 +0100 |
commit | 9a157b5e81a7991fbba437b62b2911479a5e5cff (patch) | |
tree | d5a7ba58d7743fec6ffa33ec00dfbd7f8d6a414c /Kernel/VM/PageDirectory.cpp | |
parent | f61ed8eab584417b4e2e9deb42bca37711cac5b3 (diff) | |
download | serenity-9a157b5e81a7991fbba437b62b2911479a5e5cff.zip |
Revert "Kernel: Move Kernel mapping to 0xc0000000"
This reverts commit bd33c6627394b2166e1419965dd3b2d2dc0c401f.
This broke the network card drivers, since they depended on kmalloc
addresses being identity-mapped.
Diffstat (limited to 'Kernel/VM/PageDirectory.cpp')
-rw-r--r-- | Kernel/VM/PageDirectory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/VM/PageDirectory.cpp b/Kernel/VM/PageDirectory.cpp index e95b313b8e..3533d6cfa9 100644 --- a/Kernel/VM/PageDirectory.cpp +++ b/Kernel/VM/PageDirectory.cpp @@ -22,7 +22,7 @@ RefPtr<PageDirectory> PageDirectory::find_by_pdb(u32 pdb) } PageDirectory::PageDirectory(PhysicalAddress paddr) - : m_range_allocator(VirtualAddress(kernelspace_range_base + 0x800000), 0x3f000000) + : m_range_allocator(VirtualAddress(0xc0000000), 0x3f000000) { m_directory_page = PhysicalPage::create(paddr, true, false); InterruptDisabler disabler; |