Improve stack tracing

This commit is contained in:
Justin C. Miller
2018-05-11 01:25:40 -07:00
parent 0a231f2e0e
commit 045bede481
3 changed files with 45 additions and 15 deletions

View File

@@ -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