hi,
i am writing a video capture driver and i want to do a dma of the data from
the lower drivers into the stream class’s buffer in SRB_READ_DATA. can
somebody give me a good starting place for handling DMA and related
issues.
regards,
anubhav.
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Do something like this:
- Pend original data SRB.
- Get its MDL.
- Allocate internal device control IRP, set up completion routine and pass
MDL of original SRB to lower level driver.
- In your “DMA driver” use received MDL to set up DMA.
- In lower level driver complete internal device control IRP when DMA
finishes.
- In stream class minidriver complete original data SRB from completion
routine for internal device control IRP.
Max.
— anubhav wrote:
> hi,
>
> i am writing a video capture driver and i want to do a dma of the data
> from
> the lower drivers into the stream class’s buffer in SRB_READ_DATA. can
> somebody give me a good starting place for handling DMA and related
> issues.
>
> regards,
> anubhav.
>
> —
> You are currently subscribed to ntdev as: xxxxx@yahoo.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com