[OpenBIOS] [PATCH 2/2] Don't map the page 0 to make NULL-dereferencing more obvious

Tarl Neustaedter tarl-b2 at tarl.net
Wed Apr 10 01:43:03 CEST 2013


On 2013-Apr-9 19:08 , Mark Cave-Ayland wrote:
>>
>> But we still don't need ihandle>phandle in (.property-by-name), do we?
>
> Yes, because the properties in /chosen are ihandles (see page 23 of 
> the IEEE1275 specification). So if you are still seeing strange 
> behaviour that could be another bug - if you can post a test case, 
> I'll take a look. 

That shouldn't matter - as far as .properties is concerned, the /chosen 
properties are ints, and are printed out as such.

The bug seemed to be the sequence:

    active-package ( phandle ) ihandle>phandle

You can't feed a phandle into ihandle>phandle.




More information about the OpenBIOS mailing list