change log for rtems (2011-09-01)

Joel Sherrill joel.sherrill at OARcorp.com
Thu Sep 1 12:33:50 UTC 2011


On 09/01/2011 06:18 AM, Peter Dufault wrote:
>
> On Sep 1, 2011, at 5:12 , rtems-vc at rtems.org 
> <mailto:rtems-vc at rtems.org> wrote:
>
>>   #define FMPLL     (*( volatile struct FMPLL_tag *)      0xC3F80000)
>>   #define EBI       (*( volatile struct EBI_tag *)        0xC3F84000)
>>   #define FLASH_A   (*( volatile struct FLASH_tag *)      0xC3F88000)
>> +#define FLASH FLASH_A
>>   #define FLASH_B   (*( volatile struct FLASH_tag *)      0xC3F8C000)
>>   #define SIU       (*( volatile struct SIU_tag *)        0xC3F90000)
>>
>
> Just an observation: It's a pain in the neck that you can't reference 
> these in the debugger.  I locally have a full set of:
>
> volatile struct FLASH_tag * FLASH_ = &FLASH;
>
> so I can easily poke around in the registers.  I guess there is no 
> good way to maintain the current semantics and some compatibility with 
> Freescale header files other than setting the addresses in the linker 
> scripts.
>
When I have tried this in the linker script for other BSPs, I tended
to like have the base address of memory, peripheral and register banks.
It also lets the end user override RAM size and base address on
the linking command line.
> Peter
> -----------------
> Peter Dufault
> HD Associates, Inc.      Software and System Engineering
>


-- 
Joel Sherrill, Ph.D.             Director of Research&  Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985





More information about the vc mailing list