<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Sep 1, 2011, at 5:12 , <a href="mailto:rtems-vc@rtems.org">rtems-vc@rtems.org</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><pre> #define FMPLL     (*( volatile struct FMPLL_tag *)      0xC3F80000)
 #define EBI       (*( volatile struct EBI_tag *)        0xC3F84000)
 #define FLASH_A   (*( volatile struct FLASH_tag *)      0xC3F88000)
<font color="#000088">+#define FLASH FLASH_A
</font> #define FLASH_B   (*( volatile struct FLASH_tag *)      0xC3F8C000)
 #define SIU       (*( volatile struct SIU_tag *)        0xC3F90000)
</pre></span><br class="Apple-interchange-newline"></blockquote><br></div><div>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:</div><div><br></div><div>volatile struct FLASH_tag * FLASH_ = &FLASH;</div><div><br></div><div>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.</div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Peter<br>-----------------<br>Peter Dufault<br>HD Associates, Inc.      Software and System Engineering</span></font></div></span></span>
</div>
<br></body></html>