I am here to clarify a few questions that I have regarding config.bib
and OEMAddressTable in Windows CE. I have been working on application
software for a few years but only recently transitioned to do some
work on the BSP layer. The following are my questions. I kindly
apologize if you think the question is too trivial or basic for this
1. From the documentation on MSDN I can gather that Windows CE has a
OEMAddressTable which specifies virtual to physical address mapping.
Virtual memory mapping range is from 0x80000000 to 0x9FFFFFFF. A
second virtual address range from 0xA0000000 to 0xBFFFFFFF is
automatically mapped for each entry in the OEMAddressTable. My
question here is in Windows CE we have a 4 Gb virtual address space
with kernel VA space on the top 2 Gb and application space in the
bottom 2 Gb. In this table we only specify a physical address mapping
for the cached and non-cached parts of the VA for the kernel? How does
this mapping map back for PA space for the application's VA?
2. The Config.bib file specifies a mapping between memory region and
type (RAMIMAGE, RAM etc). My first question here is is this VA or PA
that is specified here? Second, there is also an option to specify
NANDIMAGE? So is NANDIMAGE for allowing XIP execution form Nand Flash?
Also if some one can give some explanation as to how the
OEMAddressTable ties to Config.bib will be very helpful.
- Kuete Yves