mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:24:17 +01:00
426 lines
18 KiB
HTML
426 lines
18 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: Atomic Operations 64 bit</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="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">Atomic Operations 64 bit<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="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:ga39c95f0582d35a122bad27ff90c001f5"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__atomic64.html#ga39c95f0582d35a122bad27ff90c001f5">OSGetAtomic64</a> (volatile uint64_t *ptr)</td></tr>
|
|
<tr class="separator:ga39c95f0582d35a122bad27ff90c001f5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gae9884a3d5c431505cc7884342bd70280"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__atomic64.html#gae9884a3d5c431505cc7884342bd70280">OSSetAtomic64</a> (volatile uint64_t *ptr, uint64_t value)</td></tr>
|
|
<tr class="separator:gae9884a3d5c431505cc7884342bd70280"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga013dc7fe8af028a85a334ac6e8e2dfcd"><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__atomic64.html#ga013dc7fe8af028a85a334ac6e8e2dfcd">OSCompareAndSwapAtomic64</a> (volatile uint64_t *ptr, uint64_t compare, uint64_t value)</td></tr>
|
|
<tr class="separator:ga013dc7fe8af028a85a334ac6e8e2dfcd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga141529bd9d34586e9f32a3df9027a438"><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__atomic64.html#ga141529bd9d34586e9f32a3df9027a438">OSCompareAndSwapAtomicEx64</a> (volatile uint64_t *ptr, uint64_t compare, uint64_t value, uint64_t *old)</td></tr>
|
|
<tr class="separator:ga141529bd9d34586e9f32a3df9027a438"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga91a5e551bb59d138380b5b3349c8c99b"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__atomic64.html#ga91a5e551bb59d138380b5b3349c8c99b">OSSwapAtomic64</a> (volatile uint64_t *ptr, uint64_t value)</td></tr>
|
|
<tr class="separator:ga91a5e551bb59d138380b5b3349c8c99b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaa5b44ae292622d74f217c1677ed63ec4"><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__atomic64.html#gaa5b44ae292622d74f217c1677ed63ec4">OSAddAtomic64</a> (volatile int64_t *ptr, int64_t value)</td></tr>
|
|
<tr class="separator:gaa5b44ae292622d74f217c1677ed63ec4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga3b006089f4662ba38c2acba96c2261e2"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__atomic64.html#ga3b006089f4662ba38c2acba96c2261e2">OSAndAtomic64</a> (volatile uint64_t *ptr, uint64_t value)</td></tr>
|
|
<tr class="separator:ga3b006089f4662ba38c2acba96c2261e2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6bf366bb5648f8b9053bb59cd19fde2f"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__atomic64.html#ga6bf366bb5648f8b9053bb59cd19fde2f">OSOrAtomic64</a> (volatile uint64_t *ptr, uint64_t value)</td></tr>
|
|
<tr class="separator:ga6bf366bb5648f8b9053bb59cd19fde2f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga332cb62e0ae9ed883e3f7e2e87d48d65"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__atomic64.html#ga332cb62e0ae9ed883e3f7e2e87d48d65">OSXorAtomic64</a> (volatile uint64_t *ptr, uint64_t value)</td></tr>
|
|
<tr class="separator:ga332cb62e0ae9ed883e3f7e2e87d48d65"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga30d88a46ebff71fccd4c4c5afe06b77b"><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__atomic64.html#ga30d88a46ebff71fccd4c4c5afe06b77b">OSTestAndClearAtomic64</a> (volatile uint64_t *ptr, uint32_t bit)</td></tr>
|
|
<tr class="separator:ga30d88a46ebff71fccd4c4c5afe06b77b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga699a16866f1a192437f4766099635001"><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__atomic64.html#ga699a16866f1a192437f4766099635001">OSTestAndSetAtomic64</a> (volatile uint64_t *ptr, uint32_t bit)</td></tr>
|
|
<tr class="separator:ga699a16866f1a192437f4766099635001"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<p>These functions are used for atomically operating on 64 bit values in memory. </p>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a id="ga39c95f0582d35a122bad27ff90c001f5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga39c95f0582d35a122bad27ff90c001f5">◆ </a></span>OSGetAtomic64()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint64_t OSGetAtomic64 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">volatile uint64_t * </td>
|
|
<td class="paramname"><em>ptr</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gae9884a3d5c431505cc7884342bd70280"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gae9884a3d5c431505cc7884342bd70280">◆ </a></span>OSSetAtomic64()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint64_t OSSetAtomic64 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">volatile uint64_t * </td>
|
|
<td class="paramname"><em>ptr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint64_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">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga013dc7fe8af028a85a334ac6e8e2dfcd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga013dc7fe8af028a85a334ac6e8e2dfcd">◆ </a></span>OSCompareAndSwapAtomic64()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> OSCompareAndSwapAtomic64 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">volatile uint64_t * </td>
|
|
<td class="paramname"><em>ptr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint64_t </td>
|
|
<td class="paramname"><em>compare</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint64_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">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga141529bd9d34586e9f32a3df9027a438"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga141529bd9d34586e9f32a3df9027a438">◆ </a></span>OSCompareAndSwapAtomicEx64()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> OSCompareAndSwapAtomicEx64 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">volatile uint64_t * </td>
|
|
<td class="paramname"><em>ptr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint64_t </td>
|
|
<td class="paramname"><em>compare</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint64_t </td>
|
|
<td class="paramname"><em>value</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint64_t * </td>
|
|
<td class="paramname"><em>old</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga91a5e551bb59d138380b5b3349c8c99b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga91a5e551bb59d138380b5b3349c8c99b">◆ </a></span>OSSwapAtomic64()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint64_t OSSwapAtomic64 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">volatile uint64_t * </td>
|
|
<td class="paramname"><em>ptr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint64_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">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gaa5b44ae292622d74f217c1677ed63ec4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gaa5b44ae292622d74f217c1677ed63ec4">◆ </a></span>OSAddAtomic64()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int64_t OSAddAtomic64 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">volatile int64_t * </td>
|
|
<td class="paramname"><em>ptr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int64_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">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga3b006089f4662ba38c2acba96c2261e2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga3b006089f4662ba38c2acba96c2261e2">◆ </a></span>OSAndAtomic64()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint64_t OSAndAtomic64 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">volatile uint64_t * </td>
|
|
<td class="paramname"><em>ptr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint64_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">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga6bf366bb5648f8b9053bb59cd19fde2f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga6bf366bb5648f8b9053bb59cd19fde2f">◆ </a></span>OSOrAtomic64()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint64_t OSOrAtomic64 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">volatile uint64_t * </td>
|
|
<td class="paramname"><em>ptr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint64_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">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga332cb62e0ae9ed883e3f7e2e87d48d65"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga332cb62e0ae9ed883e3f7e2e87d48d65">◆ </a></span>OSXorAtomic64()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint64_t OSXorAtomic64 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">volatile uint64_t * </td>
|
|
<td class="paramname"><em>ptr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint64_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">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga30d88a46ebff71fccd4c4c5afe06b77b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga30d88a46ebff71fccd4c4c5afe06b77b">◆ </a></span>OSTestAndClearAtomic64()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> OSTestAndClearAtomic64 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">volatile uint64_t * </td>
|
|
<td class="paramname"><em>ptr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint32_t </td>
|
|
<td class="paramname"><em>bit</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga699a16866f1a192437f4766099635001"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga699a16866f1a192437f4766099635001">◆ </a></span>OSTestAndSetAtomic64()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> OSTestAndSetAtomic64 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">volatile uint64_t * </td>
|
|
<td class="paramname"><em>ptr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint32_t </td>
|
|
<td class="paramname"><em>bit</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</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>
|