|
IgrOS-Kernel 0.1.34.545
Simple C++20 Kernel for i386/x86_64
|
CPU feature control. More...
#include <arch/x86/features.hpp>#include <arch/x86_64/cpuid.hpp>#include <arch/x86_64/msr.hpp>#include <klib/kFlags.hpp>
Go to the source code of this file.
Functions | |
| auto | cpuEnableNoExecute () noexcept -> bool |
| Enable no-execute page protection (EFER.NXE) if CPU supports it. | |
CPU feature control.
Definition in file features.cpp.
|
nodiscardnoexcept |
Enable no-execute page protection (EFER.NXE) if CPU supports it.
(false on i386: NX bit exists only in PAE and long mode page tables)
Definition at line 36 of file features.cpp.