summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/sysenter.s
diff options
context:
space:
mode:
authordzwdz2022-07-25 21:19:57 +0200
committerdzwdz2022-07-25 21:19:57 +0200
commit4e4496e993942fc5361f2e4ab23798ea6a4d78b9 (patch)
tree84d9f5d9f71c76430e87377f332e2a3186b6f468 /src/kernel/arch/amd64/sysenter.s
parent6cbeb4e42667bb4fd2f8abe6818865e700690d34 (diff)
kernel: cleaner and more compact stacktraces
Diffstat (limited to 'src/kernel/arch/amd64/sysenter.s')
-rw-r--r--src/kernel/arch/amd64/sysenter.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/arch/amd64/sysenter.s b/src/kernel/arch/amd64/sysenter.s
index 9dc907f..1dfb422 100644
--- a/src/kernel/arch/amd64/sysenter.s
+++ b/src/kernel/arch/amd64/sysenter.s
@@ -108,4 +108,5 @@ sysenter_stage1:
push %r15
mov $_bss_end, %rsp
+ push $0 // for stacktraces
jmp sysenter_stage2