readme
来自「pci的驱动程序编程基本框架,在此基础上编程非常方便,实现了由PCI进行DMA传」· 代码 · 共 22 行
TXT
22 行
This directory holds the code to build a PCI driver that will mapdevice memory info user space. (Note: It is not a good idea to mapmemory into user space because a user space program can then crash the machine. For bring a PCI device up for the first time, however,this can be a useful utility). It assumes that the device is a framebuffer, buf that assumption can be changed. To build it, you willneed the Microsoft Windows NT DDK. It has been tested under theNT 3.51 DDK. Use the 'build' command to create the driver.makefile Standard NT makefile for device driversmaptest.c A very small program that can map the PCI memory into user space. It will be built by default with the 'build' command, but it can also be created with the Microsoft Visual C++ 2.0 project maptest.makmaptest.mak A Microsoft Visual C++ 2.0 project fileskeleton.c A skeleton device driver that will locate and map a PCI device.skeleton_dev.h Defines the extended device structureskeleton_nt.h Defines the ioctlssources Specifies what the 'build' command should do.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?