Create 2 DMA adapters. One to allow your common buffer out of, the other for your data
d
debt from my phone
From: John Hall
Sent: 1/30/2012 2:01 AM
To: Windows System Software Devs Interest List
Subject: RE: RE:[ntdev] Is WdfCommonBufferCreate guaranteed to return a logical address below 4GB?
Hi,
I’m specifying WdfDmaProfileScatterGather64Duplex when I create my DMA adapter, which is what the device is capable of. The constraint is purely on the common buffer where I setup the data structures for the scatter/gather. Once it has loaded the scatter/gather table it is capable of dual address cycles for transferring the data.
I understand that if I specified WdfDmaProfileScatterGatherDuplex then this would solve the problem, but transfers on machines with >4GB would potentially become slower.
Thanks,
John
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@broadcom.com
Sent: 25 January 2012 17:47
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Is WdfCommonBufferCreate guaranteed to return a logical address below 4GB?
You specify characteristics of your device when you allocate a DMA adapter. If your device requires different constraints, you can allocate another DMA adapter for 32 bit physical (logical) address allocations.
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer