PCI "SHOW REGISTERS"

Show a hex-dump for the registers of a PCI device with the current settings.

Syntax

PCI "SHOW REGISTERS/BUS=bus_id/DEV=device_id/FUNC=function_id/OFFSET=offset/LENGTH=length"

Parameters

/BUS=bus_id

Specifies the PCI bus; bus_id is a decimal number.

/DEV=device_id

Specifies the PCI device; device_id is a decimal number.

/FUNC=function_id

Specifies the PCI function; function_id is a decimal number.

/OFFSET=offset

Specifies the start address of the registers to be displayed; offset is a hexadecimal number from 0x0 to 0xFF.

/LENGTH=length

Specifies the number of bytes to be displayed; length is a decimal number.

Description

This command displays a hex-dump for the registers of a standardized configuration area of a PCI device as defined by the parameters described above.

Note

Make sure to use this command only after full initialization of the platform's PCI subsystem. Accessing the PCI bus before that point in time might lead to target instabilities up to and including crashes.

For more complete information about compiler optimizations, see our Optimization Notice.