diff --git a/src/system/boot/platform/openfirmware/arch/ppc/arch_start_kernel.S b/src/system/boot/platform/openfirmware/arch/ppc/arch_start_kernel.S index 89400d2e57..c0c082231c 100644 --- a/src/system/boot/platform/openfirmware/arch/ppc/arch_start_kernel.S +++ b/src/system/boot/platform/openfirmware/arch/ppc/arch_start_kernel.S @@ -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