summaryrefslogtreecommitdiff
path: root/Kernel/VM/Region.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-11-23 17:27:09 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-11-23 17:27:09 +0100
commit9a157b5e81a7991fbba437b62b2911479a5e5cff (patch)
treed5a7ba58d7743fec6ffa33ec00dfbd7f8d6a414c /Kernel/VM/Region.cpp
parentf61ed8eab584417b4e2e9deb42bca37711cac5b3 (diff)
downloadserenity-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/Region.cpp')
-rw-r--r--Kernel/VM/Region.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/VM/Region.cpp b/Kernel/VM/Region.cpp
index fe75af58d1..7104dd1534 100644
--- a/Kernel/VM/Region.cpp
+++ b/Kernel/VM/Region.cpp
@@ -252,7 +252,7 @@ void Region::map(PageDirectory& page_directory)
pte.set_user_allowed(is_user_accessible());
page_directory.flush(page_vaddr);
#ifdef MM_DEBUG
- kprintf("MM: >> map_region_at_address (PD=%p) '%s' V%p => P%p (@%p)\n", &page_directory, name().characters(), page_vaddr.get(), physical_page ? physical_page->paddr().get() : 0, physical_page.ptr());
+ dbgprintf("MM: >> map_region_at_address (PD=%p) '%s' V%p => P%p (@%p)\n", &page_directory, name().characters(), page_vaddr.get(), physical_page ? physical_page->paddr().get() : 0, physical_page.ptr());
#endif
}
}