Some 32-bit vs. 64-bit fixes.
commit2e672fd4b3d5e1a62f9cd7875f14ef43a3a5842b
authorJakub Jermar <jakub@jermar.eu>
Mon, 10 Jul 2006 20:48:40 +0000 (10 20:48 +0000)
committerJakub Jermar <jakub@jermar.eu>
Mon, 10 Jul 2006 20:48:40 +0000 (10 20:48 +0000)
tree08a1b23efb04453275f19b731160cd0c946cbea5
parent822b64e0b6aa7a7bbff90412b98c02914304fc3a
Some 32-bit vs. 64-bit fixes.

Make the call to OpenFirmware client interface architecture dependent.
For instance and contrary to my previous experience, the sparc64 version of
'translate' method would not work reliably unless the Address Mask bit in the
PSTATE register is cleared during duration of the call.

sparc64 and ppc32 OpenFirmware seem to differ in details, for example, the above
mentioned method 'translate' signals success by setting the first return value
to -1 on sparc64 while on ppc32 the value is/stays (???) zero.
arch/ppc32/loader/boot.S
arch/ppc32/loader/main.c
arch/ppc32/loader/ofw.c
arch/ppc64/loader/boot.S
arch/ppc64/loader/ofw.c
arch/sparc64/loader/asm.S
arch/sparc64/loader/boot.S
arch/sparc64/loader/main.c
arch/sparc64/loader/ofw.c
genarch/ofw.c
genarch/ofw.h