<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Indirect function calls with code banking</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/18408/indirect-function-calls-with-code-banking</link><description> Hi, 
 
Im having some problems with code banking, regarding to passing functions adresses as parameters. for example: 
 
void func ( void(*ret_func1)(void), void(*ret_func2)(void)) 
{ 
. 
. 
. 
 if(x) 
 (*ret_func1)(); 
 if(y) 
 (*ret_func2)(); 
. 
</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Indirect function calls with code banking</title><link>https://community.arm.com/thread/96950?ContentTypeID=1</link><pubDate>Fri, 11 Feb 2005 10:54:41 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:70fc02f6-fe85-4996-be71-ef4d62374336</guid><dc:creator>Keil Software Support Intl.</dc:creator><description>&lt;p&gt;This answers your question:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.keil.com/support/docs/2486.htm"&gt;http://www.keil.com/support/docs/2486.htm&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Reinhard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Indirect function calls with code banking</title><link>https://community.arm.com/thread/43576?ContentTypeID=1</link><pubDate>Fri, 11 Feb 2005 10:37:41 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0a774608-4dd0-40d9-bb2b-6ed7a4633dd8</guid><dc:creator>Jon Ward</dc:creator><description>&lt;p&gt;By default, the linker creates intra-bank entries for all functions called thru a function pointer.  So, the only thing you need to consider are the standard ramifications of using function pointers.&lt;br /&gt;
&lt;br /&gt;
Refer to Application Note 129 (&lt;a href="http://www.keil.com/appnotes/docs/apnt_129.asp"&gt;http://www.keil.com/appnotes/docs/apnt_129.asp&lt;/a&gt;) for complete details.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Jon&lt;/b&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Indirect function calls with code banking</title><link>https://community.arm.com/thread/73064?ContentTypeID=1</link><pubDate>Fri, 11 Feb 2005 09:52:17 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:511e32eb-e07b-4573-ac87-56102a877beb</guid><dc:creator>Eduardo Klaus Barg</dc:creator><description>&lt;p&gt;thanks Oleg, but I,ve already readed this article, and it does not answer my question.&lt;br /&gt;
&lt;br /&gt;
My system is already working with code banking, my only problem is passing functions adresses as parameters to other functions in different banks.&lt;br /&gt;
&lt;br /&gt;
Sorry about my english, I&amp;#39;m not sure if i&amp;#39;ve been clear.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Indirect function calls with code banking</title><link>https://community.arm.com/thread/43573?ContentTypeID=1</link><pubDate>Fri, 11 Feb 2005 08:53:54 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:fb50333c-ce96-4331-8f36-851651f119ca</guid><dc:creator>Oleg Sergeev</dc:creator><description>&lt;p&gt;&lt;a href="http://www.keil.com/support/docs/2845.htm"&gt;http://www.keil.com/support/docs/2845.htm&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>