[OpenBIOS] Getting Closer With Booting AIX? I Would Like to Help Please.
Andreas Färber
andreas.faerber at web.de
Mon May 23 22:14:03 CEST 2011
Am 23.05.2011 um 20:08 schrieb Kenneth Salerno:
> can someone please look into this change I always have to make to
> get OpenBIOS ppc64 to compile? :)
>
> --- arch/ppc/qemu/methods.c.ORIG 2011-05-23
> 14:00:23.832161400 -0400
> +++ arch/ppc/qemu/methods.c 2011-05-23 14:00:36.769661400 -0400
> @@ -38,7 +38,7 @@
> rtas_instantiate( void )
> {
> ucell physbase = POP();
> - ucell s=0x1000, size = (ucell)of_rtas_end -
> (ucell)of_rtas_start;
> + ucell s=0x1000, size = (ducell)of_rtas_end -
> (ducell)of_rtas_start;
> unsigned long virt;
>
> while( s < size )
First mention thereof, no error here.
Anyway, the real fix will be to change the cell size on ppc64 to 64-
bit and to revert any workarounds for 32-bit ucell I applied before.
That way, the size of ucell will be large enough for ptrdiff_t, too.
Now that I have QEMU working again for debugging, I'll focus on the
cell issue the next days.
If you feel tempted to investigate the magic 260 further that would be
appreciated. You posted logs of -m 1024, does it work with -m 259 and
break with -m 260? Or is it different numbers on your host?
Cheers,
Andreas
More information about the OpenBIOS
mailing list