mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:24:17 +01:00
571 lines
35 KiB
HTML
571 lines
35 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<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"/>
|
|
<meta name="generator" content="Doxygen 1.8.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>wut: Dynamic Loading</title>
|
|
<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
|
|
 <span id="projectnumber">1.0.0-beta9</span>
|
|
</div>
|
|
<div id="projectbrief">Wii U Toolchain</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.17 -->
|
|
<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>
|
|
</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="#typedef-members">Typedefs</a> |
|
|
<a href="#enum-members">Enumerations</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">Dynamic Loading<div class="ingroups"><a class="el" href="group__coreinit.html">coreinit</a></div></div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
|
Typedefs</h2></td></tr>
|
|
<tr class="memitem:gaf882e18d6e54149aaf0cb3ee65952259"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__coreinit__dynload.html#ga5245754f5bd591f3b573a45b1e856bf7">OSDynLoad_Error</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__dynload.html#gaf882e18d6e54149aaf0cb3ee65952259">OSDynLoad_Error</a></td></tr>
|
|
<tr class="separator:gaf882e18d6e54149aaf0cb3ee65952259"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gae2b55836ecc2f989e6f7511108dab393"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__coreinit__dynload.html#ga49fab4b5016c916e35c068cd84ed5177">OSDynLoad_EntryReason</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__dynload.html#gae2b55836ecc2f989e6f7511108dab393">OSDynLoad_EntryReason</a></td></tr>
|
|
<tr class="separator:gae2b55836ecc2f989e6f7511108dab393"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga16bf6e0b644e2160e7d444483aa2daa6"><td class="memItemLeft" align="right" valign="top">typedef void * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__dynload.html#ga16bf6e0b644e2160e7d444483aa2daa6">OSDynLoad_Module</a></td></tr>
|
|
<tr class="separator:ga16bf6e0b644e2160e7d444483aa2daa6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gad40f6477626575abe52bb5f1db011eac"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group__coreinit__dynload.html#ga5245754f5bd591f3b573a45b1e856bf7">OSDynLoad_Error</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__dynload.html#gad40f6477626575abe52bb5f1db011eac">OSDynLoadAllocFn</a>) (int32_t size, int32_t align, void **outAddr)</td></tr>
|
|
<tr class="separator:gad40f6477626575abe52bb5f1db011eac"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga09658d49df7c02cbe47b5043fb81c211"><td class="memItemLeft" align="right" valign="top">typedef void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__dynload.html#ga09658d49df7c02cbe47b5043fb81c211">OSDynLoadFreeFn</a>) (void *addr)</td></tr>
|
|
<tr class="separator:ga09658d49df7c02cbe47b5043fb81c211"><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:ga5245754f5bd591f3b573a45b1e856bf7"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__dynload.html#ga5245754f5bd591f3b573a45b1e856bf7">OSDynLoad_Error</a> { <br />
|
|
  <a class="el" href="group__coreinit__dynload.html#gga5245754f5bd591f3b573a45b1e856bf7a97cc156f7d96bd0a74a74dd9c84069cf">OS_DYNLOAD_OK</a> = 0,
|
|
<br />
|
|
  <a class="el" href="group__coreinit__dynload.html#gga5245754f5bd591f3b573a45b1e856bf7a7038dce35033b12c9cb96552d5721190">OS_DYNLOAD_OUT_OF_MEMORY</a> = 0xBAD10002,
|
|
<br />
|
|
  <a class="el" href="group__coreinit__dynload.html#gga5245754f5bd591f3b573a45b1e856bf7aa4686d8251b670cbbc15053cffca70d2">OS_DYNLOAD_INVALID_NOTIFY_PTR</a> = 0xBAD1000E,
|
|
<br />
|
|
  <a class="el" href="group__coreinit__dynload.html#gga5245754f5bd591f3b573a45b1e856bf7a52d9cdf3bb34ac70f0dbf67ca53a7110">OS_DYNLOAD_INVALID_MODULE_NAME_PTR</a> = 0xBAD1000F,
|
|
<br />
|
|
  <a class="el" href="group__coreinit__dynload.html#gga5245754f5bd591f3b573a45b1e856bf7a2f8bda2ccf1cc3347ee241f3a9b4b9e8">OS_DYNLOAD_INVALID_MODULE_NAME</a> = 0xBAD10010,
|
|
<br />
|
|
  <a class="el" href="group__coreinit__dynload.html#gga5245754f5bd591f3b573a45b1e856bf7a4a3776e65ad6b0bb943d5dcf719a53da">OS_DYNLOAD_INVALID_ACQUIRE_PTR</a> = 0xBAD10011,
|
|
<br />
|
|
  <a class="el" href="group__coreinit__dynload.html#gga5245754f5bd591f3b573a45b1e856bf7a6065f8dd3482098a226b77bbc57396af">OS_DYNLOAD_EMPTY_MODULE_NAME</a> = 0xBAD10012,
|
|
<br />
|
|
  <a class="el" href="group__coreinit__dynload.html#gga5245754f5bd591f3b573a45b1e856bf7ae7f14c8b0cd032d537019184e10c9acc">OS_DYNLOAD_INVALID_ALLOCATOR_PTR</a> = 0xBAD10017,
|
|
<br />
|
|
  <a class="el" href="group__coreinit__dynload.html#gga5245754f5bd591f3b573a45b1e856bf7af73933f46a4da3fd4cdf5a66fb782d03">OS_DYNLOAD_OUT_OF_SYSTEM_MEMORY</a> = 0xBAD1002F,
|
|
<br />
|
|
  <a class="el" href="group__coreinit__dynload.html#gga5245754f5bd591f3b573a45b1e856bf7a9eeab1b79c0dc9aeb2233c54ee4d71fb">OS_DYNLOAD_TLS_ALLOCATOR_LOCKED</a> = 0xBAD10031
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="separator:ga5245754f5bd591f3b573a45b1e856bf7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga49fab4b5016c916e35c068cd84ed5177"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__dynload.html#ga49fab4b5016c916e35c068cd84ed5177">OSDynLoad_EntryReason</a> { <br />
|
|
  <a class="el" href="group__coreinit__dynload.html#gga49fab4b5016c916e35c068cd84ed5177a0feec6f36373211648d7708a5e47f09d">OS_DYNLOAD_LOADED</a> = 0,
|
|
<br />
|
|
  <a class="el" href="group__coreinit__dynload.html#gga49fab4b5016c916e35c068cd84ed5177a634880b76cf138111dc323c340538a43">OS_DYNLOAD_UNLOADED</a> = 1
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="separator:ga49fab4b5016c916e35c068cd84ed5177"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:ga7e6521b6f014cd521db72bf7b2598c31"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__dynload.html#ga5245754f5bd591f3b573a45b1e856bf7">OSDynLoad_Error</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__dynload.html#ga7e6521b6f014cd521db72bf7b2598c31">OSDynLoad_Acquire</a> (char const *name, <a class="el" href="group__coreinit__dynload.html#ga16bf6e0b644e2160e7d444483aa2daa6">OSDynLoad_Module</a> *outModule)</td></tr>
|
|
<tr class="memdesc:ga7e6521b6f014cd521db72bf7b2598c31"><td class="mdescLeft"> </td><td class="mdescRight">Load a module. <a href="group__coreinit__dynload.html#ga7e6521b6f014cd521db72bf7b2598c31">More...</a><br /></td></tr>
|
|
<tr class="separator:ga7e6521b6f014cd521db72bf7b2598c31"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac55fc64505799f26cbe05d1b08823890"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__dynload.html#ga5245754f5bd591f3b573a45b1e856bf7">OSDynLoad_Error</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__dynload.html#gac55fc64505799f26cbe05d1b08823890">OSDynLoad_FindExport</a> (<a class="el" href="group__coreinit__dynload.html#ga16bf6e0b644e2160e7d444483aa2daa6">OSDynLoad_Module</a> module, <a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> isData, char const *name, void **outAddr)</td></tr>
|
|
<tr class="memdesc:gac55fc64505799f26cbe05d1b08823890"><td class="mdescLeft"> </td><td class="mdescRight">Retrieve the address of a function or data export from a module. <a href="group__coreinit__dynload.html#gac55fc64505799f26cbe05d1b08823890">More...</a><br /></td></tr>
|
|
<tr class="separator:gac55fc64505799f26cbe05d1b08823890"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gad85028e9723ff151db81951f615d5313"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__dynload.html#gad85028e9723ff151db81951f615d5313">OSDynLoad_Release</a> (<a class="el" href="group__coreinit__dynload.html#ga16bf6e0b644e2160e7d444483aa2daa6">OSDynLoad_Module</a> module)</td></tr>
|
|
<tr class="memdesc:gad85028e9723ff151db81951f615d5313"><td class="mdescLeft"> </td><td class="mdescRight">Free a module handle returned from OSDynLoad_Acquire. <a href="group__coreinit__dynload.html#gad85028e9723ff151db81951f615d5313">More...</a><br /></td></tr>
|
|
<tr class="separator:gad85028e9723ff151db81951f615d5313"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac48870094bc213762e837660173453e8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__dynload.html#ga5245754f5bd591f3b573a45b1e856bf7">OSDynLoad_Error</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__dynload.html#gac48870094bc213762e837660173453e8">OSDynLoad_SetAllocator</a> (<a class="el" href="group__coreinit__dynload.html#gad40f6477626575abe52bb5f1db011eac">OSDynLoadAllocFn</a> allocFn, <a class="el" href="group__coreinit__dynload.html#ga09658d49df7c02cbe47b5043fb81c211">OSDynLoadFreeFn</a> freeFn)</td></tr>
|
|
<tr class="memdesc:gac48870094bc213762e837660173453e8"><td class="mdescLeft"> </td><td class="mdescRight">Set the allocator functions to use for dynamic loading. <a href="group__coreinit__dynload.html#gac48870094bc213762e837660173453e8">More...</a><br /></td></tr>
|
|
<tr class="separator:gac48870094bc213762e837660173453e8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga4320fce62da5aee52f6de05d360824ca"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__dynload.html#ga5245754f5bd591f3b573a45b1e856bf7">OSDynLoad_Error</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__dynload.html#ga4320fce62da5aee52f6de05d360824ca">OSDynLoad_GetAllocator</a> (<a class="el" href="group__coreinit__dynload.html#gad40f6477626575abe52bb5f1db011eac">OSDynLoadAllocFn</a> *outAllocFn, <a class="el" href="group__coreinit__dynload.html#ga09658d49df7c02cbe47b5043fb81c211">OSDynLoadFreeFn</a> *outFreeFn)</td></tr>
|
|
<tr class="memdesc:ga4320fce62da5aee52f6de05d360824ca"><td class="mdescLeft"> </td><td class="mdescRight">Get the allocator functions used for dynamic loading. <a href="group__coreinit__dynload.html#ga4320fce62da5aee52f6de05d360824ca">More...</a><br /></td></tr>
|
|
<tr class="separator:ga4320fce62da5aee52f6de05d360824ca"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6178c09cb8511a82bb9de2ec735e6d5d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__dynload.html#ga5245754f5bd591f3b573a45b1e856bf7">OSDynLoad_Error</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__dynload.html#ga6178c09cb8511a82bb9de2ec735e6d5d">OSDynLoad_SetTLSAllocator</a> (<a class="el" href="group__coreinit__dynload.html#gad40f6477626575abe52bb5f1db011eac">OSDynLoadAllocFn</a> allocFn, <a class="el" href="group__coreinit__dynload.html#ga09658d49df7c02cbe47b5043fb81c211">OSDynLoadFreeFn</a> freeFn)</td></tr>
|
|
<tr class="memdesc:ga6178c09cb8511a82bb9de2ec735e6d5d"><td class="mdescLeft"> </td><td class="mdescRight">Set the allocator functions to use for thread local storage. <a href="group__coreinit__dynload.html#ga6178c09cb8511a82bb9de2ec735e6d5d">More...</a><br /></td></tr>
|
|
<tr class="separator:ga6178c09cb8511a82bb9de2ec735e6d5d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaa44e781838aef7106eb64c385f4aee18"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__dynload.html#ga5245754f5bd591f3b573a45b1e856bf7">OSDynLoad_Error</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__dynload.html#gaa44e781838aef7106eb64c385f4aee18">OSDynLoad_GetTLSAllocator</a> (<a class="el" href="group__coreinit__dynload.html#gad40f6477626575abe52bb5f1db011eac">OSDynLoadAllocFn</a> *outAllocFn, <a class="el" href="group__coreinit__dynload.html#ga09658d49df7c02cbe47b5043fb81c211">OSDynLoadFreeFn</a> *outFreeFn)</td></tr>
|
|
<tr class="memdesc:gaa44e781838aef7106eb64c385f4aee18"><td class="mdescLeft"> </td><td class="mdescRight">Get the allocator functions used for thread local storage. <a href="group__coreinit__dynload.html#gaa44e781838aef7106eb64c385f4aee18">More...</a><br /></td></tr>
|
|
<tr class="separator:gaa44e781838aef7106eb64c385f4aee18"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga83ed719cccdd550c88be842ccdfef058"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__dynload.html#ga5245754f5bd591f3b573a45b1e856bf7">OSDynLoad_Error</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__dynload.html#ga83ed719cccdd550c88be842ccdfef058">OSDynLoad_GetModuleName</a> (<a class="el" href="group__coreinit__dynload.html#ga16bf6e0b644e2160e7d444483aa2daa6">OSDynLoad_Module</a> module, char *nameBuf, int32_t *nameBufSize)</td></tr>
|
|
<tr class="memdesc:ga83ed719cccdd550c88be842ccdfef058"><td class="mdescLeft"> </td><td class="mdescRight">Gets the name for a given module handle. <a href="group__coreinit__dynload.html#ga83ed719cccdd550c88be842ccdfef058">More...</a><br /></td></tr>
|
|
<tr class="separator:ga83ed719cccdd550c88be842ccdfef058"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga71c20a7227a374607dc7cb569a7eb18d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__dynload.html#ga71c20a7227a374607dc7cb569a7eb18d">rpl_entry</a> (<a class="el" href="group__coreinit__dynload.html#ga16bf6e0b644e2160e7d444483aa2daa6">OSDynLoad_Module</a> module, <a class="el" href="group__coreinit__dynload.html#ga49fab4b5016c916e35c068cd84ed5177">OSDynLoad_EntryReason</a> reason)</td></tr>
|
|
<tr class="memdesc:ga71c20a7227a374607dc7cb569a7eb18d"><td class="mdescLeft"> </td><td class="mdescRight">The prototype for an RPL entry point. <a href="group__coreinit__dynload.html#ga71c20a7227a374607dc7cb569a7eb18d">More...</a><br /></td></tr>
|
|
<tr class="separator:ga71c20a7227a374607dc7cb569a7eb18d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<h2 class="groupheader">Typedef Documentation</h2>
|
|
<a id="gaf882e18d6e54149aaf0cb3ee65952259"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gaf882e18d6e54149aaf0cb3ee65952259">◆ </a></span>OSDynLoad_Error</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef enum <a class="el" href="group__coreinit__dynload.html#ga5245754f5bd591f3b573a45b1e856bf7">OSDynLoad_Error</a> <a class="el" href="group__coreinit__dynload.html#ga5245754f5bd591f3b573a45b1e856bf7">OSDynLoad_Error</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gae2b55836ecc2f989e6f7511108dab393"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gae2b55836ecc2f989e6f7511108dab393">◆ </a></span>OSDynLoad_EntryReason</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef enum <a class="el" href="group__coreinit__dynload.html#ga49fab4b5016c916e35c068cd84ed5177">OSDynLoad_EntryReason</a> <a class="el" href="group__coreinit__dynload.html#ga49fab4b5016c916e35c068cd84ed5177">OSDynLoad_EntryReason</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga16bf6e0b644e2160e7d444483aa2daa6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga16bf6e0b644e2160e7d444483aa2daa6">◆ </a></span>OSDynLoad_Module</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef void* <a class="el" href="group__coreinit__dynload.html#ga16bf6e0b644e2160e7d444483aa2daa6">OSDynLoad_Module</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="dynload_8h_source.html#l00036">36</a> of file <a class="el" href="dynload_8h_source.html">dynload.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gad40f6477626575abe52bb5f1db011eac"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gad40f6477626575abe52bb5f1db011eac">◆ </a></span>OSDynLoadAllocFn</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef <a class="el" href="group__coreinit__dynload.html#ga5245754f5bd591f3b573a45b1e856bf7">OSDynLoad_Error</a>(* OSDynLoadAllocFn) (int32_t size, int32_t align, void **outAddr)</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="dynload_8h_source.html#l00038">38</a> of file <a class="el" href="dynload_8h_source.html">dynload.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga09658d49df7c02cbe47b5043fb81c211"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga09658d49df7c02cbe47b5043fb81c211">◆ </a></span>OSDynLoadFreeFn</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef void(* OSDynLoadFreeFn) (void *addr)</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="dynload_8h_source.html#l00039">39</a> of file <a class="el" href="dynload_8h_source.html">dynload.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
|
<a id="ga5245754f5bd591f3b573a45b1e856bf7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga5245754f5bd591f3b573a45b1e856bf7">◆ </a></span>OSDynLoad_Error</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="group__coreinit__dynload.html#ga5245754f5bd591f3b573a45b1e856bf7">OSDynLoad_Error</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga5245754f5bd591f3b573a45b1e856bf7a97cc156f7d96bd0a74a74dd9c84069cf"></a>OS_DYNLOAD_OK </td><td class="fielddoc"></td></tr>
|
|
<tr><td class="fieldname"><a id="gga5245754f5bd591f3b573a45b1e856bf7a7038dce35033b12c9cb96552d5721190"></a>OS_DYNLOAD_OUT_OF_MEMORY </td><td class="fielddoc"></td></tr>
|
|
<tr><td class="fieldname"><a id="gga5245754f5bd591f3b573a45b1e856bf7aa4686d8251b670cbbc15053cffca70d2"></a>OS_DYNLOAD_INVALID_NOTIFY_PTR </td><td class="fielddoc"></td></tr>
|
|
<tr><td class="fieldname"><a id="gga5245754f5bd591f3b573a45b1e856bf7a52d9cdf3bb34ac70f0dbf67ca53a7110"></a>OS_DYNLOAD_INVALID_MODULE_NAME_PTR </td><td class="fielddoc"></td></tr>
|
|
<tr><td class="fieldname"><a id="gga5245754f5bd591f3b573a45b1e856bf7a2f8bda2ccf1cc3347ee241f3a9b4b9e8"></a>OS_DYNLOAD_INVALID_MODULE_NAME </td><td class="fielddoc"></td></tr>
|
|
<tr><td class="fieldname"><a id="gga5245754f5bd591f3b573a45b1e856bf7a4a3776e65ad6b0bb943d5dcf719a53da"></a>OS_DYNLOAD_INVALID_ACQUIRE_PTR </td><td class="fielddoc"></td></tr>
|
|
<tr><td class="fieldname"><a id="gga5245754f5bd591f3b573a45b1e856bf7a6065f8dd3482098a226b77bbc57396af"></a>OS_DYNLOAD_EMPTY_MODULE_NAME </td><td class="fielddoc"></td></tr>
|
|
<tr><td class="fieldname"><a id="gga5245754f5bd591f3b573a45b1e856bf7ae7f14c8b0cd032d537019184e10c9acc"></a>OS_DYNLOAD_INVALID_ALLOCATOR_PTR </td><td class="fielddoc"></td></tr>
|
|
<tr><td class="fieldname"><a id="gga5245754f5bd591f3b573a45b1e856bf7af73933f46a4da3fd4cdf5a66fb782d03"></a>OS_DYNLOAD_OUT_OF_SYSTEM_MEMORY </td><td class="fielddoc"></td></tr>
|
|
<tr><td class="fieldname"><a id="gga5245754f5bd591f3b573a45b1e856bf7a9eeab1b79c0dc9aeb2233c54ee4d71fb"></a>OS_DYNLOAD_TLS_ALLOCATOR_LOCKED </td><td class="fielddoc"></td></tr>
|
|
</table>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="dynload_8h_source.html#l00016">16</a> of file <a class="el" href="dynload_8h_source.html">dynload.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga49fab4b5016c916e35c068cd84ed5177"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga49fab4b5016c916e35c068cd84ed5177">◆ </a></span>OSDynLoad_EntryReason</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="group__coreinit__dynload.html#ga49fab4b5016c916e35c068cd84ed5177">OSDynLoad_EntryReason</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga49fab4b5016c916e35c068cd84ed5177a0feec6f36373211648d7708a5e47f09d"></a>OS_DYNLOAD_LOADED </td><td class="fielddoc"></td></tr>
|
|
<tr><td class="fieldname"><a id="gga49fab4b5016c916e35c068cd84ed5177a634880b76cf138111dc323c340538a43"></a>OS_DYNLOAD_UNLOADED </td><td class="fielddoc"></td></tr>
|
|
</table>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="dynload_8h_source.html#l00030">30</a> of file <a class="el" href="dynload_8h_source.html">dynload.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a id="ga7e6521b6f014cd521db72bf7b2598c31"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga7e6521b6f014cd521db72bf7b2598c31">◆ </a></span>OSDynLoad_Acquire()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="group__coreinit__dynload.html#ga5245754f5bd591f3b573a45b1e856bf7">OSDynLoad_Error</a> OSDynLoad_Acquire </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char const * </td>
|
|
<td class="paramname"><em>name</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__dynload.html#ga16bf6e0b644e2160e7d444483aa2daa6">OSDynLoad_Module</a> * </td>
|
|
<td class="paramname"><em>outModule</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Load a module. </p>
|
|
<p>If the module is already loaded, increase reference count. Similar to LoadLibrary on Windows. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gac55fc64505799f26cbe05d1b08823890"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gac55fc64505799f26cbe05d1b08823890">◆ </a></span>OSDynLoad_FindExport()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="group__coreinit__dynload.html#ga5245754f5bd591f3b573a45b1e856bf7">OSDynLoad_Error</a> OSDynLoad_FindExport </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__dynload.html#ga16bf6e0b644e2160e7d444483aa2daa6">OSDynLoad_Module</a> </td>
|
|
<td class="paramname"><em>module</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> </td>
|
|
<td class="paramname"><em>isData</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char const * </td>
|
|
<td class="paramname"><em>name</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void ** </td>
|
|
<td class="paramname"><em>outAddr</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Retrieve the address of a function or data export from a module. </p>
|
|
<p>Similar to GetProcAddress on Windows. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gad85028e9723ff151db81951f615d5313"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gad85028e9723ff151db81951f615d5313">◆ </a></span>OSDynLoad_Release()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void OSDynLoad_Release </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__dynload.html#ga16bf6e0b644e2160e7d444483aa2daa6">OSDynLoad_Module</a> </td>
|
|
<td class="paramname"><em>module</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Free a module handle returned from OSDynLoad_Acquire. </p>
|
|
<p>Will decrease reference count and only unload the module if count reaches 0. Similar to FreeLibrary on Windows. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gac48870094bc213762e837660173453e8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gac48870094bc213762e837660173453e8">◆ </a></span>OSDynLoad_SetAllocator()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="group__coreinit__dynload.html#ga5245754f5bd591f3b573a45b1e856bf7">OSDynLoad_Error</a> OSDynLoad_SetAllocator </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__dynload.html#gad40f6477626575abe52bb5f1db011eac">OSDynLoadAllocFn</a> </td>
|
|
<td class="paramname"><em>allocFn</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__dynload.html#ga09658d49df7c02cbe47b5043fb81c211">OSDynLoadFreeFn</a> </td>
|
|
<td class="paramname"><em>freeFn</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the allocator functions to use for dynamic loading. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga4320fce62da5aee52f6de05d360824ca"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga4320fce62da5aee52f6de05d360824ca">◆ </a></span>OSDynLoad_GetAllocator()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="group__coreinit__dynload.html#ga5245754f5bd591f3b573a45b1e856bf7">OSDynLoad_Error</a> OSDynLoad_GetAllocator </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__dynload.html#gad40f6477626575abe52bb5f1db011eac">OSDynLoadAllocFn</a> * </td>
|
|
<td class="paramname"><em>outAllocFn</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__dynload.html#ga09658d49df7c02cbe47b5043fb81c211">OSDynLoadFreeFn</a> * </td>
|
|
<td class="paramname"><em>outFreeFn</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the allocator functions used for dynamic loading. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga6178c09cb8511a82bb9de2ec735e6d5d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga6178c09cb8511a82bb9de2ec735e6d5d">◆ </a></span>OSDynLoad_SetTLSAllocator()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="group__coreinit__dynload.html#ga5245754f5bd591f3b573a45b1e856bf7">OSDynLoad_Error</a> OSDynLoad_SetTLSAllocator </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__dynload.html#gad40f6477626575abe52bb5f1db011eac">OSDynLoadAllocFn</a> </td>
|
|
<td class="paramname"><em>allocFn</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__dynload.html#ga09658d49df7c02cbe47b5043fb81c211">OSDynLoadFreeFn</a> </td>
|
|
<td class="paramname"><em>freeFn</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the allocator functions to use for thread local storage. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gaa44e781838aef7106eb64c385f4aee18"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gaa44e781838aef7106eb64c385f4aee18">◆ </a></span>OSDynLoad_GetTLSAllocator()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="group__coreinit__dynload.html#ga5245754f5bd591f3b573a45b1e856bf7">OSDynLoad_Error</a> OSDynLoad_GetTLSAllocator </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__dynload.html#gad40f6477626575abe52bb5f1db011eac">OSDynLoadAllocFn</a> * </td>
|
|
<td class="paramname"><em>outAllocFn</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__dynload.html#ga09658d49df7c02cbe47b5043fb81c211">OSDynLoadFreeFn</a> * </td>
|
|
<td class="paramname"><em>outFreeFn</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the allocator functions used for thread local storage. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga83ed719cccdd550c88be842ccdfef058"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga83ed719cccdd550c88be842ccdfef058">◆ </a></span>OSDynLoad_GetModuleName()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="group__coreinit__dynload.html#ga5245754f5bd591f3b573a45b1e856bf7">OSDynLoad_Error</a> OSDynLoad_GetModuleName </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__dynload.html#ga16bf6e0b644e2160e7d444483aa2daa6">OSDynLoad_Module</a> </td>
|
|
<td class="paramname"><em>module</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>nameBuf</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int32_t * </td>
|
|
<td class="paramname"><em>nameBufSize</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Gets the name for a given module handle. </p>
|
|
<p>Using the value "-1" as module handle gets the name of the running main rpl </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga71c20a7227a374607dc7cb569a7eb18d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga71c20a7227a374607dc7cb569a7eb18d">◆ </a></span>rpl_entry()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int rpl_entry </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__dynload.html#ga16bf6e0b644e2160e7d444483aa2daa6">OSDynLoad_Module</a> </td>
|
|
<td class="paramname"><em>module</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__dynload.html#ga49fab4b5016c916e35c068cd84ed5177">OSDynLoad_EntryReason</a> </td>
|
|
<td class="paramname"><em>reason</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The prototype for an RPL entry point. </p>
|
|
<p>Use this instead of main when creating .rpl files </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"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|