This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: What's the definition of VROM memory region used for?


>>>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]