Ticket #5182: kernel_arg_cpu.diff

File kernel_arg_cpu.diff, 505 bytes (added by andreasf, 15 years ago)

proposed patch

  • src/system/boot/platform/openfirmware/arch/ppc/arch_start_kernel.S

    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 c0c0822..2156e1d 100644
    a b FUNCTION(arch_start_kernel):  
    3131
    3232    // enter the kernel
    3333    mtlr    %r4
     34    li      %r4, 0
    3435    blrl
    3536
    3637    /* Actually we should never get here, but at least for debugging purposes