mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
Improve stack tracing
This commit is contained in:
@@ -20,6 +20,9 @@ _start:
|
||||
|
||||
mov rsp, stack_end
|
||||
push 0 ; signal end of stack with 0 return address
|
||||
push 0 ; and a few extra entries in case of stack
|
||||
push 0 ; problems
|
||||
push 0
|
||||
|
||||
mov rbp, rsp
|
||||
extern kernel_main
|
||||
|
||||
Reference in New Issue
Block a user