mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 19:59:17 +00:00
Kernel: Move all CPU feature initialization into cpu_setup()
..and do it very very early in boot.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user