!pcicam (dump the PCI/PCIe configuration space)

Description of '!pcicam' command in HyperDbg.

!pcicam

Syntax

!pcicam [Bus (hex)] [Device (hex)] [Function (hex)]

!pcicam [Bus (hex)] [Device (hex)] [Function (hex)] [Dump (string)]

Description

Dumps the PCI configuration space (CAM) for a given device.

Parameters

[Bus (hex)]

The PCI/PCI-e Bus number.

[Device (hex)]

The PCI/PCI-e Device number.

[Function (hex)]

The PCI/PCI-e Function number.

[Dump (string)] (optional)

x: dump the PCI/PCI-e CAM in hexadecimal format.

Examples

The following command interprets the PCI/PCI-e CAM fields of the Bus:3, Device:0, and Function:0.

The following command interprets the PCI/PCI-e CAM fields of a PCI Root Port with the BDF number of Bus:3, Device:0, and Function:0.

The following command dumps the PCI/PCI-e CAM of the Bus:3, Device:0, and Function:0 in the hexadecimal format.

SDK

None

Remarks

Starting from v0.13, this command was added to the HyperDbg debugger.

This command is guaranteed to keep debuggee in a halt state (in Debugger Mode); thus, nothing will change during its execution.

Requirements

None

!pcitree (show PCI/PCI-e device tree)

Last updated