PCI "SHOW EXT_REGISTERS"

Show a hex-dump for the registers of an extended configuration area of a PCI device with the current settings.

Syntax

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

Parameters

/BASE

Specifies the register's base address; base_address is a hexadecimal number. If omitted, the debugger scans for an MCFG table and uses the memory-mapped base address from it.

/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 0xFFF.

/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 an extended configuration area of a PCI device as defined by the parameters described above. To access the extended PCI configuration area, a base address is required. To enter a base address manually, use the /BASE option. If this option is omitted, the debugger scans for a valid SFI or RSDP to locate a MCFG table and then uses the memory-mapped base address from this table.

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.