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-01-07 16:06:06 +00: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: Core< / title >
2016-01-07 16:06:06 +00: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-01-07 16:06:06 +00: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-01-07 16:06:06 +00: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-01-07 16:06:06 +00:00
var searchBox = new SearchBox("searchBox", "search",false,'Search');
2018-07-26 20:52:03 +10:00
/* @license-end */
2016-01-07 16:06:06 +00: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-01-07 16:06:06 +00: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 = "#func-members" > Functions< / a > < / div >
< div class = "headertitle" >
2018-07-26 20:52:03 +10:00
< div class = "title" > Core< div class = "ingroups" > < a class = "el" href = "group__coreinit.html" > coreinit< / a > < / div > < / div > < / div >
2016-01-07 16:06:06 +00:00
< / div > <!-- header -->
< div class = "contents" >
2018-07-26 20:52:03 +10:00
< p > Provides information about each core of the system's processor.
< a href = "#details" > More...< / a > < / p >
2016-01-07 16:06:06 +00:00
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
< tr class = "memitem:gad2736cecb831e8d817d4520ddbe2199e" > < td class = "memItemLeft" align = "right" valign = "top" > uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__core.html#gad2736cecb831e8d817d4520ddbe2199e" > OSGetCoreCount< / a > ()< / td > < / tr >
2018-07-26 20:52:03 +10:00
< tr class = "memdesc:gad2736cecb831e8d817d4520ddbe2199e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets the number of cores in the system. < a href = "#gad2736cecb831e8d817d4520ddbe2199e" > More...< / a > < br / > < / td > < / tr >
2016-01-07 16:06:06 +00:00
< tr class = "separator:gad2736cecb831e8d817d4520ddbe2199e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gae46ae66c00e018f914ba43df11035651" > < td class = "memItemLeft" align = "right" valign = "top" > uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__core.html#gae46ae66c00e018f914ba43df11035651" > OSGetCoreId< / a > ()< / td > < / tr >
2018-07-26 20:52:03 +10:00
< tr class = "memdesc:gae46ae66c00e018f914ba43df11035651" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets the core executing the current thread. < a href = "#gae46ae66c00e018f914ba43df11035651" > More...< / a > < br / > < / td > < / tr >
2016-01-07 16:06:06 +00:00
< tr class = "separator:gae46ae66c00e018f914ba43df11035651" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga03db251f12f03a71015d824212f53044" > < td class = "memItemLeft" align = "right" valign = "top" > uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__coreinit__core.html#ga03db251f12f03a71015d824212f53044" > OSGetMainCoreId< / a > ()< / td > < / tr >
2018-07-26 20:52:03 +10:00
< tr class = "memdesc:ga03db251f12f03a71015d824212f53044" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets the main core of the system. < a href = "#ga03db251f12f03a71015d824212f53044" > More...< / a > < br / > < / td > < / tr >
2016-01-07 16:06:06 +00:00
< tr class = "separator:ga03db251f12f03a71015d824212f53044" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-07-26 20:52:03 +10:00
< tr class = "memitem:gaeb060ef03e7d812f07709738601b004e" > < 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__core.html#gaeb060ef03e7d812f07709738601b004e" > OSIsMainCore< / a > ()< / td > < / tr >
< tr class = "memdesc:gaeb060ef03e7d812f07709738601b004e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Determines whether the current thread is running on the main core. < a href = "#gaeb060ef03e7d812f07709738601b004e" > More...< / a > < br / > < / td > < / tr >
2016-01-07 16:06:06 +00:00
< tr class = "separator:gaeb060ef03e7d812f07709738601b004e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
2018-07-26 20:52:03 +10:00
< p > Provides information about each core of the system's processor. < / p >
2016-01-07 16:06:06 +00:00
< h2 class = "groupheader" > Function Documentation< / h2 >
2018-07-26 20:52:03 +10:00
< a id = "gad2736cecb831e8d817d4520ddbe2199e" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#gad2736cecb831e8d817d4520ddbe2199e" > ◆ < / a > < / span > OSGetCoreCount()< / h2 >
2016-01-07 16:06:06 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint32_t OSGetCoreCount < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-07-26 20:52:03 +10:00
< p > Gets the number of cores in the system. < / p >
< p > On a retail Wii U, this is always 3.< / p >
< dl class = "section return" > < dt > Returns< / dt > < dd > The core count of the system. < / dd > < / dl >
2016-01-07 16:06:06 +00:00
< / div >
< / div >
2018-07-26 20:52:03 +10:00
< a id = "gae46ae66c00e018f914ba43df11035651" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#gae46ae66c00e018f914ba43df11035651" > ◆ < / a > < / span > OSGetCoreId()< / h2 >
2016-01-07 16:06:06 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint32_t OSGetCoreId < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-07-26 20:52:03 +10:00
< p > Gets the core executing the current thread. < / p >
< dl class = "section return" > < dt > Returns< / dt > < dd > The ID of the current core. < / dd > < / dl >
2016-01-07 16:06:06 +00:00
< / div >
< / div >
2018-07-26 20:52:03 +10:00
< a id = "ga03db251f12f03a71015d824212f53044" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ga03db251f12f03a71015d824212f53044" > ◆ < / a > < / span > OSGetMainCoreId()< / h2 >
2016-01-07 16:06:06 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint32_t OSGetMainCoreId < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-07-26 20:52:03 +10:00
< p > Gets the main core of the system. < / p >
< p > On a retail Wii U, this is always core 1.< / p >
< dl class = "section return" > < dt > Returns< / dt > < dd > The ID of the main core. < / dd > < / dl >
2016-01-07 16:06:06 +00:00
< / div >
< / div >
2018-07-26 20:52:03 +10:00
< a id = "gaeb060ef03e7d812f07709738601b004e" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#gaeb060ef03e7d812f07709738601b004e" > ◆ < / a > < / span > OSIsMainCore()< / h2 >
2016-01-07 16:06:06 +00: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 = "wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372" > BOOL< / a > OSIsMainCore < / td >
2016-01-07 16:06:06 +00:00
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-07-26 20:52:03 +10:00
< p > Determines whether the current thread is running on the main core. < / p >
< p > On a retail Wii U, the main core is always core 1.< / p >
< dl class = "section return" > < dt > Returns< / dt > < dd > < code > true< / code > if the current core is the main core.< / dd > < / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < ul >
< li >
< a class = "el" href = "group__coreinit__core.html#ga03db251f12f03a71015d824212f53044" > OSGetMainCoreId< / a > < / li >
< / ul >
< / dd > < / dl >
2016-01-07 16:06:06 +00:00
< / 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-01-07 16:06:06 +00:00
< / small > < / address >
< / body >
< / html >