Redigera

Dela via


!ecb, !ecd, !ecw

The !ecb, !ecd, and !ecw extensions write to the PCI configuration space.

!ec Bus.Device.Function Offset Data 

Parameters

Bus
Specifies the bus. Bus can range from 0 to 0xFF.

Device
Specifies the slot device number for the device.

Function
Specifies the slot function number for the device.

Offset
Specifies the address at which to write.

Data
Specifies the value to be written. For the !ecb extension, Data must be 1 byte (two hexadecimal digits). For the !ecw extension, Data must be one WORD (four hexadecimal digits). For the !ecd extension, Data must be one DWORD (eight hexadecimal digits).

DLL

Windows 2000

Kext.dll

Windows XP and later

Kext.dll

These extension commands can only be used with an x86-based target computer.

Additional Information

See Plug and Play Debugging for applications of this extension command, and some additional examples. For information about PCI buses, see the Windows Driver Kit (WDK) documentation.

Remarks

You cannot use these extension commands to write a sequence of Data values. This can only be done by repeated use of this extension.

To display the PCI configuration space, use !pci 100Bus Device Function.