PCI驱动程序开发
问题描述:
我正在尝试使用c开发PCI驱动程序我想知道如何配置PCI设备以及如何在Windows中访问PCI设备我正在使用Eclipse IDE和Mingw编译器
I am trying to develop a PCI driver using c I want to know how to configure an PCI device and how to access PCI device in windows I am using Eclipse IDE and Mingw compiler
答
从 Windows驱动程序工具包开始 [ ^ ] - 您应该放弃mingw编译器,转而使用该套件提供的Visual C ++编译器。
MS还提供了一些示例驱动程序,其中许多用于PCI设备,因此请查看: Windows驱动程序工具包示例包 [ ^ ]
Bes t问候
Espen Harlinn
Start with the Windows Driver Kit[^] - you should probably ditch the mingw compiler in favour of the Visual C++ compiler provided with the kit.
MS also provides a number of example drivers, many of them for PCI devices, so have a look at: Windows Driver Kit Samples Pack[^]
Best regards
Espen Harlinn