[OpenBIOS] Apple's Open Firmware.
Segher Boessenkool
segher at kernel.crashing.org
Tue Apr 3 14:05:16 CEST 2018
On Tue, Apr 03, 2018 at 03:09:28AM -0700, Joe van Tunen wrote:
> I found the code that checks for 0xF4 in the `get-fc function in the PowerMac G5 compiled fcode. So tokens have three ways to be encoded:
>
> 0x00, 0x10-0xFF = one byte 0x??
> 0x100-0xFFF = two bytes 0x0???
> 0x???? = three bytes 0xF4????
00, 10..f3, f5..ff are that number
01..0f xx are 100..fff
f4 xx xx are 0000..ffff
(so with f4 you can encode either of the other two "types", too).
Segher
More information about the OpenBIOS
mailing list