summaryrefslogtreecommitdiff
path: root/Kernel/VM
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-01-18 10:11:29 +0100
committerAndreas Kling <kling@serenityos.org>2020-01-18 10:11:29 +0100
commit6fea3166118a79baf5546555592694a37a08bb51 (patch)
treedb6d1490676589f3c7e898d14e42ed3e5a72f9b7 /Kernel/VM
parent210adaeca645686f9cc5edb66443510a7a1273b0 (diff)
downloadserenity-6fea3166118a79baf5546555592694a37a08bb51.zip
Kernel: Move all CPU feature initialization into cpu_setup()
..and do it very very early in boot.
Diffstat (limited to 'Kernel/VM')
-rw-r--r--Kernel/VM/MemoryManager.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/Kernel/VM/MemoryManager.cpp b/Kernel/VM/MemoryManager.cpp
index 30a23432fc..a134e72dca 100644
--- a/Kernel/VM/MemoryManager.cpp
+++ b/Kernel/VM/MemoryManager.cpp
@@ -53,13 +53,6 @@ MemoryManager::MemoryManager()
parse_memory_map();
- x86_enable_pae();
- x86_enable_pge();
- x86_enable_smep();
- x86_enable_smap();
- x86_enable_nx();
- x86_enable_wp();
-
asm volatile("movl %%eax, %%cr3" ::"a"(kernel_page_directory().cr3()));
setup_low_1mb();