阅读:1702回复:1
能否不写驱动,直接通过pci写或读几个字节
大家好!
我目前需要通过pci调试自己的一个设备。但由于自己对wdm驱动不熟悉,想跳过驱动直接对pci进行以字(16bit)或字节(8bit)的读写。 我下载了一个软件TVicHW32。可以做一些pci的操作,下面是他的pci方面功能的描述。不知通过这个软件能否实现字节的读写。谢谢大家了! PCI bus control function set includes the following items: GetLasPciBus - returns the last PCI bus number begin from 0 value. GetHardwareMechanism - returns the hardware PCI mechanism used on your PC, 1 or 2. GetPciHeader - reads data from the header of the device's PCI configuration space for present Vendor Id and Device Id. SetPciHeader - writes data to the header of the device's PCI configuration space. GetPciDeviceInfo - returns a PCI device info for given bus number, device number and function number. |
|
沙发#
发布于:2011-05-18 08:58
似乎不行啊
都是涉及配置空间的读写 |
|
|