Clear the back pointer in the root kernel stack frame, so stack traces
will end there. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15888 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
93d1b9f406
commit
1cf0c3b3f2
@ -25,6 +25,10 @@ FUNCTION(arch_start_kernel):
|
||||
// set up the kernel stack
|
||||
subi %r1, %r5, 16
|
||||
|
||||
// clear the pointer to the previous frame
|
||||
li %r0, 0
|
||||
stw %r0, 0(%r1)
|
||||
|
||||
// enter the kernel
|
||||
mtlr %r4
|
||||
blrl
|
||||
|
Loading…
Reference in New Issue
Block a user