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:
@@ -25,6 +25,10 @@ FUNCTION(arch_start_kernel):
|
|||||||
// set up the kernel stack
|
// set up the kernel stack
|
||||||
subi %r1, %r5, 16
|
subi %r1, %r5, 16
|
||||||
|
|
||||||
|
// clear the pointer to the previous frame
|
||||||
|
li %r0, 0
|
||||||
|
stw %r0, 0(%r1)
|
||||||
|
|
||||||
// enter the kernel
|
// enter the kernel
|
||||||
mtlr %r4
|
mtlr %r4
|
||||||
blrl
|
blrl
|
||||||
|
|||||||
Reference in New Issue
Block a user