阅读:740回复:0
how to handle burst mode read/write of PCI in device driver
Hi everyone,
I am using driverstudio to write a device driver for my PCI card, but i don\'t know how to call up burst mode Read on my PCI card, i try to use one of this method VOID ind(ULONG Offset, PULONG buf, ULONG count); in the declaration of KMemoryRange supplied by driverstudio. It can read in a string of DWORD (32 bits) data but it is not performing burst mode read on the hardware . It is just read in data one by one. My question is : 1. How can i call up burst mode Read in my device driver? Is there any command or method can use , or i need to handle the IRP by my own? 2. By theory , where the data from the PCI board store before reaching my Win32 user program ? Do they store in the RAM before getting by the device driver ? Please give some sample code if it is possible. Thank you very much for you all. |
|