summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/32/boot.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch/amd64/32/boot.s')
-rw-r--r--src/kernel/arch/amd64/32/boot.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/arch/amd64/32/boot.s b/src/kernel/arch/amd64/32/boot.s
index eb33c28..06de66e 100644
--- a/src/kernel/arch/amd64/32/boot.s
+++ b/src/kernel/arch/amd64/32/boot.s
@@ -25,7 +25,7 @@ _start:
mov $0xC0000080, %ecx // EFER MSR
rdmsr
- or $(1 | 1<<8 | 1<<11), %eax // sysenter | long mode | NX
+ or $(1 | 1<<8 | 1<<11), %eax // syscall/ret | long mode | NX
wrmsr
mov %cr0, %eax