<?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>_init_box requires 16 bytes not 12</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/36987/_init_box-requires-16-bytes-not-12</link><description> 
I appears that the memory allocation function uese 16 bytes, not
12 as stated in the documentation. 

 
#define NUM_BOXES 5
U32 mpool[(NUM_BOXES * sizeof(U32)/4) + 3];
 

 
 
fails the assert in the following code 
where 

 
#define NUM_BOXES 5
U32</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: _init_box requires 16 bytes not 12</title><link>https://community.arm.com/thread/46734?ContentTypeID=1</link><pubDate>Thu, 07 Sep 2006 06:13:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a9278896-93c6-4f13-a7e7-b599cba15c01</guid><dc:creator>Franc  Urbanc</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thank you for pointing it out. It will be fixed in the next
RTL-ARM revision.&lt;/p&gt;

&lt;p&gt;
Franc&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: _init_box requires 16 bytes not 12</title><link>https://community.arm.com/thread/46735?ContentTypeID=1</link><pubDate>Wed, 06 Sep 2006 09:16:28 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:50d87623-353f-400b-9452-79d6e23b5c0c</guid><dc:creator>Robert McNamara</dc:creator><description>&lt;p&gt;&lt;p&gt;
Yes, that looks like a recent (probably RTL time frame) change so
that the box items are aligned on an 8 byte boundry (at least the
first one)&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>