如果我想在Windows的设备驱动程序中枚举系统中所有的Pci设备,并读它们的配置空间,该如何做?根据Bus(0-255),Device(0-31),function(0-3)来枚举可以吗?怎么做啊?盼高手回复!
回复(4) 2003-12-16 22:37 来自版块 - 内核编程
表情
arthurtuDOS也可以用bios ina 1a中断(2003-12-25 22:11)
Lingfeng是用直接的采用端口读写来枚举设备吗? 有没有什么其他的方法(2003-12-25 19:43)
grantDOS下的,Windows下也类似。 #include <stdio.h> #include <conio.h> typedef unsigned long DWORD ; static DWORD _inpd(int portnum)...(2003-12-17 10:15)
seaquester如果我想在Windows的设备驱动程序中枚举系统中所有的Pci设备,并读它们的配置空间,该如何做? 根据Bus(0-255),Device(0-31),function(0-3)来枚举可以吗?怎么做啊? 盼高手回复! 一般就是根据Bus,Device,function...(2003-12-17 08:03)

返回顶部