[wdmaudiodev] Re: about DMA buffer

  • From: Tim Roberts <timr@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Tue, 16 Sep 2008 15:40:21 -0700

karthiksharmasg@xxxxxxx wrote:
>
>             Thanks Tim, For that message.
>                           All this weekend i gone through the DDK
> documentation and got the knowledge of MSVAD.
>               Now i am using an shared memory to feed the recorder
> from the o/p of the player, I followed the following steps
>       1. Create an section using ZwCreateSection.
>       2. opened this section using ZwOpenSection
>       3. Mapped the opened section to the current process virtual
> add space using ZwMapViewOfSection
>       4. Writting to the section using RtlCopy Memory
>
>       Untill step 4 all went good but while writing to the virtual
> address space i am getting crash "0X00000D1, {28d0000, 2, 1, a9b10dea}"
>       Can any ane explain me what is wrong, Can i use RtlCopyMemory in
> this senario or Not??

28D0000 is a user-mode address.  You will need to use the kernel-mode
address for your section when doing your copy.

-- 
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts: