PCI-E驱动程序问题 [英] PCI-E driver question

查看:137
本文介绍了PCI-E驱动程序问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个PCI-E卡驱动程序。使用Visual Studio 2017 + WDK 10 KMDF模板开发的驱动程序可以在Windows 7上正常使用。在Windows 10上,我可以安装驱动程序,驱动安装,并使用事件查看器查看
设备错误:源Kernel-PnP,问题0x15,问题状态0x00。 此外,在驱动器操作期间,初始化,BAR0空间操作和DMA启动是正常的但是PCI-E卡没有中断.Windwos 10的驱动程序和Windows 7的驱动程序开发之间是否有任何差异
?我的PnP相关例程有问题吗? br />
感谢您的回复!!!

I am developing a PCI-E card driver. The driver with Visual Studio 2017 + WDK 10 KMDF template development can be used normally on Windows 7. On Windows 10, I can install the driver, drive the installation, and use the event viewer to see the device error: source Kernel-PnP, problem 0x15, problem state 0x00. In addition, during the drive operation, the initialization, BAR0 space operation, and DMA startup are normal, but there is no interruption from the PCI-E card. Is there any difference between the driver of Windwos 10 and the driver development of Windows 7? Is there a problem with my PnP related routine?
Thanks for your reply!!!

推荐答案

您可以使用Windows 7托管Windows 10的开发环境。   如果驱动程序写得正确,它应该可以正常工作。  这听起来像是驱动程序中的一个或多个错误,您需要开始调试它。  首先启用
SetupAPI日志记录,看看它是否显示安装有任何问题。 然后用Windbg开始调试驱动程序。

You can use Windows 7 to host the development environment for Windows 10.   If the driver is properly written it should work.   This sounds like one or more bugs in your driver, you need to start debugging it.   First enable SetupAPI Logging and see if it shows any problems with the install.  Then start debugging the driver with Windbg.


这篇关于PCI-E驱动程序问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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