Re: Translating virtual address to physical address in CE 6.0
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Wed, 25 Apr 2007 09:58:29 -0700
Your *driver* for the device would be able to accomplish this, but your
*application* is not. Data will not be paged out, so you're correct, but
code can be. You need to build a driver for the hardware and have that
allocate the buffers, or at least do the mapping from virtual to physical,
and program the hardware.
Paul T.
"ENOSUCHLUSER" <ENOSUCHLUSER@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:48607CD8-CFE5-40D8-8864-6A415F90EE69@xxxxxxxxxxxxxxxx
Hello,
I have some data collection hardware that needs to be programmed with the
physical addresses of some buffers. These buffers are allocated from
general
memory (DDR2) and, of course, the addresses that my application has for
these
buffers are virtual addresses.
I don't think there is an easy way to translate a given virtual address to
its corresponding physical address in CE 6.0. Am I wrong?
Note that there is no paging in this system, so I don't think I need to
wire
various pages into memory. Feel free to set me straight on that, too, if
you
think this is a mistake.
Thanks,
John Sambrook
.
- Prev by Date: Re: USB Serial Driver
- Next by Date: RE: How do I load a third party driver in Windows CE 6.0
- Previous by thread: CPCL Driver for WINCE 5.0
- Next by thread: searching for I2C Driver for Kontron XBoard PXA
- Index(es):
Relevant Pages
|