[OpenBIOS] [PATCH 4/4] ppc: avoid runtime relocations
tarl-b2 at tarl.net
Sat Jan 29 15:42:27 CET 2011
On 2011-1-29 7:26 AM, Andreas Färber wrote:
> My (our) requirement is that the guest-visible parts remain compatible with
> Apple OpenFirmware (the hardware we emulate today), and I'd prefer to share
> a common code base for ppc and ppc64.
> My understanding is that if we enlarge the internal cell size as suggested
> by Segher, encode-int and other Forth words will start widening their
> output, too, so that property values will start to differ, no?
Shouldn't. Encode-int is defined to encode 32-bit integers, not full cells. A
property "cell" is always 32-bits, even on 64-bit machines.
A 64-bit forth engine must still be capable of running 32-bit FCode version2.
More information about the OpenBIOS