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">
2018-07-26 20:52:03 +10: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" / >
2019-04-22 10:21:17 +10:00
< title > wut: /home/ash/src/wut/include/coreinit/memfrmheap.h Source File< / title >
2018-07-26 20:52:03 +10: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;" >
< div id = "projectname" > wut
2019-04-22 10:21:17 +10:00
  < span id = "projectnumber" > 1.0.0-beta8< / span >
2018-07-26 20:52:03 +10: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 -->
2018-07-26 20:52:03 +10:00
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
< / script >
< 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 >
<!-- 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 id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "dir_d44c64559bbebec7f509842c48db8b23.html" > include< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_5050f3de292bd66075be80c4b119f1df.html" > coreinit< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "headertitle" >
< div class = "title" > memfrmheap.h< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
2019-04-22 10:21:17 +10:00
< a href = "memfrmheap_8h.html" > Go to the documentation of this file.< / a > < div class = "fragment" > < div class = "line" > < a name = "l00001" > < / a > < span class = "lineno" > 1< / span >   < span class = "preprocessor" > #pragma once< / span > < / div > < div class = "line" > < a name = "l00002" > < / a > < span class = "lineno" > 2< / span >   < span class = "preprocessor" > #include < < a class = "code" href = "wut_8h.html" > wut.h< / a > > < / span > < / div > < div class = "line" > < a name = "l00003" > < / a > < span class = "lineno" > 3< / span >   < span class = "preprocessor" > #include " < a class = "code" href = "memheap_8h.html" > memheap.h< / a > " < / span > < / div > < div class = "line" > < a name = "l00004" > < / a > < span class = "lineno" > 4< / span >   < / div > < div class = "line" > < a name = "l00011" > < / a > < span class = "lineno" > 11< / span >   < span class = "preprocessor" > #ifdef __cplusplus< / span > < / div > < div class = "line" > < a name = "l00012" > < / a > < span class = "lineno" > 12< / span >   < span class = "keyword" > extern< / span > < span class = "stringliteral" > " C" < / span > {< / div > < div class = "line" > < a name = "l00013" > < / a > < span class = "lineno" > 13< / span >   < span class = "preprocessor" > #endif< / span > < / div > < div class = "line" > < a name = "l00014" > < / a > < span class = "lineno" > 14< / span >   < / div > < div class = "line" > < a name = "l00015" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memfrmheap.html#ga3f08e0ac8686224d9eebc0655e7623dc" > 15< / a > < / span >   < span class = "keyword" > typedef< / span > < span class = "keyword" > enum< / span > < a class = "code" href = "group__coreinit__memfrmheap.html#ga3f08e0ac8686224d9eebc0655e7623dc" > MEMFrmHeapFreeMode< / a > < / div > < div class = "line" > < a name = "l00016" > < / a > < span class = "lineno" > 16< / span >   {< / div > < div class = "line" > < a name = "l00017" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memfrmheap.html#gga3f08e0ac8686224d9eebc0655e7623dcab6f71734ed64641463ad5783896a39ce" > 17< / a > < / span >   < a class = "code" href = "group__coreinit__memfrmheap.html#gga3f08e0ac8686224d9eebc0655e7623dcab6f71734ed64641463ad5783896a39ce" > MEM_FRM_HEAP_FREE_HEAD< / a > = 1 < < 0,< / div > < div class = "line" > < a name = "l00018" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memfrmheap.html#gga3f08e0ac8686224d9eebc0655e7623dca9e6d78aa03e63568c47e881e78f7bc85" > 18< / a > < / span >   < a class = "code" href = "group__coreinit__memfrmheap.html#gga3f08e0ac8686224d9eebc0655e7623dca9e6d78aa03e63568c47e881e78f7bc85" > MEM_FRM_HEAP_FREE_TAIL< / a > = 1 < < 1,< / div > < div class = "line" > < a name = "l00019" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memfrmheap.html#gga3f08e0ac8686224d9eebc0655e7623dca7d23b208493c79cfb3cde8a4a26fe268" > 19< / a > < / span >   < a class = "code" href = "group__coreinit__memfrmheap.html#gga3f08e0ac8686224d9eebc0655e7623dca7d23b208493c79cfb3cde8a4a26fe268" > MEM_FRM_HEAP_FREE_ALL< / a > = < a class = "code" href = "group__coreinit__memfrmheap.html#gga3f08e0ac8686224d9eebc0655e7623dcab6f71734ed64641463ad5783896a39ce" > MEM_FRM_HEAP_FREE_HEAD< / a > | < a class = "code" href = "group__coreinit__memfrmheap.html#gga3f08e0ac8686224d9eebc0655e7623dca9e6d78aa03e63568c47e881e78f7bc85" > MEM_FRM_HEAP_FREE_TAIL< / a > ,< / div > < div class = "line" > < a name = "l00020" > < / a > < span class = "lineno" > 20< / span >   } < a class = "code" href = "group__coreinit__memfrmheap.html#ga3f08e0ac8686224d9eebc0655e7623dc" > MEMFrmHeapFreeMode< / a > ;< / div > < div class = "line" > < a name = "l00021" > < / a > < span class = "lineno" > 21< / span >   < / div > < div class = "line" > < a name = "l00022" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memfrmheap.html#ga70d65644a0f98b25ce16c9f9e5ea1326" > 22< / a > < / span >   < span class = "keyword" > typedef< / span > < span class = "keyword" > struct < / span > < a class = "code" href = "group__coreinit__memfrmheap.html#structMEMFrmHeap" > MEMFrmHeap< / a > < a class = "code" href = "group__coreinit__memfrmheap.html#structMEMFrmHeap" > MEMFrmHeap< / a > ;< / div > < div class = "line" > < a name = "l00023" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memfrmheap.html#ga1be20d8c28bd2ec9b07f3141cb94ff1b" > 23< / a > < / span >   < span class = "keyword" > typedef< / span > < span class = "keyword" > struct < / span > < a class = "code" href = "group__coreinit__memfrmheap.h
2018-07-26 20:52:03 +10:00
< div class = "ttc" id = "group__coreinit__memfrmheap_html_structMEMFrmHeapState" > < div class = "ttname" > < a href = "group__coreinit__memfrmheap.html#structMEMFrmHeapState" > MEMFrmHeapState< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memfrmheap_8h_source.html#l00025" > memfrmheap.h:25< / a > < / div > < / div >
< div class = "ttc" id = "group__coreinit__memfrmheap_html_gga3f08e0ac8686224d9eebc0655e7623dca9e6d78aa03e63568c47e881e78f7bc85" > < div class = "ttname" > < a href = "group__coreinit__memfrmheap.html#gga3f08e0ac8686224d9eebc0655e7623dca9e6d78aa03e63568c47e881e78f7bc85" > MEM_FRM_HEAP_FREE_TAIL< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memfrmheap_8h_source.html#l00018" > memfrmheap.h:18< / a > < / div > < / div >
< div class = "ttc" id = "group__coreinit__memfrmheap_html_ga46388cf505446e589f3a270548fa9b36" > < div class = "ttname" > < a href = "group__coreinit__memfrmheap.html#ga46388cf505446e589f3a270548fa9b36" > MEMResizeForMBlockFrmHeap< / a > < / div > < div class = "ttdeci" > uint32_t MEMResizeForMBlockFrmHeap(MEMHeapHandle heap, uint32_t addr, uint32_t size)< / div > < / div >
< div class = "ttc" id = "group__coreinit__memfrmheap_html_ga3407faa839b8732217ea33ccce1969e1" > < div class = "ttname" > < a href = "group__coreinit__memfrmheap.html#ga3407faa839b8732217ea33ccce1969e1" > MEMCreateFrmHeapEx< / a > < / div > < div class = "ttdeci" > MEMHeapHandle MEMCreateFrmHeapEx(void *heap, uint32_t size, uint32_t flags)< / div > < / div >
< div class = "ttc" id = "group__coreinit__memfrmheap_html_aac9219792e115bd086e8f84fa21160a3" > < div class = "ttname" > < a href = "group__coreinit__memfrmheap.html#aac9219792e115bd086e8f84fa21160a3" > MEMFrmHeapState::previous< / a > < / div > < div class = "ttdeci" > MEMFrmHeapState * previous< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memfrmheap_8h_source.html#l00030" > memfrmheap.h:30< / a > < / div > < / div >
< div class = "ttc" id = "group__coreinit__memfrmheap_html_ga3f08e0ac8686224d9eebc0655e7623dc" > < div class = "ttname" > < a href = "group__coreinit__memfrmheap.html#ga3f08e0ac8686224d9eebc0655e7623dc" > MEMFrmHeapFreeMode< / a > < / div > < div class = "ttdeci" > MEMFrmHeapFreeMode< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memfrmheap_8h_source.html#l00015" > memfrmheap.h:15< / a > < / div > < / div >
< div class = "ttc" id = "memheap_8h_html" > < div class = "ttname" > < a href = "memheap_8h.html" > memheap.h< / a > < / div > < / div >
< div class = "ttc" id = "group__coreinit__memfrmheap_html_a22b83cf1f38e69fbcb344ba2938f666c" > < div class = "ttname" > < a href = "group__coreinit__memfrmheap.html#a22b83cf1f38e69fbcb344ba2938f666c" > MEMFrmHeapState::tail< / a > < / div > < div class = "ttdeci" > void * tail< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memfrmheap_8h_source.html#l00029" > memfrmheap.h:29< / a > < / div > < / div >
< div class = "ttc" id = "wut_8h_html" > < div class = "ttname" > < a href = "wut_8h.html" > wut.h< / a > < / div > < / div >
< div class = "ttc" id = "group__coreinit__memfrmheap_html_gaa3855134f982b8d54ee25bb97eed62ce" > < div class = "ttname" > < a href = "group__coreinit__memfrmheap.html#gaa3855134f982b8d54ee25bb97eed62ce" > MEMGetAllocatableSizeForFrmHeapEx< / a > < / div > < div class = "ttdeci" > uint32_t MEMGetAllocatableSizeForFrmHeapEx(MEMHeapHandle heap, int alignment)< / div > < / div >
< div class = "ttc" id = "group__coreinit__memfrmheap_html_gac0107b2a2129b9c120e40503173891e1" > < div class = "ttname" > < a href = "group__coreinit__memfrmheap.html#gac0107b2a2129b9c120e40503173891e1" > MEMAllocFromFrmHeapEx< / a > < / div > < div class = "ttdeci" > void * MEMAllocFromFrmHeapEx(MEMHeapHandle heap, uint32_t size, int alignment)< / div > < / div >
< div class = "ttc" id = "group__coreinit__memfrmheap_html_gga3f08e0ac8686224d9eebc0655e7623dcab6f71734ed64641463ad5783896a39ce" > < div class = "ttname" > < a href = "group__coreinit__memfrmheap.html#gga3f08e0ac8686224d9eebc0655e7623dcab6f71734ed64641463ad5783896a39ce" > MEM_FRM_HEAP_FREE_HEAD< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memfrmheap_8h_source.html#l00017" > memfrmheap.h:17< / a > < / div > < / div >
< div class = "ttc" id = "group__coreinit__memfrmheap_html_ga8aec62e6db928651de54a54c408903bb" > < div class = "ttname" > < a href = "group__coreinit__memfrmheap.html#ga8aec62e6db928651de54a54c408903bb" > MEMFreeToFrmHeap< / a > < / div > < div class = "ttdeci" > void MEMFreeToFrmHeap(MEMHeapHandle heap, MEMFrmHeapFreeMode mode)< / div > < / div >
< div class = "ttc" id = "wut__types_8h_html_a975dbe9e4396bf9e0064ce01827fa372" > < div class = "ttname" > < a href = "wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372" > BOOL< / a > < / div > < div class = "ttdeci" > int32_t BOOL< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "wut__types_8h_source.html#l00004" > wut_types.h:4< / a > < / div > < / div >
< div class = "ttc" id = "group__coreinit__memfrmheap_html_ga75f4658037290e0379e4eda3be95a73c" > < div class = "ttname" > < a href = "group__coreinit__memfrmheap.html#ga75f4658037290e0379e4eda3be95a73c" > MEMFreeByStateToFrmHeap< / a > < / div > < div class = "ttdeci" > BOOL MEMFreeByStateToFrmHeap(MEMHeapHandle heap, uint32_t tag)< / div > < / div >
< div class = "ttc" id = "group__coreinit__memfrmheap_html_ad52390af2c98d74581506059d24280c5" > < div class = "ttname" > < a href = "group__coreinit__memfrmheap.html#ad52390af2c98d74581506059d24280c5" > MEMFrmHeap::previousState< / a > < / div > < div class = "ttdeci" > MEMFrmHeapState * previousState< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memfrmheap_8h_source.html#l00043" > memfrmheap.h:43< / a > < / div > < / div >
< div class = "ttc" id = "group__coreinit__memfrmheap_html_ga07d09c9bac0f66667ab8e3c2a17b8a1d" > < div class = "ttname" > < a href = "group__coreinit__memfrmheap.html#ga07d09c9bac0f66667ab8e3c2a17b8a1d" > MEMDestroyFrmHeap< / a > < / div > < div class = "ttdeci" > void * MEMDestroyFrmHeap(MEMHeapHandle heap)< / div > < / div >
< div class = "ttc" id = "group__coreinit__memfrmheap_html_structMEMFrmHeap" > < div class = "ttname" > < a href = "group__coreinit__memfrmheap.html#structMEMFrmHeap" > MEMFrmHeap< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memfrmheap_8h_source.html#l00038" > memfrmheap.h:38< / a > < / div > < / div >
< div class = "ttc" id = "group__coreinit__memfrmheap_html_a0edcfdc3d5cf965f0929bf203c4a1dbb" > < div class = "ttname" > < a href = "group__coreinit__memfrmheap.html#a0edcfdc3d5cf965f0929bf203c4a1dbb" > MEMFrmHeap::header< / a > < / div > < div class = "ttdeci" > MEMHeapHeader header< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memfrmheap_8h_source.html#l00040" > memfrmheap.h:40< / a > < / div > < / div >
< div class = "ttc" id = "group__coreinit__memfrmheap_html_gad88743e9a916e039dbb19f5dd87be3f1" > < div class = "ttname" > < a href = "group__coreinit__memfrmheap.html#gad88743e9a916e039dbb19f5dd87be3f1" > MEMRecordStateForFrmHeap< / a > < / div > < div class = "ttdeci" > BOOL MEMRecordStateForFrmHeap(MEMHeapHandle heap, uint32_t tag)< / div > < / div >
< div class = "ttc" id = "group__coreinit__memfrmheap_html_gga3f08e0ac8686224d9eebc0655e7623dca7d23b208493c79cfb3cde8a4a26fe268" > < div class = "ttname" > < a href = "group__coreinit__memfrmheap.html#gga3f08e0ac8686224d9eebc0655e7623dca7d23b208493c79cfb3cde8a4a26fe268" > MEM_FRM_HEAP_FREE_ALL< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memfrmheap_8h_source.html#l00019" > memfrmheap.h:19< / a > < / div > < / div >
< div class = "ttc" id = "group__coreinit__memheap_html_structMEMHeapHeader" > < div class = "ttname" > < a href = "group__coreinit__memheap.html#structMEMHeapHeader" > MEMHeapHeader< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memheap_8h_source.html#l00051" > memheap.h:51< / a > < / div > < / div >
< div class = "ttc" id = "group__coreinit__memfrmheap_html_a1c50fcd1195659821729f52af8f3bb7d" > < div class = "ttname" > < a href = "group__coreinit__memfrmheap.html#a1c50fcd1195659821729f52af8f3bb7d" > MEMFrmHeapState::tag< / a > < / div > < div class = "ttdeci" > uint32_t tag< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memfrmheap_8h_source.html#l00027" > memfrmheap.h:27< / a > < / div > < / div >
< div class = "ttc" id = "group__coreinit__memfrmheap_html_a46997af7b414552eec825fd3f95287d9" > < div class = "ttname" > < a href = "group__coreinit__memfrmheap.html#a46997af7b414552eec825fd3f95287d9" > MEMFrmHeapState::head< / a > < / div > < div class = "ttdeci" > void * head< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memfrmheap_8h_source.html#l00028" > memfrmheap.h:28< / a > < / div > < / div >
< / div > <!-- fragment --> < / 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
2018-07-26 20:52:03 +10:00
< / small > < / address >
< / body >
< / html >