#5182: [PATCH] boot_loader_openfirmware: Fix second kernel argument --------------------------------+------------------------------------------- Reporter: andreasf | Owner: axeld Type: bug | Status: new Priority: blocker | Milestone: R1 Component: System/Boot Loader | Version: R1/Development Keywords: | Blockedby: Platform: PowerPC | Blocking: 1048 --------------------------------+------------------------------------------- The kernel's entry function {{{_start}}} expects as second argument an {{{int currentCPU}}}. The boot loader didn't initialize GPR4, passing its second argument, the kernel entry address, as CPU number, causing {{{smp_cpu_rendezvous}}} to loop forever. The attached patch initializes it to zero for now. -- Ticket URL: <http://dev.haiku-os.org/ticket/5182> Haiku <http://dev.haiku-os.org> Haiku - the operating system.