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

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Wed Apr 7 16:24:40 UTC 2010


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);


HTH,

Mark.

-- 
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs



More information about the OpenBIOS mailing list