MAJOR MILESTONE: Successfully imported complete PikeOS 5.0 ecosystem from Virtual Machine 100 (devvm-arch) on gigabyte Proxmox server. Import Summary: - Source Code: 4.3GB, 63,441 files, 14,829 C/C++/H files - Documentation: 78MB, 37+ PDF manuals covering all PikeOS aspects - XSD Schemas: 1.8MB, 158 schema files for configuration/code generation - Test Framework: Complete TFW infrastructure in src/tfw/ Key Components: ✅ Multi-architecture kernels (ARM v7/v8, PowerPC e500/e500mc/e5500, x86_64) ✅ Core source libraries (libstand, ssw, p4ext) ✅ Complete test framework with executables, includes, libraries ✅ 37+ comprehensive PDF documentation (installation, development, platform manuals) ✅ 158 XSD schemas for Eclipse-based code generation and configuration ✅ AUTOSAR/MISRA safety-critical compliance foundation ✅ Hardware virtualization support ✅ Eclipse IDE project configuration (.project, .cproject) Documentation Categories: - Installation & User Guides (pikeos-installation-guide.pdf, user manuals) - Development References (kernel, driver, test framework manuals) - API & Programming (C/C++ environments, native API extensions) - Platform Manuals (ARM, PowerPC, x86 specific guides) - CDK Documentation (gcc, binutils, ld, cpp internals) - Release Notes (all components for 5.0.3) - Specialized Topics (hardware virtualization, POSIX compliance) Technical Achievements: ✅ Complete PikeOS 5.0 codebase across multiple processor architectures ✅ Safety-critical foundation with AUTOSAR/MISRA compliance ✅ Eclipse IDE integration with XSD-driven code generation pipeline ✅ Comprehensive test framework for validation and verification ✅ Complete documentation covering development, deployment, and optimization Extraction Method: - Source: VM 100 (devvm-arch) on gigabyte server (192.168.0.104) - Method: Direct LVM disk mount via losetup, rsync transfer - Size: Total 4.4GB extracted and organized Next Phases: - Phase 3: XSD Workflow Analysis (Day 8-10) - Phase 4: Safety Standards Compliance Documentation (Day 11-12) - Phase 5: Component Categorization (Day 13-14) - Phase 6: Aurelio Brain Test (Day 15) Co-Authored-By: Claude <noreply@anthropic.com>
323 lines
21 KiB
HTML
323 lines
21 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.13"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>Memory Management</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="resize.js"></script>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(initResizable);
|
|
</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! -->
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.13 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</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');
|
|
$(document).ready(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">
|
|
$(document).ready(function(){initNavTree('group__memory__management.html','');});
|
|
</script>
|
|
<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">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#nested-classes">Data Structures</a> |
|
|
<a href="#typedef-members">Typedefs</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">Memory Management</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<p>This section describes functions to allocate memory and to retrieve status information from memory pools. </p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
|
Data Structures</h2></td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structvm__mem__stat__t.html">vm_mem_stat_t</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
|
Typedefs</h2></td></tr>
|
|
<tr class="memitem:gac18b4f45a9dae42944f9d644636c96f9"><td class="memItemLeft" align="right" valign="top">typedef P4_uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__memory__management.html#gac18b4f45a9dae42944f9d644636c96f9">vm_mem_desc_t</a></td></tr>
|
|
<tr class="separator:gac18b4f45a9dae42944f9d644636c96f9"><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:ga2b7f59fad51a4ba666621486103c4f55"><td class="memItemLeft" align="right" valign="top">P4_e_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__memory__management.html#ga2b7f59fad51a4ba666621486103c4f55">vm_mem_lookup</a> (<a class="el" href="group__partition__management.html#gaa1d33969ece09c012517ce3f11f83649">vm_part_id_t</a> part_id, const char *name, <a class="el" href="group__memory__management.html#gac18b4f45a9dae42944f9d644636c96f9">vm_mem_desc_t</a> *mh_p)</td></tr>
|
|
<tr class="memdesc:ga2b7f59fad51a4ba666621486103c4f55"><td class="mdescLeft"> </td><td class="mdescRight">Retrieve the memory descriptor for a given name. <a href="#ga2b7f59fad51a4ba666621486103c4f55">More...</a><br /></td></tr>
|
|
<tr class="separator:ga2b7f59fad51a4ba666621486103c4f55"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga8965018bd985ca112893f47ca635f37c"><td class="memItemLeft" align="right" valign="top">P4_e_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__memory__management.html#ga8965018bd985ca112893f47ca635f37c">vm_mem_pool_alloc</a> (<a class="el" href="group__memory__management.html#gac18b4f45a9dae42944f9d644636c96f9">vm_mem_desc_t</a> mh, P4_size_t size, P4_address_t vaddr)</td></tr>
|
|
<tr class="memdesc:ga8965018bd985ca112893f47ca635f37c"><td class="mdescLeft"> </td><td class="mdescRight">Allocate memory from a partition's memory pool. <a href="#ga8965018bd985ca112893f47ca635f37c">More...</a><br /></td></tr>
|
|
<tr class="separator:ga8965018bd985ca112893f47ca635f37c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6fdfb44cf28d50201e27a1afceeac266"><td class="memItemLeft" align="right" valign="top">P4_e_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__memory__management.html#ga6fdfb44cf28d50201e27a1afceeac266">vm_mem_stat</a> (<a class="el" href="group__partition__management.html#gaa1d33969ece09c012517ce3f11f83649">vm_part_id_t</a> part_id, <a class="el" href="group__memory__management.html#gac18b4f45a9dae42944f9d644636c96f9">vm_mem_desc_t</a> mh, <a class="el" href="structvm__mem__stat__t.html">vm_mem_stat_t</a> *pstat)</td></tr>
|
|
<tr class="memdesc:ga6fdfb44cf28d50201e27a1afceeac266"><td class="mdescLeft"> </td><td class="mdescRight">Retrieve status information about a memory object. <a href="#ga6fdfb44cf28d50201e27a1afceeac266">More...</a><br /></td></tr>
|
|
<tr class="separator:ga6fdfb44cf28d50201e27a1afceeac266"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Typedef Documentation</h2>
|
|
<a id="gac18b4f45a9dae42944f9d644636c96f9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gac18b4f45a9dae42944f9d644636c96f9">◆ </a></span>vm_mem_desc_t</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef P4_uint32_t <a class="el" href="group__memory__management.html#gac18b4f45a9dae42944f9d644636c96f9">vm_mem_desc_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Memory descriptor </p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a id="ga2b7f59fad51a4ba666621486103c4f55"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga2b7f59fad51a4ba666621486103c4f55">◆ </a></span>vm_mem_lookup()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">P4_e_t vm_mem_lookup </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__partition__management.html#gaa1d33969ece09c012517ce3f11f83649">vm_part_id_t</a> </td>
|
|
<td class="paramname"><em>part_id</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>name</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__memory__management.html#gac18b4f45a9dae42944f9d644636c96f9">vm_mem_desc_t</a> * </td>
|
|
<td class="paramname"><em>mh_p</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Retrieve the memory descriptor for a given name. </p>
|
|
<p>A successful call to this function returns the memory descriptor corresponding to the name given by <em>name</em> in the resource partition identified by <em>part_id</em>.</p>
|
|
<p>The memory descriptor returned by this function into <code>*mh_p</code> can be used as a handle to <a class="el" href="group__memory__management.html#ga6fdfb44cf28d50201e27a1afceeac266" title="Retrieve status information about a memory object. ">vm_mem_stat()</a>. Memory descriptors are local to each partition, so only a pair of partition id and memory descriptor uniquely identifies a memory requirement in the system. The descriptor can be also used in calls to <a class="el" href="group__memory__management.html#ga8965018bd985ca112893f47ca635f37c" title="Allocate memory from a partition's memory pool. ">vm_mem_pool_alloc()</a> if the memory requirement is specified in the VMIT with the flag <b>IsPool</b> set to <b>true</b>.</p>
|
|
<p>For looking up memory requirements in other partitions than the caller's, the caller partition must have the VM_AB_MONITOR ability.</p>
|
|
<p>This function has undefined behavior before <a class="el" href="group__initialization.html#ga1700b78fbc2632387ff7f166ff98af3d" title="Initialize PSSW services. ">vm_init()</a> is invoked.</p>
|
|
<p>If <code>mh_p</code> is NULL, this function has undefined behavior.</p>
|
|
<p>If this function returns anything but P4_E_OK, the contents of <code>mh_p</code> are unspecified.</p>
|
|
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
|
|
<dl class="retval"><dt>Return values</dt><dd>
|
|
<table class="retval">
|
|
<tr><td class="paramname">P4_E_OK</td><td>upon success</td></tr>
|
|
<tr><td class="paramname">P4_E_INVAL</td><td>if <em>name</em> is not a valid PSSW name or if <em>part_id</em> refers to an invalid partition.</td></tr>
|
|
<tr><td class="paramname">P4_E_NOABILITY</td><td>if the calling partition does not the ability VM_AB_MONITOR and <em>part_id</em> refers to another partition than the caller's partition</td></tr>
|
|
<tr><td class="paramname">P4_E_NOENT</td><td>if no memory pool with the given name exists in the given partition.</td></tr>
|
|
<tr><td class="paramname">P4_E_ABORT</td><td>if the call was aborted.</td></tr>
|
|
<tr><td class="paramname">P4_E_CANCEL</td><td>if the call was canceled.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section pre"><dt>Precondition</dt><dd><a class="el" href="group__initialization.html#ga1700b78fbc2632387ff7f166ff98af3d" title="Initialize PSSW services. ">vm_init()</a> must have been called at least once by the caller's task.</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__initialization.html#ga1700b78fbc2632387ff7f166ff98af3d" title="Initialize PSSW services. ">vm_init()</a>, <a class="el" href="group__memory__management.html#ga8965018bd985ca112893f47ca635f37c" title="Allocate memory from a partition's memory pool. ">vm_mem_pool_alloc()</a>, and <a class="el" href="group__memory__management.html#ga6fdfb44cf28d50201e27a1afceeac266" title="Retrieve status information about a memory object. ">vm_mem_stat()</a> </dd></dl>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">part_id</td><td>IN: Partition ID <br />
|
|
VM_RESPART_MYSELF may be used to refer to the caller's partition. </td></tr>
|
|
<tr><td class="paramname">name</td><td>IN: Name of the memory pool as given in the VMIT </td></tr>
|
|
<tr><td class="paramname">mh_p</td><td>OUT: Memory pool descriptor. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga8965018bd985ca112893f47ca635f37c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga8965018bd985ca112893f47ca635f37c">◆ </a></span>vm_mem_pool_alloc()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">P4_e_t vm_mem_pool_alloc </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__memory__management.html#gac18b4f45a9dae42944f9d644636c96f9">vm_mem_desc_t</a> </td>
|
|
<td class="paramname"><em>mh</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">P4_size_t </td>
|
|
<td class="paramname"><em>size</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">P4_address_t </td>
|
|
<td class="paramname"><em>vaddr</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Allocate memory from a partition's memory pool. </p>
|
|
<p>A successful call to this function allocates <em>size</em> bytes from the memory pool given by <em>mh</em> and maps it to the virtual address given by <em>vaddr</em> in the caller's address space.</p>
|
|
<p>If the memory pool contains physically contiguous memory, the allocated memory is also contiguous. Two consecutive calls however are not guaranteed to return physically adjoining segments.</p>
|
|
<p>This function can only be used to reference memory pools in the caller's resource partition, therefore, the function has no parameter for a partition ID.</p>
|
|
<p>This function has undefined behavior before <a class="el" href="group__initialization.html#ga1700b78fbc2632387ff7f166ff98af3d" title="Initialize PSSW services. ">vm_init()</a> is invoked.</p>
|
|
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
|
|
<dl class="retval"><dt>Return values</dt><dd>
|
|
<table class="retval">
|
|
<tr><td class="paramname">P4_E_OK</td><td>upon success</td></tr>
|
|
<tr><td class="paramname">P4_E_INVAL</td><td>is returned if - <em>size</em> if zero. - either <em>size</em> or <em>vaddr</em> is not a multiple of P4_PAGESIZE - parts of the virtual address space in the range [<em>vaddr</em> : <em>vaddr</em> + <em>size</em> - 1] are outside of the valid user address space. It is also returned if <code>mh</code> does not refer to a memory pool of the caller's resource partition.</td></tr>
|
|
<tr><td class="paramname">P4_E_OVERMAP</td><td>if parts of the virtual address space in the range [<em>vaddr</em> : <em>vaddr</em> <ul>
|
|
<li><em>size</em> - 1] are already mapped</li>
|
|
</ul>
|
|
</td></tr>
|
|
<tr><td class="paramname">P4_E_OOMEM</td><td>if there are less than <em>size</em> bytes left in the pool.</td></tr>
|
|
<tr><td class="paramname">P4_E_NOKMEM</td><td>if the calling partition has not enough kernel pages left to install the mapping.</td></tr>
|
|
<tr><td class="paramname">P4_E_ABORT</td><td>if the call was aborted.</td></tr>
|
|
<tr><td class="paramname">P4_E_CANCEL</td><td>if the call was canceled.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section pre"><dt>Precondition</dt><dd><a class="el" href="group__initialization.html#ga1700b78fbc2632387ff7f166ff98af3d" title="Initialize PSSW services. ">vm_init()</a> must have been called at least once by the caller's task.</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__initialization.html#ga1700b78fbc2632387ff7f166ff98af3d" title="Initialize PSSW services. ">vm_init()</a>, <a class="el" href="group__memory__management.html#ga2b7f59fad51a4ba666621486103c4f55" title="Retrieve the memory descriptor for a given name. ">vm_mem_lookup()</a>, <a class="el" href="group__memory__management.html#ga6fdfb44cf28d50201e27a1afceeac266" title="Retrieve status information about a memory object. ">vm_mem_stat()</a> </dd></dl>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">mh</td><td>IN: Memory pool descriptor </td></tr>
|
|
<tr><td class="paramname">size</td><td>IN: Number of bytes to allocate, where size must be a multiple of P4_PAGESIZE </td></tr>
|
|
<tr><td class="paramname">vaddr</td><td>IN: Virtual address where the memory shall be mapped to </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga6fdfb44cf28d50201e27a1afceeac266"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga6fdfb44cf28d50201e27a1afceeac266">◆ </a></span>vm_mem_stat()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">P4_e_t vm_mem_stat </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__partition__management.html#gaa1d33969ece09c012517ce3f11f83649">vm_part_id_t</a> </td>
|
|
<td class="paramname"><em>part_id</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__memory__management.html#gac18b4f45a9dae42944f9d644636c96f9">vm_mem_desc_t</a> </td>
|
|
<td class="paramname"><em>mh</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="structvm__mem__stat__t.html">vm_mem_stat_t</a> * </td>
|
|
<td class="paramname"><em>pstat</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Retrieve status information about a memory object. </p>
|
|
<p>A successful call to this function returns the status of the memory requirement given by <code>mh</code> of the partition given by <em>part_id</em> in the data structure referenced by <em>status</em>.</p>
|
|
<p>Refer to the description of the data structure <em><a class="el" href="structvm__mem__stat__t.html">vm_mem_stat_t</a></em> for a detailed description of the memory status.</p>
|
|
<p>This function has undefined behavior before <a class="el" href="group__initialization.html#ga1700b78fbc2632387ff7f166ff98af3d" title="Initialize PSSW services. ">vm_init()</a> is invoked.</p>
|
|
<p>If <code>pstat</code> is NULL, this function has undefined behavior.</p>
|
|
<p>If this function returns anything but P4_E_OK, the contents of <code>pstat</code> are unspecified.</p>
|
|
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
|
|
<dl class="retval"><dt>Return values</dt><dd>
|
|
<table class="retval">
|
|
<tr><td class="paramname">P4_E_OK</td><td>upon success</td></tr>
|
|
<tr><td class="paramname">P4_E_NOABILITY</td><td>if the calling partition does not the ability VM_AB_MONITOR and <em>part_id</em> refers to another partition than the caller's partition</td></tr>
|
|
<tr><td class="paramname">P4_E_INVAL</td><td>if <code>mh</code> does not refer to a valid memory object of the partition <em>part_id</em> or if <em>part_id</em> refers to an invalid partition</td></tr>
|
|
<tr><td class="paramname">P4_E_ABORT</td><td>if the call was aborted.</td></tr>
|
|
<tr><td class="paramname">P4_E_CANCEL</td><td>if the call was canceled.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section pre"><dt>Precondition</dt><dd><a class="el" href="group__initialization.html#ga1700b78fbc2632387ff7f166ff98af3d" title="Initialize PSSW services. ">vm_init()</a> must have been called at least once by the caller's task.</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__initialization.html#ga1700b78fbc2632387ff7f166ff98af3d" title="Initialize PSSW services. ">vm_init()</a>, <a class="el" href="group__memory__management.html#ga8965018bd985ca112893f47ca635f37c" title="Allocate memory from a partition's memory pool. ">vm_mem_pool_alloc()</a>, <a class="el" href="group__memory__management.html#ga2b7f59fad51a4ba666621486103c4f55" title="Retrieve the memory descriptor for a given name. ">vm_mem_lookup()</a>, and <a class="el" href="structvm__mem__stat__t.html">vm_mem_stat_t</a> </dd></dl>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">part_id</td><td>IN: Partition ID <br />
|
|
VM_RESPART_MYSELF may be used to refer to the caller's partition. </td></tr>
|
|
<tr><td class="paramname">mh</td><td>IN: Memory pool descriptor </td></tr>
|
|
<tr><td class="paramname">pstat</td><td>OUT: Memory pool status </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="footer">(C) Copyright SYSGO AG</li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|