MMap function

VALETTE Eric valette at crf.canon.fr
Thu Mar 21 08:20:57 UTC 2002


Aaron J. Grier wrote:
> On Wed, Mar 20, 2002 at 02:00:27AM -0000, Yan wrote:
> 
>>There is any rtems function similar to linux mmap?
> 
> 
> RTEMS has no virtual memory subsystem, and the filesystems are usually
> in-memory.  so no mmap() in RTEMS.
> 

This is not totally accurate. pc386 BSP has virtual memory turned on 
(with of course a 1-1)  mapping. The reason is that there is no way 
non-using the mmu to mark *only* portion of physical address space non 
cacheable (think about PCI configuration space registers access).

-- 
    __
   /  `                          Eric Valette - Canon CRF
  /--   __  o _.                 Product Dev. Group Software Team Leader
(___, / (_(_(__                 Rue de la touche lambert
                                 35517 Cesson-Sevigne  Cedex
                                 FRANCE
Tel: +33 (0)2 99 87 68 91       Fax: +33 (0)2 99 84 11 30
E-mail: valette at crf.canon.fr    http://www.crf.canon.fr




More information about the users mailing list