<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ___boot() in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/boot/m-p/243253#M6888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, probably you're right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Mar 2013 20:56:17 GMT</pubDate>
    <dc:creator>Ardoster</dc:creator>
    <dc:date>2013-03-29T20:56:17Z</dc:date>
    <item>
      <title>___boot()</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/boot/m-p/243251#M6886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to understand better what's the startup sequence in MQX. Alll I know for now is that the final line in the file S19 says what's the entry point to the application. In my case, is the address 0x2CA3C:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_1364407067477269" jivemacro_uid="_1364407067477269"&gt;
&lt;P&gt;S70500044A3C70&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in the xMAP file, I find that this address corresponds to the function __boot() (2 underscores)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13644071002745668" jivemacro_uid="_13644071002745668"&gt;&amp;nbsp; 00044A3C 00000060 .text&amp;nbsp;&amp;nbsp; __boot&amp;nbsp;&amp;nbsp;&amp;nbsp; (bsp_gps61850sac.a boot_c.o&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;/TD&gt;&lt;TD&gt;)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the entry point of a MQX application should be __boot().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in the Projects's Properties dialogue, in C/C++ Build &amp;gt; Settings &amp;gt; ColdFire Linker &amp;gt; Input, I can see the entry point is ___boot (3 underscores!).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's happening? Where's the function ___boot()? Or ___boot() is the same function as __boot()??? Where is indicated the correspondency between ___boot and __boot()???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion will be appreciated. Thanks you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 18:04:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/boot/m-p/243251#M6886</guid>
      <dc:creator>Ardoster</dc:creator>
      <dc:date>2013-03-27T18:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: ___boot()</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/boot/m-p/243252#M6887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know the specifities of your case, but the additional '_' is quite common. It is added by the compiler. The technique is known as "name decoration" (aka "name mangling"). This page on Wikipedia could shed some light on the subject : &lt;A href="http://en.wikipedia.org/wiki/Name_mangling"&gt;http://en.wikipedia.org/wiki/Name_mangling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 19:29:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/boot/m-p/243252#M6887</guid>
      <dc:creator>alexandrevincon</dc:creator>
      <dc:date>2013-03-27T19:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: ___boot()</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/boot/m-p/243253#M6888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, probably you're right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 20:56:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/boot/m-p/243253#M6888</guid>
      <dc:creator>Ardoster</dc:creator>
      <dc:date>2013-03-29T20:56:17Z</dc:date>
    </item>
  </channel>
</rss>

