Can I launch a DMA operation in DPC routine ?
- From: "heartofdra@xxxxxxxxx" <heartofdra@xxxxxxxxx>
- Date: Mon, 25 May 2009 21:38:13 -0700 (PDT)
I am writing a dirver of a PCI AD card. The design of the card is
common .It based on the PLX9054 , and there is a FIFO on the local
side, when the fifo is half full? it triges the interrupt , then the
dirver launch a DMA to get the data.
At first , I followed the Packet Based DMA method , and the upper
application writer told me their software can't responds enough
quickly. They ask me to setup a buffer in my dirver, then the
gathering data stored in the buffe firstly, when the upper application
need, it read the buffer.
If I adhibit this method , It is the driver , not the application
become the original DMA launcher. So , the dirver must perform a DMA
opertion automatically after each "half full interrupt" occurs. The
only way and the only palace I can imaging is the DPC where begin a
DMA Read opertion.
IS IT Workability? thanks.
.
- Prev by Date: ACPI Driver
- Next by Date: USB:Pipe not Opening!
- Previous by thread: ACPI Driver
- Next by thread: USB:Pipe not Opening!
- Index(es):
Relevant Pages
|