[OpenBIOS] [PATCH 3/4] ppc: use separate context to call client images
Programmingkid
programmingkidx at gmail.com
Sun May 1 22:35:53 CEST 2016
On May 1, 2016, at 4:18 PM, Segher Boessenkool wrote:
> 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?
The ppc target is only 32 bits, and so it int. Did you want this code to work on ppc64?
More information about the OpenBIOS
mailing list