Hi,
I just need a bit of help understanding something. In OEMAddresstable
there is a set of virtual to physical address mappings. When an app or driver
running in user
mode needs to access a memory mapped device i read in documentation that it
must call virtualalloc to reserve some virtual memory and then virtual copy
to map
it to the physical address. However this mapping is already done in
OEMAddresstable, i would expect all memory mapped devices to be setup here,
anyway this is what i have seen in MainstoneII BSP for example and others.
So why does one need to call Virtualalloc and VirtualCopy. Hope it is easy
for someone to explain what i don't understand.
Regards
ms