Peter

drop at the ok prompt and use the spacex command with an ASI of 15  to 
access PIO

for example
ok showstack
ok 4000ee01010 15 spacex@

HTH
Michel




Peter Lawrence wrote:

>
>I'm using mdb -k to view the contents of a schizo interrupt-mapping-register
>
>    0x4000ee01010\J
>
>but it fails with
>
>    mdb: failed to read data from target: no mapping for address
>
>what gives?
>
>how can io-space and physical addresses be accessed in mdb?
>
>-Pete.
>
>(someone allready suggested "mdb -k /dev/ksyms /dev/allkmem", but that
> did not help, same error)
>
>
>
>ps, the register's physical address can be deduced from the device's
>etc/path_to_inst entry:  "/ssm at 0,0/pci at 1d,600000/network at 1" 14 "ce"
>
>
>     0x400,0000,0000     IO-space
>           0e80,0000     agentID 0x1d << 23
>             60,0000     A-bus
>                1000     start offset for Intr-Mapping-Regs
>                  20     (slot << 2 + pin) * 8
>      --------------
>     0x400,0ee0,1020
>
>
>
>_______________________________________________
>mdb-discuss mailing list
>mdb-discuss at opensolaris.org
>  
>

-- 
__________________________________
Michel Volpi
Area System Support Engineer
Southern Area Sun Microsystems, Inc.
303 223 6250 (60382)



Reply via email to