[OpenBIOS] [PATCH 3/4] ppc: use separate context to call client images

Segher Boessenkool segher at kernel.crashing.org
Sun May 1 22:18:04 CEST 2016


On Sun, May 01, 2016 at 11:23:01AM +0100, Mark Cave-Ayland wrote:
>  unsigned int start_elf(unsigned long entry_point, unsigned long param);

> @@ -609,7 +611,7 @@ go(void)
>      feval("saved-program-state >sps.entry @");
>      addr = POP();
>  
> -    call_elf(0, 0, addr);
> +    start_elf((unsigned int)addr, 0);

That should cast to unsigned long, instead?


Segher



More information about the OpenBIOS mailing list