Debugger Commands
http://www.motorola.com/computer/literature 3-37
3
CSAR - PCI Configuration Space READ Access
Command Input
CSAR busnum devnum function addr [;B|H|W]
Options
Description
The CSAR command reads the location in PCI configuration space of the
device at the PCI bus number specified by:
CSAR displays the value read.
Example: To read the register at offset 8 of the PCI device on PCI bus 0,
which has a device ID of 12 (decimal), and function 0 of that device, do:
PPC1-Bug>csar 0 c 0 8<Return>
Read Data = 01000013
PPC1-Bug>
B Byte
H Half-word
W Word (default)
busnum = the PCI bus number to be read
devnum = the device number to be read
function = the device function number to be read
addr = the offset into the device configuration registers. addr
must be between 0 and 255 decimal.
size (optional) = the size of the location to be read
Commentaires sur ces manuels