MMap function

Craig Graham cgraham at accessdevices.co.uk
Fri Mar 22 12:16:17 UTC 2002


On Friday 22 March 2002 12:11 pm, you wrote:
> My gut feeling is that RTEMS people use the MMU on their CPU as a
> defense mechanism. :)

There's something of a missed opportunity there, as a correctly programmed 
mmap() / MMU handler can do wonders for avoiding heap fragmentation - you can 
map several non-contiguous physical addresses to contiguous virtual 
addresses, providing application layer code with what looks like a single 
large block of memory.

Laters,
Craig.
-- 
Code Monkey (2nd Class)
Access Devices Ltd.
London, England.



More information about the users mailing list