[OpenBIOS] [PATCH 4/4] ppc: avoid runtime relocations

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Wed Jan 26 15:14:58 CET 2011

On 23/01/11 17:42, Segher Boessenkool wrote:

>> Because the sizes of cells and pointers do not match on PPC64,
> So fix that.  Most OF implementations on 64-bit PowerPC use 64-bit
> cells; you pretty much need it for things like device access, esp.
> if running in real mode.
> The Forth standard does not define pointers that do not fit in a
> cell; OF-specific words like rl@ take a cell-sized "address" as
> well.

I'm fairly sure that Andreas is aware of this (for example, one of the 
patches I posted earlier for SPARC32 fixes the generation of memory 
properties but will truncate the maximum address to 32-bits on PPC64 
since the code assumes that a single cell can hold a virtual address).

Andreas - are you happy for these two patchsets to be applied? We'd like 
to hope they won't break PPC64 too badly until you can find some time to 
continue work on it.



Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs

More information about the OpenBIOS mailing list