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" / >
2019-04-22 10:21:17 +10:00
< title > wut: /home/ash/src/wut/include/coreinit/memory.h File Reference< / 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
<!-- 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 = "summary" >
2018-07-26 20:52:03 +10:00
< a href = "#typedef-members" > Typedefs< / a > |
< a href = "#enum-members" > Enumerations< / a > |
2016-07-25 02:05:50 +01:00
< a href = "#func-members" > Functions< / a > < / div >
< div class = "headertitle" >
< div class = "title" > memory.h File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< div class = "textblock" > < code > #include < < a class = "el" href = "wut_8h_source.html" > wut.h< / a > > < / code > < br / >
< / div >
< p > < a href = "memory_8h_source.html" > Go to the source code of this file.< / a > < / p >
< table class = "memberdecls" >
2018-07-26 20:52:03 +10:00
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "typedef-members" > < / a >
Typedefs< / h2 > < / td > < / tr >
< tr class = "memitem:gab36668f493a74d77f7e91f60feb8e4fb" > < td class = "memItemLeft" align = "right" valign = "top" > typedef enum < a class = "el" href = "group__coreinit__memory.html#ga5adafa4b1651c95c686848b6873866ec" > OSMemoryType< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memory.html#gab36668f493a74d77f7e91f60feb8e4fb" > OSMemoryType< / a > < / td > < / tr >
< tr class = "separator:gab36668f493a74d77f7e91f60feb8e4fb" > < 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 >
< tr class = "memitem:ga5adafa4b1651c95c686848b6873866ec" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memory.html#ga5adafa4b1651c95c686848b6873866ec" > OSMemoryType< / a > { < br / >
    < a class = "el" href = "group__coreinit__memory.html#gga5adafa4b1651c95c686848b6873866eca46057099b28a70b64cfcaa5949d7a79d" > OS_MEM1< / a > = 1,
< br / >
    < a class = "el" href = "group__coreinit__memory.html#gga5adafa4b1651c95c686848b6873866eca5d4494dd03c6253b9688b016d91b0bac" > OS_MEM2< / a > = 2
< br / >
}< / td > < / tr >
< tr class = "separator:ga5adafa4b1651c95c686848b6873866ec" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
2016-07-25 02:05:50 +01:00
< 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:ga5e52e7faf134760ba17a37dcff0a6788" > < td class = "memItemLeft" align = "right" valign = "top" > void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memory.html#ga5e52e7faf134760ba17a37dcff0a6788" > OSBlockMove< / a > (void *dst, const void *src, uint32_t size, < a class = "el" href = "wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372" > BOOL< / a > flush)< / td > < / tr >
< tr class = "memdesc:ga5e52e7faf134760ba17a37dcff0a6788" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Moves chunks of memory around, similarly to memmove. < a href = "group__coreinit__memory.html#ga5e52e7faf134760ba17a37dcff0a6788" > More...< / a > < br / > < / td > < / tr >
2016-07-25 02:05:50 +01:00
< tr class = "separator:ga5e52e7faf134760ba17a37dcff0a6788" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga2ca4424434d82a1c79fd4fcd5493c1fa" > < td class = "memItemLeft" align = "right" valign = "top" > void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memory.html#ga2ca4424434d82a1c79fd4fcd5493c1fa" > OSBlockSet< / a > (void *dst, uint8_t val, uint32_t size)< / td > < / tr >
2018-07-26 20:52:03 +10:00
< tr class = "memdesc:ga2ca4424434d82a1c79fd4fcd5493c1fa" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Fills a chunk of memory with the given value, like memset. < a href = "group__coreinit__memory.html#ga2ca4424434d82a1c79fd4fcd5493c1fa" > More...< / a > < br / > < / td > < / tr >
2016-07-25 02:05:50 +01:00
< tr class = "separator:ga2ca4424434d82a1c79fd4fcd5493c1fa" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-07-26 20:52:03 +10:00
< tr class = "memitem:gabafbbb8aa2105c955064038989db76ab" > < td class = "memItemLeft" align = "right" valign = "top" > void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memory.html#gabafbbb8aa2105c955064038989db76ab" > OSAllocFromSystem< / a > (uint32_t size, int align)< / td > < / tr >
< tr class = "separator:gabafbbb8aa2105c955064038989db76ab" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga1528594494814190475a913109146db8" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memory.html#ga1528594494814190475a913109146db8" > OSFreeToSystem< / a > (void *ptr)< / td > < / tr >
< tr class = "separator:ga1528594494814190475a913109146db8" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gacf36057de0bc1f98db6a96217cc08b64" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372" > BOOL< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memory.html#gacf36057de0bc1f98db6a96217cc08b64" > OSGetForegroundBucket< / a > (uint32_t *outAddr, uint32_t *outSize)< / td > < / tr >
< tr class = "memdesc:gacf36057de0bc1f98db6a96217cc08b64" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets the location and size of the foreground bucket memory area. < a href = "group__coreinit__memory.html#gacf36057de0bc1f98db6a96217cc08b64" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gacf36057de0bc1f98db6a96217cc08b64" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga381f32576f1c11cc6398be6b350a8619" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372" > BOOL< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memory.html#ga381f32576f1c11cc6398be6b350a8619" > OSGetForegroundBucketFreeArea< / a > (uint32_t *outAddr, uint32_t *outSize)< / td > < / tr >
< tr class = "memdesc:ga381f32576f1c11cc6398be6b350a8619" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets the location and size of the application-usable portion of the foreground bucket area. < a href = "group__coreinit__memory.html#ga381f32576f1c11cc6398be6b350a8619" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga381f32576f1c11cc6398be6b350a8619" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga4ca445b0dbea2a2063b1a84bb5b0ad40" > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__memory.html#ga4ca445b0dbea2a2063b1a84bb5b0ad40" > OSGetMemBound< / a > (< a class = "el" href = "group__coreinit__memory.html#ga5adafa4b1651c95c686848b6873866ec" > OSMemoryType< / a > type, uint32_t *outAddr, uint32_t *outSize)< / td > < / tr >
< tr class = "memdesc:ga4ca445b0dbea2a2063b1a84bb5b0ad40" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets the location and size of available memory areas. < a href = "group__coreinit__memory.html#ga4ca445b0dbea2a2063b1a84bb5b0ad40" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga4ca445b0dbea2a2063b1a84bb5b0ad40" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-07-25 02:05:50 +01:00
< / table >
< / 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 >