mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:17:35 +00:00
Kernel: Clean up MemoryManager initialization a bit more
Move the CPU feature enabling to functions in Arch/i386/CPU.cpp.
This commit is contained in:
parent
6b52f6c61d
commit
3e8b60c618
4 changed files with 94 additions and 90 deletions
|
@ -539,8 +539,13 @@ extern bool g_cpu_supports_tsc;
|
|||
extern bool g_cpu_supports_umip;
|
||||
|
||||
void stac();
|
||||
|
||||
void clac();
|
||||
void x86_enable_pae();
|
||||
void x86_enable_pge();
|
||||
void x86_enable_smep();
|
||||
void x86_enable_smap();
|
||||
void x86_enable_nx();
|
||||
void x86_enable_wp();
|
||||
|
||||
class SmapDisabler {
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue