[OpenBIOS] memory corruption with "read" $call-method (sparc32)

Artyom Tarasenko atar4qemu at googlemail.com
Wed Apr 7 17:06:45 UTC 2010


2010/4/7 Mark Cave-Ayland <mark.cave-ayland at siriusit.co.uk>:
> Mark Cave-Ayland wrote:
>
>> Hmmm it may be interesting to see on which device the read is being
>> issued. Inside obp_devread add something like the following:
>>
>> ucell phandle;
>>
>> phandle = ih_to_phandle(dev_desc);
>> printk("### phandle: " FMT_ucellx\n", phandle);
>
> Looks like the gremlins got into my email again. Of course what you really
> want is this:
>
> ucell phandle;
>
> phandle = ih_to_phandle(dev_desc);
> printk("### phandle: " FMT_ucellx\n", phandle);

### phandle: ffd86744
ffd86744 /packages/disk-label

-- 
Regards,
Artyom Tarasenko

solaris/sparc under qemu blog: http://tyom.blogspot.com/



More information about the OpenBIOS mailing list