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.
ATB,
Mark.