This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: What's the definition of VROM memory region used for?
- To: cpereira at ics dot uci dot edu
- Subject: Re: [ECOS] What's the definition of VROM memory region used for?
- From: Mark Salter <msalter at redhat dot com>
- Date: Thu, 2 Aug 2001 21:07:42 -0400
- CC: ecos-discuss at sourceware dot cygnus dot com
- References: <Pine.SOL.4.20.0108021736430.22303-100000@washoe.ics.uci.edu>
>>>>> Cristiano Ligieri Pereira writes:
> How this mapping is implemented? MMU? I've seen some macros in the flash.c
> files (FLASH_P2V) but honestly I'm still confused on how this mappping
> happens...
Yes, MMU. The FLASH_P2V is where the remapping of the 1st 4K of flash is
handled. The MMU tables is setup in:
hal/arm/iq80310/current/include/hal_platform_setup.h
Basically, everything is mapped one-to-one except the first 4K of
flash and RAM are swapped.
--Mark