summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/boot64.s
diff options
context:
space:
mode:
authordzwdz2022-07-16 19:35:05 +0200
committerdzwdz2022-07-16 19:35:05 +0200
commitb26098268eb443f1ed3dc50d902b2beee40c8342 (patch)
tree1b7bf720cde8e68fe1f446a414f38f4f63175227 /src/kernel/arch/amd64/boot64.s
parentce80ee8d40b0a2b48bfbbceac9a0baee189c5e1b (diff)
amd64: seemingly working syscalls (SYSCALL/SYSRET)
Diffstat (limited to 'src/kernel/arch/amd64/boot64.s')
-rw-r--r--src/kernel/arch/amd64/boot64.s1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/kernel/arch/amd64/boot64.s b/src/kernel/arch/amd64/boot64.s
index 1dca0ca..af05ffe 100644
--- a/src/kernel/arch/amd64/boot64.s
+++ b/src/kernel/arch/amd64/boot64.s
@@ -4,7 +4,6 @@ boot64:
mov $(5 << 3 | 3), %ax // SEG_TSS
ltr %ax
- xchgw %bx, %bx
push %rdi // preserve multiboot struct
call sysenter_setup
pop %rdi