tags:

views:

161

answers:

0

Well, kind of tricky question... we want to create a physical memory buffer, to be shared between driver and application, on WCE6. on CE5, we just allocated physical memory and mapped it to virtual memory both on driver and application, and it works like a charm. however on WCE6, due to new security scheme, you cannot map physical memory to virtual memory anymore, so this approach fails. so we looked around, and found CreateFileMapping, which seems like the exact thing we need. however, on the driver side, we need physical address of the buffer (for DMA), and i could not find a way to get the physical address CreateFileMapping is using.

anyone has an idea ? - how can i find out the physical address created by CreateFileMapping (wihen working without file, off course) - how to convert physical address to virtual adderres, on user space application, under WCE6

thanks

Noam