如何获得PCI卡I/O范围 [英] How to get PCI card I/O ranges

查看:102
本文介绍了如何获得PCI卡I/O范围的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何以编程方式查询Windows设备管理器资源"选项卡中显示的PCI卡I/O范围?
我想使用Microsoft提供的功能(可能包含在DDK中)来获取此信息,而不使用第三方库.

How can I programmatically inquire PCI card I/O Ranges as seen in the Windows Device Manager Resources Tab?
I want to use Microsoft provided functions (possibly included in the DDK) to aquire this information and not use third party libraries.

推荐答案

PCI_DIAG.C
该驱动程序实现对PCI设备的检测,对PCI配置空间的访问,对卡上I/O和内存映射范围的访问以及中断处理.
如果以上详细信息符合您的要求,请检查WinDriver的源文件.
http://www.jungo.com/st/support/techissues-samplecode.html [ ^ ]
PCI_DIAG.C
The driver implements detection of PCI devices, access to the PCI configuration space, access to I/O and memory mapped ranges on the card, and interrupt handling.

Check WinDriver''s source file if the above details are matching your requirement.
http://www.jungo.com/st/support/techissues-samplecode.html[^]


这篇关于如何获得PCI卡I/O范围的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆