2019-04-22 10:21:17 +10:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2016-07-25 02:05:50 +01:00
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2019-04-22 10:21:17 +10:00
< meta name = "generator" content = "Doxygen 1.8.15" / >
2018-07-26 20:52:03 +10:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > wut: Common Memory Heap< / title >
2016-07-25 02:05:50 +01:00
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectalign" style = "padding-left: 0.5em;" >
2018-07-26 20:52:03 +10:00
< div id = "projectname" > wut
2019-04-22 10:21:17 +10:00
  < span id = "projectnumber" > 1.0.0-beta8< / span >
2016-07-25 02:05:50 +01:00
< / div >
< div id = "projectbrief" > Wii U Toolchain< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2019-04-22 10:21:17 +10:00
<!-- Generated by Doxygen 1.8.15 -->
2016-07-25 02:05:50 +01:00
< script type = "text/javascript" >
2018-07-26 20:52:03 +10:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2016-07-25 02:05:50 +01:00
var searchBox = new SearchBox("searchBox", "search",false,'Search');
2018-07-26 20:52:03 +10:00
/* @license-end */
2016-07-25 02:05:50 +01:00
< / script >
2018-07-26 20:52:03 +10:00
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */< / script >
< div id = "main-nav" > < / div >
2016-07-25 02:05:50 +01:00
< / div > <!-- top -->
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div class = "header" >
< div class = "summary" >
< a href = "#nested-classes" > Data Structures< / a > |
< a href = "#typedef-members" > Typedefs< / a > |
< a href = "#enum-members" > Enumerations< / a > |
< a href = "#func-members" > Functions< / a > < / div >
< div class = "headertitle" >
< div class = "title" > Common Memory Heap< div class = "ingroups" > < a class = "el" href = "group__coreinit.html" > coreinit< / a > < / div > < / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
2018-07-26 20:52:03 +10:00
< p > Common memory heap fucntions.
< a href = "#details" > More...< / a > < / p >
2016-07-25 02:05:50 +01:00
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "nested-classes" > < / a >
Data Structures< / h2 > < / td > < / tr >
2018-07-26 20:52:03 +10:00
< tr class = "memitem:structMEMHeapHeader" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memheap.html#structMEMHeapHeader" > MEMHeapHeader< / a > < / td > < / tr >
< tr class = "separator:structMEMHeapHeader" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-07-25 02:05:50 +01:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "typedef-members" > < / a >
Typedefs< / h2 > < / td > < / tr >
2018-07-26 20:52:03 +10:00
< tr class = "memitem:ga727913a40d765f66ebec5e9b0d762691" > < td class = "memItemLeft" align = "right" valign = "top" > typedef struct < a class = "el" href = "group__coreinit__memheap.html#structMEMHeapHeader" > MEMHeapHeader< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memheap.html#ga727913a40d765f66ebec5e9b0d762691" > MEMHeapHeader< / a > < / td > < / tr >
2016-07-25 02:05:50 +01:00
< tr class = "separator:ga727913a40d765f66ebec5e9b0d762691" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-07-26 20:52:03 +10:00
< tr class = "memitem:ga3f18df06d1c3949e74a4b7bcb1c0b88c" > < td class = "memItemLeft" align = "right" valign = "top" > typedef < a class = "el" href = "group__coreinit__memheap.html#structMEMHeapHeader" > MEMHeapHeader< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c" > MEMHeapHandle< / a > < / td > < / tr >
< tr class = "separator:ga3f18df06d1c3949e74a4b7bcb1c0b88c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga9bab460e4a796d327d9b0b03f9cdd547" > < td class = "memItemLeft" align = "right" valign = "top" > typedef enum < a class = "el" href = "group__coreinit__memheap.html#ga552d2fdd0b6f216c1bc8bad6a02e1ea4" > MEMBaseHeapType< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memheap.html#ga9bab460e4a796d327d9b0b03f9cdd547" > MEMBaseHeapType< / a > < / td > < / tr >
< tr class = "separator:ga9bab460e4a796d327d9b0b03f9cdd547" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-07-25 02:05:50 +01:00
< tr class = "memitem:gae755a991146be82a49796686289ae3f6" > < td class = "memItemLeft" align = "right" valign = "top" > typedef enum < a class = "el" href = "group__coreinit__memheap.html#ga5a2254c26326745a098c8d8ec1d56442" > MEMHeapFillType< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memheap.html#gae755a991146be82a49796686289ae3f6" > MEMHeapFillType< / a > < / td > < / tr >
< tr class = "separator:gae755a991146be82a49796686289ae3f6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gab7b8c390bfaf0193d21b076bd69d2102" > < td class = "memItemLeft" align = "right" valign = "top" > typedef enum < a class = "el" href = "group__coreinit__memheap.html#gaf4257a1288a2365e8c3600df369a83cb" > MEMHeapTag< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memheap.html#gab7b8c390bfaf0193d21b076bd69d2102" > MEMHeapTag< / a > < / td > < / tr >
< tr class = "separator:gab7b8c390bfaf0193d21b076bd69d2102" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga27573d76b6e4cb94f3e2ac30c18025a6" > < td class = "memItemLeft" align = "right" valign = "top" > typedef enum < a class = "el" href = "group__coreinit__memheap.html#ga5c832777be0c2cffa9c0f2eaf3c9a497" > MEMHeapFlags< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memheap.html#ga27573d76b6e4cb94f3e2ac30c18025a6" > MEMHeapFlags< / a > < / td > < / tr >
< tr class = "separator:ga27573d76b6e4cb94f3e2ac30c18025a6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "enum-members" > < / a >
Enumerations< / h2 > < / td > < / tr >
2018-07-26 20:52:03 +10:00
< tr class = "memitem:ga552d2fdd0b6f216c1bc8bad6a02e1ea4" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memheap.html#ga552d2fdd0b6f216c1bc8bad6a02e1ea4" > MEMBaseHeapType< / a > { < br / >
    < a class = "el" href = "group__coreinit__memheap.html#gga552d2fdd0b6f216c1bc8bad6a02e1ea4a540e199d1bc7fbc82846adb9afbc208f" > MEM_BASE_HEAP_MEM1< / a > = 0,
< br / >
    < a class = "el" href = "group__coreinit__memheap.html#gga552d2fdd0b6f216c1bc8bad6a02e1ea4afb95e153ee0ad2cbe78b717085e9d369" > MEM_BASE_HEAP_MEM2< / a > = 1,
< br / >
    < a class = "el" href = "group__coreinit__memheap.html#gga552d2fdd0b6f216c1bc8bad6a02e1ea4a5d870bd01e6cc7f0852f174b3c24abf0" > MEM_BASE_HEAP_FG< / a > = 8
< br / >
}< / td > < / tr >
< tr class = "separator:ga552d2fdd0b6f216c1bc8bad6a02e1ea4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga5a2254c26326745a098c8d8ec1d56442" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memheap.html#ga5a2254c26326745a098c8d8ec1d56442" > MEMHeapFillType< / a > { < br / >
    < a class = "el" href = "group__coreinit__memheap.html#gga5a2254c26326745a098c8d8ec1d56442aab58d29ca838e67871a9c39230a66a1e" > MEM_HEAP_FILL_TYPE_UNUSED< / a > = 0,
< br / >
    < a class = "el" href = "group__coreinit__memheap.html#gga5a2254c26326745a098c8d8ec1d56442af5678cb9a17bf1855df30c50e552fee3" > MEM_HEAP_FILL_TYPE_ALLOCATED< / a > = 1,
< br / >
    < a class = "el" href = "group__coreinit__memheap.html#gga5a2254c26326745a098c8d8ec1d56442a303a7c6d5c68983625bd949e8a8a38ea" > MEM_HEAP_FILL_TYPE_FREED< / a > = 2
< br / >
}< / td > < / tr >
< tr class = "separator:ga5a2254c26326745a098c8d8ec1d56442" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaf4257a1288a2365e8c3600df369a83cb" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memheap.html#gaf4257a1288a2365e8c3600df369a83cb" > MEMHeapTag< / a > { < br / >
    < a class = "el" href = "group__coreinit__memheap.html#ggaf4257a1288a2365e8c3600df369a83cbaee676570c092ee1e6e421409a87d975f" > MEM_BLOCK_HEAP_TAG< / a > = 0x424C4B48u,
< br / >
    < a class = "el" href = "group__coreinit__memheap.html#ggaf4257a1288a2365e8c3600df369a83cba73cc6859292a3153a6dc5a8526f28353" > MEM_EXPANDED_HEAP_TAG< / a > = 0x45585048u,
< br / >
    < a class = "el" href = "group__coreinit__memheap.html#ggaf4257a1288a2365e8c3600df369a83cba9f996937542e05cf39a5905a70289f55" > MEM_FRAME_HEAP_TAG< / a > = 0x46524D48u,
< br / >
    < a class = "el" href = "group__coreinit__memheap.html#ggaf4257a1288a2365e8c3600df369a83cba4fbb605cdb05db8640ae6dc7187e8934" > MEM_UNIT_HEAP_TAG< / a > = 0x554E5448u,
< br / >
    < a class = "el" href = "group__coreinit__memheap.html#ggaf4257a1288a2365e8c3600df369a83cba5548a1522f91faebd0bd08201d8428c9" > MEM_USER_HEAP_TAG< / a > = 0x55535248u
< br / >
}< / td > < / tr >
< tr class = "separator:gaf4257a1288a2365e8c3600df369a83cb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga5c832777be0c2cffa9c0f2eaf3c9a497" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memheap.html#ga5c832777be0c2cffa9c0f2eaf3c9a497" > MEMHeapFlags< / a > { < br / >
    < a class = "el" href = "group__coreinit__memheap.html#gga5c832777be0c2cffa9c0f2eaf3c9a497a6b36ac6cf03f489e90b525517e1e33e2" > MEM_HEAP_FLAG_ZERO_ALLOCATED< / a > = 1 < < 0,
< br / >
    < a class = "el" href = "group__coreinit__memheap.html#gga5c832777be0c2cffa9c0f2eaf3c9a497a3cefa3627ca24ef278fe861c969a76cb" > MEM_HEAP_FLAG_DEBUG_MODE< / a > = 1 < < 1,
< br / >
    < a class = "el" href = "group__coreinit__memheap.html#gga5c832777be0c2cffa9c0f2eaf3c9a497af49a821423e44a9e85218ce44f85d48b" > MEM_HEAP_FLAG_USE_LOCK< / a > = 1 < < 2
< br / >
}< / td > < / tr >
< tr class = "separator:ga5c832777be0c2cffa9c0f2eaf3c9a497" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-07-25 02:05:50 +01:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
2018-07-26 20:52:03 +10:00
< tr class = "memitem:ga5d792599e24cd0651a722a7a073230c5" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__coreinit__memheap.html#ga552d2fdd0b6f216c1bc8bad6a02e1ea4" > MEMBaseHeapType< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memheap.html#ga5d792599e24cd0651a722a7a073230c5" > MEMGetArena< / a > (< a class = "el" href = "group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c" > MEMHeapHandle< / a > handle)< / td > < / tr >
< tr class = "memdesc:ga5d792599e24cd0651a722a7a073230c5" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Get which memory area a heap belongs to. < a href = "#ga5d792599e24cd0651a722a7a073230c5" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga5d792599e24cd0651a722a7a073230c5" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gac4f377c8479a3ecc069b6e78d54ec977" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c" > MEMHeapHandle< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memheap.html#gac4f377c8479a3ecc069b6e78d54ec977" > MEMGetBaseHeapHandle< / a > (< a class = "el" href = "group__coreinit__memheap.html#ga552d2fdd0b6f216c1bc8bad6a02e1ea4" > MEMBaseHeapType< / a > type)< / td > < / tr >
< tr class = "memdesc:gac4f377c8479a3ecc069b6e78d54ec977" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Get base heap for memory area. < a href = "#gac4f377c8479a3ecc069b6e78d54ec977" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gac4f377c8479a3ecc069b6e78d54ec977" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga1563986ee5053c3fe16aba87eb797d55" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c" > MEMHeapHandle< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memheap.html#ga1563986ee5053c3fe16aba87eb797d55" > MEMSetBaseHeapHandle< / a > (< a class = "el" href = "group__coreinit__memheap.html#ga552d2fdd0b6f216c1bc8bad6a02e1ea4" > MEMBaseHeapType< / a > type, < a class = "el" href = "group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c" > MEMHeapHandle< / a > handle)< / td > < / tr >
< tr class = "memdesc:ga1563986ee5053c3fe16aba87eb797d55" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Set base heap for memory area. < a href = "#ga1563986ee5053c3fe16aba87eb797d55" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga1563986ee5053c3fe16aba87eb797d55" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gadd58d0368269dbb0b4714f5a82724bb8" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c" > MEMHeapHandle< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memheap.html#gadd58d0368269dbb0b4714f5a82724bb8" > MEMCreateUserHeapHandle< / a > (void *heap, uint32_t size)< / td > < / tr >
< tr class = "memdesc:gadd58d0368269dbb0b4714f5a82724bb8" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Create a heap handle for a user defined heap. < a href = "#gadd58d0368269dbb0b4714f5a82724bb8" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gadd58d0368269dbb0b4714f5a82724bb8" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga2c947c0916b5ae236b558d62cf7f284d" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memheap.html#ga2c947c0916b5ae236b558d62cf7f284d" > MEMDumpHeap< / a > (< a class = "el" href = "group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c" > MEMHeapHandle< / a > heap)< / td > < / tr >
< tr class = "memdesc:ga2c947c0916b5ae236b558d62cf7f284d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Print details about heap to COSWarn. < a href = "#ga2c947c0916b5ae236b558d62cf7f284d" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga2c947c0916b5ae236b558d62cf7f284d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga24a8efd33838634b25ed09465612b463" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__coreinit__memheap.html#structMEMHeapHeader" > MEMHeapHeader< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memheap.html#ga24a8efd33838634b25ed09465612b463" > MEMFindContainHeap< / a > (void *block)< / td > < / tr >
< tr class = "memdesc:ga24a8efd33838634b25ed09465612b463" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Find heap which contains a memory block. < a href = "#ga24a8efd33838634b25ed09465612b463" > More...< / a > < br / > < / td > < / tr >
2016-07-25 02:05:50 +01:00
< tr class = "separator:ga24a8efd33838634b25ed09465612b463" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-07-26 20:52:03 +10:00
< tr class = "memitem:ga7302b72170f5810d5abecd4cf4bd92c5" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c" > MEMHeapHandle< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memheap.html#ga7302b72170f5810d5abecd4cf4bd92c5" > MEMFindParentHeap< / a > (< a class = "el" href = "group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c" > MEMHeapHandle< / a > handle)< / td > < / tr >
< tr class = "memdesc:ga7302b72170f5810d5abecd4cf4bd92c5" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Find the parent heap of a given heap. < a href = "#ga7302b72170f5810d5abecd4cf4bd92c5" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga7302b72170f5810d5abecd4cf4bd92c5" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-07-25 02:05:50 +01:00
< tr class = "memitem:gad9735e0622600c541ba26bb80dc4614a" > < td class = "memItemLeft" align = "right" valign = "top" > uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memheap.html#gad9735e0622600c541ba26bb80dc4614a" > MEMGetFillValForHeap< / a > (< a class = "el" href = "group__coreinit__memheap.html#ga5a2254c26326745a098c8d8ec1d56442" > MEMHeapFillType< / a > type)< / td > < / tr >
2018-07-26 20:52:03 +10:00
< tr class = "memdesc:gad9735e0622600c541ba26bb80dc4614a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Get the data fill value used when MEM_HEAP_FLAG_DEBUG_MODE is set. < a href = "#gad9735e0622600c541ba26bb80dc4614a" > More...< / a > < br / > < / td > < / tr >
2016-07-25 02:05:50 +01:00
< tr class = "separator:gad9735e0622600c541ba26bb80dc4614a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga392788207fa9c65e8bf2ab5b67c252d9" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memheap.html#ga392788207fa9c65e8bf2ab5b67c252d9" > MEMSetFillValForHeap< / a > (< a class = "el" href = "group__coreinit__memheap.html#ga5a2254c26326745a098c8d8ec1d56442" > MEMHeapFillType< / a > type, uint32_t value)< / td > < / tr >
2018-07-26 20:52:03 +10:00
< tr class = "memdesc:ga392788207fa9c65e8bf2ab5b67c252d9" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Set the data fill value used when MEM_HEAP_FLAG_DEBUG_MODE is set. < a href = "#ga392788207fa9c65e8bf2ab5b67c252d9" > More...< / a > < br / > < / td > < / tr >
2016-07-25 02:05:50 +01:00
< tr class = "separator:ga392788207fa9c65e8bf2ab5b67c252d9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< p > Common memory heap fucntions. < / p >
2018-07-26 20:52:03 +10:00
< hr / > < h2 class = "groupheader" > Data Structure Documentation< / h2 >
< a name = "structMEMHeapHeader" id = "structMEMHeapHeader" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#structMEMHeapHeader" > ◆ < / a > < / span > MEMHeapHeader< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > struct MEMHeapHeader< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< div class = "textblock" >
< p class = "definition" > Definition at line < a class = "el" href = "memheap_8h_source.html#l00051" > 51< / a > of file < a class = "el" href = "memheap_8h_source.html" > memheap.h< / a > .< / p >
< / div > < table class = "fieldtable" >
< tr > < th colspan = "3" > Data Fields< / th > < / tr >
< tr > < td class = "fieldtype" >
< a id = "aa5b371c77f26fd72d65074da3f814c8d" > < / a > < a class = "el" href = "group__coreinit__memheap.html#gaf4257a1288a2365e8c3600df369a83cb" > MEMHeapTag< / a > < / td >
< td class = "fieldname" >
tag< / td >
< td class = "fielddoc" >
Tag indicating which type of heap this is. < / td > < / tr >
< tr > < td class = "fieldtype" >
< a id = "aad9bd11b4f59e92b6551361b5693960c" > < / a > < a class = "el" href = "group__coreinit__memlist.html#structMEMMemoryLink" > MEMMemoryLink< / a > < / td >
< td class = "fieldname" >
link< / td >
< td class = "fielddoc" >
Link for list this heap is in. < / td > < / tr >
< tr > < td class = "fieldtype" >
< a id = "a9e168165b27e6d8c6a947314706ebdff" > < / a > < a class = "el" href = "group__coreinit__memlist.html#structMEMMemoryList" > MEMMemoryList< / a > < / td >
< td class = "fieldname" >
list< / td >
< td class = "fielddoc" >
List of all child heaps in this heap. < / td > < / tr >
< tr > < td class = "fieldtype" >
< a id = "ab68a6425f2ca0d9e6af3c18ad6ab5524" > < / a > void *< / td >
< td class = "fieldname" >
dataStart< / td >
< td class = "fielddoc" >
Pointer to start of allocatable memory. < / td > < / tr >
< tr > < td class = "fieldtype" >
< a id = "afd8d116d27671766707fa89f63e77535" > < / a > void *< / td >
< td class = "fieldname" >
dataEnd< / td >
< td class = "fielddoc" >
Pointer to end of allocatable memory. < / td > < / tr >
< tr > < td class = "fieldtype" >
2019-04-22 10:21:17 +10:00
< a id = "acda02b2450f7b21940084ed1114d5bb2" > < / a > < a class = "el" href = "group__coreinit__spinlock.html#gae8be4af7c8a7c9932e945f98e8a6b3e9" > OSSpinLock< / a > < / td >
2018-07-26 20:52:03 +10:00
< td class = "fieldname" >
lock< / td >
< td class = "fielddoc" >
Lock used when MEM_HEAP_FLAG_USE_LOCK is set. < / td > < / tr >
< tr > < td class = "fieldtype" >
< a id = "a773b39d480759f67926cb18ae2219281" > < / a > uint32_t< / td >
< td class = "fieldname" >
flags< / td >
< td class = "fielddoc" >
Flags set during heap creation. < / td > < / tr >
< / table >
< / div >
< / div >
2016-07-25 02:05:50 +01:00
< h2 class = "groupheader" > Typedef Documentation< / h2 >
2018-07-26 20:52:03 +10:00
< a id = "ga727913a40d765f66ebec5e9b0d762691" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga727913a40d765f66ebec5e9b0d762691" > ◆ < / a > < / span > MEMHeapHeader< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > typedef struct < a class = "el" href = "group__coreinit__memheap.html#structMEMHeapHeader" > MEMHeapHeader< / a > < a class = "el" href = "group__coreinit__memheap.html#structMEMHeapHeader" > MEMHeapHeader< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p class = "definition" > Definition at line < a class = "el" href = "memheap_8h_source.html#l00018" > 18< / a > of file < a class = "el" href = "memheap_8h_source.html" > memheap.h< / a > .< / p >
< / div >
< / div >
< a id = "ga3f18df06d1c3949e74a4b7bcb1c0b88c" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga3f18df06d1c3949e74a4b7bcb1c0b88c" > ◆ < / a > < / span > MEMHeapHandle< / h2 >
2016-07-25 02:05:50 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2018-07-26 20:52:03 +10:00
< td class = "memname" > typedef < a class = "el" href = "group__coreinit__memheap.html#structMEMHeapHeader" > MEMHeapHeader< / a > * < a class = "el" href = "group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c" > MEMHeapHandle< / a > < / td >
2016-07-25 02:05:50 +01:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-07-26 20:52:03 +10:00
< p class = "definition" > Definition at line < a class = "el" href = "memheap_8h_source.html#l00019" > 19< / a > of file < a class = "el" href = "memheap_8h_source.html" > memheap.h< / a > .< / p >
< / div >
< / div >
< a id = "ga9bab460e4a796d327d9b0b03f9cdd547" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga9bab460e4a796d327d9b0b03f9cdd547" > ◆ < / a > < / span > MEMBaseHeapType< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > typedef enum < a class = "el" href = "group__coreinit__memheap.html#ga552d2fdd0b6f216c1bc8bad6a02e1ea4" > MEMBaseHeapType< / a > < a class = "el" href = "group__coreinit__memheap.html#ga552d2fdd0b6f216c1bc8bad6a02e1ea4" > MEMBaseHeapType< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2016-07-25 02:05:50 +01:00
< / div >
< / div >
2018-07-26 20:52:03 +10:00
< a id = "gae755a991146be82a49796686289ae3f6" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#gae755a991146be82a49796686289ae3f6" > ◆ < / a > < / span > MEMHeapFillType< / h2 >
2016-07-25 02:05:50 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > typedef enum < a class = "el" href = "group__coreinit__memheap.html#ga5a2254c26326745a098c8d8ec1d56442" > MEMHeapFillType< / a > < a class = "el" href = "group__coreinit__memheap.html#ga5a2254c26326745a098c8d8ec1d56442" > MEMHeapFillType< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2018-07-26 20:52:03 +10:00
< a id = "gab7b8c390bfaf0193d21b076bd69d2102" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#gab7b8c390bfaf0193d21b076bd69d2102" > ◆ < / a > < / span > MEMHeapTag< / h2 >
2016-07-25 02:05:50 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > typedef enum < a class = "el" href = "group__coreinit__memheap.html#gaf4257a1288a2365e8c3600df369a83cb" > MEMHeapTag< / a > < a class = "el" href = "group__coreinit__memheap.html#gaf4257a1288a2365e8c3600df369a83cb" > MEMHeapTag< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2018-07-26 20:52:03 +10:00
< a id = "ga27573d76b6e4cb94f3e2ac30c18025a6" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga27573d76b6e4cb94f3e2ac30c18025a6" > ◆ < / a > < / span > MEMHeapFlags< / h2 >
2016-07-25 02:05:50 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > typedef enum < a class = "el" href = "group__coreinit__memheap.html#ga5c832777be0c2cffa9c0f2eaf3c9a497" > MEMHeapFlags< / a > < a class = "el" href = "group__coreinit__memheap.html#ga5c832777be0c2cffa9c0f2eaf3c9a497" > MEMHeapFlags< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< h2 class = "groupheader" > Enumeration Type Documentation< / h2 >
2018-07-26 20:52:03 +10:00
< a id = "ga552d2fdd0b6f216c1bc8bad6a02e1ea4" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga552d2fdd0b6f216c1bc8bad6a02e1ea4" > ◆ < / a > < / span > MEMBaseHeapType< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > enum < a class = "el" href = "group__coreinit__memheap.html#ga552d2fdd0b6f216c1bc8bad6a02e1ea4" > MEMBaseHeapType< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < a id = "gga552d2fdd0b6f216c1bc8bad6a02e1ea4a540e199d1bc7fbc82846adb9afbc208f" > < / a > MEM_BASE_HEAP_MEM1  < / td > < td class = "fielddoc" > < / td > < / tr >
< tr > < td class = "fieldname" > < a id = "gga552d2fdd0b6f216c1bc8bad6a02e1ea4afb95e153ee0ad2cbe78b717085e9d369" > < / a > MEM_BASE_HEAP_MEM2  < / td > < td class = "fielddoc" > < / td > < / tr >
< tr > < td class = "fieldname" > < a id = "gga552d2fdd0b6f216c1bc8bad6a02e1ea4a5d870bd01e6cc7f0852f174b3c24abf0" > < / a > MEM_BASE_HEAP_FG  < / td > < td class = "fielddoc" > < / td > < / tr >
< / table >
< p class = "definition" > Definition at line < a class = "el" href = "memheap_8h_source.html#l00021" > 21< / a > of file < a class = "el" href = "memheap_8h_source.html" > memheap.h< / a > .< / p >
< / div >
< / div >
< a id = "ga5a2254c26326745a098c8d8ec1d56442" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga5a2254c26326745a098c8d8ec1d56442" > ◆ < / a > < / span > MEMHeapFillType< / h2 >
2016-07-25 02:05:50 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > enum < a class = "el" href = "group__coreinit__memheap.html#ga5a2254c26326745a098c8d8ec1d56442" > MEMHeapFillType< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< table class = "fieldtable" >
2018-07-26 20:52:03 +10:00
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < a id = "gga5a2254c26326745a098c8d8ec1d56442aab58d29ca838e67871a9c39230a66a1e" > < / a > MEM_HEAP_FILL_TYPE_UNUSED  < / td > < td class = "fielddoc" > < / td > < / tr >
< tr > < td class = "fieldname" > < a id = "gga5a2254c26326745a098c8d8ec1d56442af5678cb9a17bf1855df30c50e552fee3" > < / a > MEM_HEAP_FILL_TYPE_ALLOCATED  < / td > < td class = "fielddoc" > < / td > < / tr >
< tr > < td class = "fieldname" > < a id = "gga5a2254c26326745a098c8d8ec1d56442a303a7c6d5c68983625bd949e8a8a38ea" > < / a > MEM_HEAP_FILL_TYPE_FREED  < / td > < td class = "fielddoc" > < / td > < / tr >
2016-07-25 02:05:50 +01:00
< / table >
2018-07-26 20:52:03 +10:00
< p class = "definition" > Definition at line < a class = "el" href = "memheap_8h_source.html#l00028" > 28< / a > of file < a class = "el" href = "memheap_8h_source.html" > memheap.h< / a > .< / p >
2016-07-25 02:05:50 +01:00
< / div >
< / div >
2018-07-26 20:52:03 +10:00
< a id = "gaf4257a1288a2365e8c3600df369a83cb" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#gaf4257a1288a2365e8c3600df369a83cb" > ◆ < / a > < / span > MEMHeapTag< / h2 >
2016-07-25 02:05:50 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > enum < a class = "el" href = "group__coreinit__memheap.html#gaf4257a1288a2365e8c3600df369a83cb" > MEMHeapTag< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< table class = "fieldtable" >
2018-07-26 20:52:03 +10:00
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < a id = "ggaf4257a1288a2365e8c3600df369a83cbaee676570c092ee1e6e421409a87d975f" > < / a > MEM_BLOCK_HEAP_TAG  < / td > < td class = "fielddoc" > < / td > < / tr >
< tr > < td class = "fieldname" > < a id = "ggaf4257a1288a2365e8c3600df369a83cba73cc6859292a3153a6dc5a8526f28353" > < / a > MEM_EXPANDED_HEAP_TAG  < / td > < td class = "fielddoc" > < / td > < / tr >
< tr > < td class = "fieldname" > < a id = "ggaf4257a1288a2365e8c3600df369a83cba9f996937542e05cf39a5905a70289f55" > < / a > MEM_FRAME_HEAP_TAG  < / td > < td class = "fielddoc" > < / td > < / tr >
< tr > < td class = "fieldname" > < a id = "ggaf4257a1288a2365e8c3600df369a83cba4fbb605cdb05db8640ae6dc7187e8934" > < / a > MEM_UNIT_HEAP_TAG  < / td > < td class = "fielddoc" > < / td > < / tr >
< tr > < td class = "fieldname" > < a id = "ggaf4257a1288a2365e8c3600df369a83cba5548a1522f91faebd0bd08201d8428c9" > < / a > MEM_USER_HEAP_TAG  < / td > < td class = "fielddoc" > < / td > < / tr >
2016-07-25 02:05:50 +01:00
< / table >
2018-07-26 20:52:03 +10:00
< p class = "definition" > Definition at line < a class = "el" href = "memheap_8h_source.html#l00035" > 35< / a > of file < a class = "el" href = "memheap_8h_source.html" > memheap.h< / a > .< / p >
2016-07-25 02:05:50 +01:00
< / div >
< / div >
2018-07-26 20:52:03 +10:00
< a id = "ga5c832777be0c2cffa9c0f2eaf3c9a497" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga5c832777be0c2cffa9c0f2eaf3c9a497" > ◆ < / a > < / span > MEMHeapFlags< / h2 >
2016-07-25 02:05:50 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > enum < a class = "el" href = "group__coreinit__memheap.html#ga5c832777be0c2cffa9c0f2eaf3c9a497" > MEMHeapFlags< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< table class = "fieldtable" >
2018-07-26 20:52:03 +10:00
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < a id = "gga5c832777be0c2cffa9c0f2eaf3c9a497a6b36ac6cf03f489e90b525517e1e33e2" > < / a > MEM_HEAP_FLAG_ZERO_ALLOCATED  < / td > < td class = "fielddoc" > < / td > < / tr >
< tr > < td class = "fieldname" > < a id = "gga5c832777be0c2cffa9c0f2eaf3c9a497a3cefa3627ca24ef278fe861c969a76cb" > < / a > MEM_HEAP_FLAG_DEBUG_MODE  < / td > < td class = "fielddoc" > < / td > < / tr >
< tr > < td class = "fieldname" > < a id = "gga5c832777be0c2cffa9c0f2eaf3c9a497af49a821423e44a9e85218ce44f85d48b" > < / a > MEM_HEAP_FLAG_USE_LOCK  < / td > < td class = "fielddoc" > < / td > < / tr >
2016-07-25 02:05:50 +01:00
< / table >
2018-07-26 20:52:03 +10:00
< p class = "definition" > Definition at line < a class = "el" href = "memheap_8h_source.html#l00044" > 44< / a > of file < a class = "el" href = "memheap_8h_source.html" > memheap.h< / a > .< / p >
2016-07-25 02:05:50 +01:00
< / div >
< / div >
< h2 class = "groupheader" > Function Documentation< / h2 >
2018-07-26 20:52:03 +10:00
< a id = "ga5d792599e24cd0651a722a7a073230c5" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga5d792599e24cd0651a722a7a073230c5" > ◆ < / a > < / span > MEMGetArena()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "group__coreinit__memheap.html#ga552d2fdd0b6f216c1bc8bad6a02e1ea4" > MEMBaseHeapType< / a > MEMGetArena < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c" > MEMHeapHandle< / a >   < / td >
< td class = "paramname" > < em > handle< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Get which memory area a heap belongs to. < / p >
< / div >
< / div >
< a id = "gac4f377c8479a3ecc069b6e78d54ec977" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#gac4f377c8479a3ecc069b6e78d54ec977" > ◆ < / a > < / span > MEMGetBaseHeapHandle()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c" > MEMHeapHandle< / a > MEMGetBaseHeapHandle < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "group__coreinit__memheap.html#ga552d2fdd0b6f216c1bc8bad6a02e1ea4" > MEMBaseHeapType< / a >   < / td >
< td class = "paramname" > < em > type< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Get base heap for memory area. < / p >
< / div >
< / div >
< a id = "ga1563986ee5053c3fe16aba87eb797d55" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga1563986ee5053c3fe16aba87eb797d55" > ◆ < / a > < / span > MEMSetBaseHeapHandle()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c" > MEMHeapHandle< / a > MEMSetBaseHeapHandle < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "group__coreinit__memheap.html#ga552d2fdd0b6f216c1bc8bad6a02e1ea4" > MEMBaseHeapType< / a >   < / td >
< td class = "paramname" > < em > type< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c" > MEMHeapHandle< / a >   < / td >
< td class = "paramname" > < em > handle< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Set base heap for memory area. < / p >
< / div >
< / div >
< a id = "gadd58d0368269dbb0b4714f5a82724bb8" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#gadd58d0368269dbb0b4714f5a82724bb8" > ◆ < / a > < / span > MEMCreateUserHeapHandle()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c" > MEMHeapHandle< / a > MEMCreateUserHeapHandle < / td >
< td > (< / td >
< td class = "paramtype" > void *  < / td >
< td class = "paramname" > < em > heap< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > size< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Create a heap handle for a user defined heap. < / p >
< / div >
< / div >
< a id = "ga2c947c0916b5ae236b558d62cf7f284d" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga2c947c0916b5ae236b558d62cf7f284d" > ◆ < / a > < / span > MEMDumpHeap()< / h2 >
2016-07-25 02:05:50 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void MEMDumpHeap < / td >
< td > (< / td >
2018-07-26 20:52:03 +10:00
< td class = "paramtype" > < a class = "el" href = "group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c" > MEMHeapHandle< / a >   < / td >
2016-07-25 02:05:50 +01:00
< td class = "paramname" > < em > heap< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-07-26 20:52:03 +10:00
< p > Print details about heap to COSWarn. < / p >
2016-07-25 02:05:50 +01:00
< / div >
< / div >
2018-07-26 20:52:03 +10:00
< a id = "ga24a8efd33838634b25ed09465612b463" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga24a8efd33838634b25ed09465612b463" > ◆ < / a > < / span > MEMFindContainHeap()< / h2 >
2016-07-25 02:05:50 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2018-07-26 20:52:03 +10:00
< td class = "memname" > < a class = "el" href = "group__coreinit__memheap.html#structMEMHeapHeader" > MEMHeapHeader< / a > * MEMFindContainHeap < / td >
2016-07-25 02:05:50 +01:00
< td > (< / td >
< td class = "paramtype" > void *  < / td >
< td class = "paramname" > < em > block< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-07-26 20:52:03 +10:00
2016-07-25 02:05:50 +01:00
< p > Find heap which contains a memory block. < / p >
< / div >
< / div >
2018-07-26 20:52:03 +10:00
< a id = "ga7302b72170f5810d5abecd4cf4bd92c5" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga7302b72170f5810d5abecd4cf4bd92c5" > ◆ < / a > < / span > MEMFindParentHeap()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c" > MEMHeapHandle< / a > MEMFindParentHeap < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c" > MEMHeapHandle< / a >   < / td >
< td class = "paramname" > < em > handle< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Find the parent heap of a given heap. < / p >
< p > Return NULL if no parent was found. < / p >
< / div >
< / div >
< a id = "gad9735e0622600c541ba26bb80dc4614a" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#gad9735e0622600c541ba26bb80dc4614a" > ◆ < / a > < / span > MEMGetFillValForHeap()< / h2 >
2016-07-25 02:05:50 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint32_t MEMGetFillValForHeap < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "group__coreinit__memheap.html#ga5a2254c26326745a098c8d8ec1d56442" > MEMHeapFillType< / a >   < / td >
< td class = "paramname" > < em > type< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-07-26 20:52:03 +10:00
2016-07-25 02:05:50 +01:00
< p > Get the data fill value used when MEM_HEAP_FLAG_DEBUG_MODE is set. < / p >
< / div >
< / div >
2018-07-26 20:52:03 +10:00
< a id = "ga392788207fa9c65e8bf2ab5b67c252d9" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga392788207fa9c65e8bf2ab5b67c252d9" > ◆ < / a > < / span > MEMSetFillValForHeap()< / h2 >
2016-07-25 02:05:50 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void MEMSetFillValForHeap < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "group__coreinit__memheap.html#ga5a2254c26326745a098c8d8ec1d56442" > MEMHeapFillType< / a >   < / td >
< td class = "paramname" > < em > type< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > value< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-07-26 20:52:03 +10:00
2016-07-25 02:05:50 +01:00
< p > Set the data fill value used when MEM_HEAP_FLAG_DEBUG_MODE is set. < / p >
< / div >
< / div >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
Generated by   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
2019-04-22 10:21:17 +10:00
< / a > 1.8.15
2016-07-25 02:05:50 +01:00
< / small > < / address >
< / body >
< / html >