Patch by Andreas Faerber:
* The kernel's _start entry function expects now a second argument, the current CPU index. The PPC boot loader didn't initialize GPR4, passing its second argument, the kernel entry address, as CPU index, causing smp_cpu_rendezvous() to loop forever. This fix gets the PPC boot to a kernel debug prompt. The CPU index is currently fixed to 0. Thanks a lot! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34854 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -31,6 +31,7 @@ FUNCTION(arch_start_kernel):
|
||||
|
||||
// enter the kernel
|
||||
mtlr %r4
|
||||
li %r4, 0
|
||||
blrl
|
||||
|
||||
/* Actually we should never get here, but at least for debugging purposes
|
||||
|
||||
Reference in New Issue
Block a user