mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 14:15:07 +00:00
Kernel: Move all CPU feature initialization into cpu_setup()
..and do it very very early in boot.
This commit is contained in:
parent
210adaeca6
commit
6fea316611
4 changed files with 61 additions and 90 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue