Thanks all,
Regarding the notification there is a "side channel" event that
notifies the user. that is done via an interrupt.
The purpose is a circular queue like described below
only that the user allocates the buffers (about 2M)
not the driver, so I still need the direct IO method.
The thing I wasnt sure about is keepijng the buffers locked
for DMA/user-access, each at a time.
Tomer Goldberg
----- Original Message -----
From: Moreira, Alberto
To: Windows System Software Devs Interest List
Sent: Tuesday, July 27, 2004 5:20 PM
Subject: RE: [ntdev] Reusing IRP buffer for DMA transfer
I don't know if this helps, but when I did 3D graphics for a living we had a chain of common buffers, as large as we could afford (minimum 4Mb, typically way more than that, and we were talking about 64Mb systems) and the driver would append chip commands to the end of the current buffer. We treated it as a kind of circular queue, so, one single I/O would transfer a huge amount of stuff down to the graphics chip, and we'd try to keep that one I/O open for as long as we could. But we did it on the iron, inside the graphics DLL which was not a device driver per se, and we barely if ever used the OS except for setup purposes.
Alberto.
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com]On Behalf Of Tomer Goldberg
Sent: Tuesday, July 27, 2004 5:40 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Reusing IRP buffer for DMA transfer
Hi,
Is it possible to use a queue of IRPs
for DMA and when the last IRP is finished go back
to the first one and so on.
That means that these buffers are always locked and the IRPs are not
completed
can the user perform process on the buffer
in between ?
thanks,
Tomer Goldberg
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: tomerg22@012.net.il
To unsubscribe send a blank email to xxxxx@lists.osr.com
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
#####################################################################################
This Mail Was Scanned by 012.net Anti Virus Service - Powered by TrendMicro Interscan