<?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>malloc returns null i did initialize</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/20588/malloc-returns-null-i-did-initialize</link><description> 
i initialised with 
init_mempool(0x8000,0x800); 
but when i call malloc it returns a null pointer 
why? 
resolutions? 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: malloc returns null i did initialize</title><link>https://community.arm.com/thread/48163?ContentTypeID=1</link><pubDate>Thu, 24 May 2007 12:10:24 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9fd9d4bf-5fac-49d1-9305-21fd28e8b854</guid><dc:creator>Dan Henry</dc:creator><description>&lt;p&gt;&lt;p&gt;
You are passing in integer value to a function that expects a far,
huge, or xhuge pointer depending on your memory model. How does that
integer translate to one of those qualified pointers? Is there
actually memory wherever this integer converted to qualified pointer
addresses?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>