aboutsummaryrefslogtreecommitdiff
path: root/kernel/drivers/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/cpu.c')
-rw-r--r--kernel/drivers/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/cpu.c b/kernel/drivers/cpu.c
index 86ae2be..f751d33 100644
--- a/kernel/drivers/cpu.c
+++ b/kernel/drivers/cpu.c
@@ -145,7 +145,7 @@ CLEAR void cpu_enable_features(void)
panic("No FPU support!\n");
}
- // Enable NX (IA32_EFER.NXE)
+ // Enable NX (IA32_EFER.NXE) // TODO: Use NX Bit? (only possible in PAE 64 bit paging?)
if (cpu_extended_information.edx & CPUID_EXT_INFO_EDX_NX) {
__asm__ volatile("movl $0xc0000080, %ecx\n"
"rdmsr\n"