176 lines
14 KiB
HTML
176 lines
14 KiB
HTML
<!-- HTML header for doxygen 1.9.1-->
|
|
<!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.15.0"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>L4Re Operating System Framework: l4/re/util/cap_alloc File Reference</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="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript" src="cookie.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" />
|
|
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
|
<link href="l4re-awesome.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="projectlogo"><img alt="Logo" src="L4Re_rgb_logo_quer_hg_h55.png"/></td>
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">L4Re Operating System Framework
|
|
</div>
|
|
<div id="projectbrief">Interface and Usage Documentation</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.15.0 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
</script>
|
|
<script type="text/javascript">
|
|
$(function() { codefold.init(); });
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search',true);
|
|
$(function() { init_search(); });
|
|
});
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
$(function(){initNavTree('util_2cap__alloc.html','',''); });
|
|
</script>
|
|
<div id="container">
|
|
<div id="doc-content">
|
|
<!-- 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">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">cap_alloc File Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Capability allocator.
|
|
<a href="#details">More...</a></p>
|
|
<div class="textblock"><code>#include <<a class="el" href="cap__alloc__impl_8h_source.html">l4/re/util/cap_alloc_impl.h</a>></code><br />
|
|
<code>#include <<a class="el" href="smart__capability_source.html">l4/sys/smart_capability</a>></code><br />
|
|
<code>#include <<a class="el" href="task_source.html">l4/sys/task</a>></code><br />
|
|
<code>#include <<a class="el" href="re_2consts_source.html">l4/re/consts</a>></code><br />
|
|
</div><div class="textblock"><div id="dynsection-0" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>Include dependency graph for cap_alloc:</div>
|
|
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
|
|
</div>
|
|
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
|
|
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="util_2cap__alloc__incl.svg" width="1627" height="1254"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
|
</div>
|
|
</div><div class="textblock"><div id="dynsection-1" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>This graph shows which files directly or indirectly include this file:</div>
|
|
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
|
|
</div>
|
|
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
|
|
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="util_2cap__alloc__dep__incl.svg" width="2578" height="931"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
|
</div>
|
|
</div>
|
|
<p><a href="util_2cap__alloc_source.html">Go to the source code of this file.</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 id="header-nested-classes" class="groupheader"><a id="nested-classes" name="nested-classes"></a>
|
|
Data Structures</h2></td></tr>
|
|
<tr class="memitem:L4Re_3A_3AUtil_3A_3ASmart_5Fcap_5Fauto_3C_20Unmap_5Fflags_20_3E" id="r_L4Re_3A_3AUtil_3A_3ASmart_5Fcap_5Fauto_3C_20Unmap_5Fflags_20_3E"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classL4Re_1_1Util_1_1Smart__cap__auto.html">L4Re::Util::Smart_cap_auto< Unmap_flags ></a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Helper for <a class="el" href="namespaceL4Re_1_1Util.html#a0efccd325a19246334922e58dd973914" title="Unique capability that implements automatic free and unmap of the capability selector.">Unique_cap</a> and <a class="el" href="namespaceL4Re_1_1Util.html#a13a4df2df2fdffc06880b49fb10b0c74" title="Unique capability that implements automatic free and unmap+delete of the capability selector.">Unique_del_cap</a>. <a href="classL4Re_1_1Util_1_1Smart__cap__auto.html#details">More...</a><br /></td></tr>
|
|
<tr class="memitem:L4Re_3A_3AUtil_3A_3ASmart_5Fcount_5Fcap_3C_20Unmap_5Fflags_20_3E" id="r_L4Re_3A_3AUtil_3A_3ASmart_5Fcount_5Fcap_3C_20Unmap_5Fflags_20_3E"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classL4Re_1_1Util_1_1Smart__count__cap.html">L4Re::Util::Smart_count_cap< Unmap_flags ></a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Helper for <a class="el" href="structL4Re_1_1Util_1_1Ref__cap.html" title="Automatic capability that implements automatic free and unmap of the capability selector.">Ref_cap</a> and <a class="el" href="structL4Re_1_1Util_1_1Ref__del__cap.html" title="Automatic capability that implements automatic free and unmap+delete of the capability selector.">Ref_del_cap</a>. <a href="classL4Re_1_1Util_1_1Smart__count__cap.html#details">More...</a><br /></td></tr>
|
|
<tr class="memitem:L4Re_3A_3AUtil_3A_3ARef_5Fcap_3C_20T_20_3E" id="r_L4Re_3A_3AUtil_3A_3ARef_5Fcap_3C_20T_20_3E"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structL4Re_1_1Util_1_1Ref__cap.html">L4Re::Util::Ref_cap< T ></a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Automatic capability that implements automatic free and unmap of the capability selector. <a href="structL4Re_1_1Util_1_1Ref__cap.html#details">More...</a><br /></td></tr>
|
|
<tr class="memitem:L4Re_3A_3AUtil_3A_3ARef_5Fdel_5Fcap_3C_20T_20_3E" id="r_L4Re_3A_3AUtil_3A_3ARef_5Fdel_5Fcap_3C_20T_20_3E"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structL4Re_1_1Util_1_1Ref__del__cap.html">L4Re::Util::Ref_del_cap< T ></a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Automatic capability that implements automatic free and unmap+delete of the capability selector. <a href="structL4Re_1_1Util_1_1Ref__del__cap.html#details">More...</a><br /></td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 id="header-namespaces" class="groupheader"><a id="namespaces" name="namespaces"></a>
|
|
Namespaces</h2></td></tr>
|
|
<tr class="memitem:L4Re" id="r_L4Re"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceL4Re.html">L4Re</a></td></tr>
|
|
<tr class="memdesc:namespaceL4Re"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="namespaceL4Re.html" title="L4Re C++ Interfaces.">L4Re</a> C++ Interfaces. <br /></td></tr>
|
|
<tr class="memitem:L4Re_3A_3AUtil" id="r_L4Re_3A_3AUtil"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceL4Re_1_1Util.html">L4Re::Util</a></td></tr>
|
|
<tr class="memdesc:namespaceL4Re_1_1Util"><td class="mdescLeft"> </td><td class="mdescRight">Documentation of the <a class="el" href="namespaceL4.html" title="L4 low-level kernel interface.">L4</a> Runtime Environment utility functionality in C++. <br /></td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 id="header-func-members" class="groupheader"><a id="func-members" name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:gab8a4837ecc6fdba70d41a6ac49e30c0b" id="r_gab8a4837ecc6fdba70d41a6ac49e30c0b"><td class="memTemplParams" colspan="2">template<typename T> </td></tr>
|
|
<tr class="memitem:gab8a4837ecc6fdba70d41a6ac49e30c0b template"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structL4Re_1_1Util_1_1Ref__cap.html">Ref_cap</a>< T >::Cap </td><td class="memItemRight" valign="bottom"><a class="el" href="group__l4re__cap__api.html#gab8a4837ecc6fdba70d41a6ac49e30c0b">L4Re::Util::make_ref_cap</a> ()</td></tr>
|
|
<tr class="memdesc:gab8a4837ecc6fdba70d41a6ac49e30c0b"><td class="mdescLeft"> </td><td class="mdescRight">Allocate a capability slot and wrap it in a <a class="el" href="structL4Re_1_1Util_1_1Ref__cap.html" title="Automatic capability that implements automatic free and unmap of the capability selector.">Ref_cap</a>. <br /></td></tr>
|
|
<tr class="memitem:ga6fb7c363bb892bc6ad18283ab8b51479" id="r_ga6fb7c363bb892bc6ad18283ab8b51479"><td class="memTemplParams" colspan="2">template<typename T> </td></tr>
|
|
<tr class="memitem:ga6fb7c363bb892bc6ad18283ab8b51479 template"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structL4Re_1_1Util_1_1Ref__del__cap.html">Ref_del_cap</a>< T >::Cap </td><td class="memItemRight" valign="bottom"><a class="el" href="group__l4re__cap__api.html#ga6fb7c363bb892bc6ad18283ab8b51479">L4Re::Util::make_ref_del_cap</a> ()</td></tr>
|
|
<tr class="memdesc:ga6fb7c363bb892bc6ad18283ab8b51479"><td class="mdescLeft"> </td><td class="mdescRight">Allocate a capability slot and wrap it in a <a class="el" href="structL4Re_1_1Util_1_1Ref__del__cap.html" title="Automatic capability that implements automatic free and unmap+delete of the capability selector.">Ref_del_cap</a>. <br /></td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 id="header-var-members" class="groupheader"><a id="var-members" name="var-members"></a>
|
|
Variables</h2></td></tr>
|
|
<tr class="memitem:ga29e3dbeb3c8ed0609519c9df212c9c52" id="r_ga29e3dbeb3c8ed0609519c9df212c9c52"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classL4Re_1_1Util_1_1__Cap__alloc.html">_Cap_alloc</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="group__l4re__cap__api.html#ga29e3dbeb3c8ed0609519c9df212c9c52">L4Re::Util::cap_alloc</a></td></tr>
|
|
<tr class="memdesc:ga29e3dbeb3c8ed0609519c9df212c9c52"><td class="mdescLeft"> </td><td class="mdescRight">Capability allocator. <br /></td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Capability allocator. </p>
|
|
|
|
<p class="definition">Definition in file <a class="el" href="util_2cap__alloc_source.html">cap_alloc</a>.</p>
|
|
</div></div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<div id="page-nav" class="page-nav-panel">
|
|
<div id="page-nav-resize-handle"></div>
|
|
<div id="page-nav-tree">
|
|
<div id="page-nav-contents">
|
|
</div><!-- page-nav-contents -->
|
|
</div><!-- page-nav-tree -->
|
|
</div><!-- page-nav -->
|
|
</div><!-- container -->
|
|
<!-- HTML footer for doxygen 1.9.1-->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><b>l4</b></li><li class="navelem"><b>re</b></li><li class="navelem"><b>util</b></li><li class="navelem"><a href="util_2cap__alloc.html">cap_alloc</a></li>
|
|
<li class="footer">Generated on <span class="timestamp"></span> for L4Re Operating System Framework by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.15.0 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|