Newer
Older
UbixOS / doc / html / d6 / de9 / copyvirtualspace_8c.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.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>UbixOS: vmm/copyvirtualspace.c 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="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</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">UbixOS
   &#160;<span id="projectnumber">2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<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&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('../../',false,false,'search.php','Search');
});
/* @license-end */</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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('d6/de9/copyvirtualspace_8c.html','../../');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">copyvirtualspace.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="../../d1/d21/vmm_8h_source.html">vmm/vmm.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="../../d4/df4/paging_8h_source.html">vmm/paging.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="../../d7/d40/kern__sysctl_8h_source.html">sys/kern_sysctl.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="../../df/d63/spinlock_8h_source.html">ubixos/spinlock.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="../../d3/d24/kpanic_8h_source.html">ubixos/kpanic.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="../../da/d66/string_8h_source.html">string.h</a>&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for copyvirtualspace.c:</div>
<div class="dyncontent">
<div class="center"><img src="../../d4/d73/copyvirtualspace_8c__incl.png" border="0" usemap="#vmm_2copyvirtualspace_8c" alt=""/></div>
<map name="vmm_2copyvirtualspace_8c" id="vmm_2copyvirtualspace_8c">
<area shape="rect" title=" " alt="" coords="956,5,1116,32"/>
<area shape="rect" href="../../d1/d21/vmm_8h.html" title=" " alt="" coords="950,80,1040,107"/>
<area shape="rect" href="../../d4/df4/paging_8h.html" title=" " alt="" coords="868,155,970,181"/>
<area shape="rect" href="../../d7/d40/kern__sysctl_8h.html" title=" " alt="" coords="718,155,843,181"/>
<area shape="rect" href="../../df/d63/spinlock_8h.html" title=" " alt="" coords="1052,229,1175,256"/>
<area shape="rect" href="../../d3/d24/kpanic_8h.html" title=" " alt="" coords="1116,80,1229,107"/>
<area shape="rect" href="../../da/d66/string_8h.html" title=" " alt="" coords="1160,453,1225,480"/>
<area shape="rect" href="../../d0/d27/include_2sys_2types_8h.html" title=" " alt="" coords="762,603,852,629"/>
<area shape="rect" href="../../d0/d6f/__types_8h.html" title=" " alt="" coords="878,827,976,853"/>
<area shape="rect" href="../../d9/dab/select_8h.html" title=" " alt="" coords="760,677,854,704"/>
<area shape="rect" href="../../d6/d92/cdefs_8h.html" title=" " alt="" coords="884,752,973,779"/>
<area shape="rect" href="../../d6/d30/__timespec_8h.html" title=" " alt="" coords="612,752,730,779"/>
<area shape="rect" href="../../df/dc5/__timeval_8h.html" title=" " alt="" coords="754,752,860,779"/>
<area shape="rect" href="../../d6/da4/__sigset_8h.html" title=" " alt="" coords="997,752,1097,779"/>
<area shape="rect" href="../../d3/d7e/sysproto__posix_8h.html" title=" " alt="" coords="652,229,799,256"/>
<area shape="rect" href="../../db/dd5/thread_8h.html" title=" " alt="" coords="776,379,870,405"/>
<area shape="rect" href="../../df/d92/sys_2signal_8h.html" title=" " alt="" coords="680,453,772,480"/>
<area shape="rect" href="../../d6/db4/include_2vfs_2file_8h.html" title=" " alt="" coords="526,304,594,331"/>
<area shape="rect" href="../../d7/d0b/trap_8h.html" title=" " alt="" coords="847,453,927,480"/>
<area shape="rect" href="../../d8/d01/resource_8h.html" title=" " alt="" coords="1189,603,1297,629"/>
<area shape="rect" href="../../d6/d35/i386_2cpu_8h.html" title=" " alt="" coords="844,528,927,555"/>
<area shape="rect" href="../../d1/de9/dirCache_8h.html" title=" " alt="" coords="80,528,203,555"/>
<area shape="rect" href="../../d3/d73/inode_8h.html" title=" " alt="" coords="315,379,398,405"/>
<area shape="rect" href="../../df/d42/ufs_8h.html" title=" " alt="" coords="444,453,514,480"/>
<area shape="rect" href="../../d2/d29/mount_8h.html" title=" " alt="" coords="516,379,604,405"/>
<area shape="rect" href="../../d1/df2/wait_8h.html" title=" " alt="" coords="152,453,251,480"/>
<area shape="rect" href="../../d1/d7d/pipe__fs_8h.html" title=" " alt="" coords="275,453,363,480"/>
<area shape="rect" href="../../d8/dff/msdos__fs_8h.html" title=" " alt="" coords="25,453,128,480"/>
<area shape="rect" href="../../d4/d7e/include_2sys_2device_8h.html" title=" " alt="" coords="432,528,526,555"/>
<area shape="rect" href="../../d6/d90/strings_8h.html" title=" " alt="" coords="1103,528,1175,555"/>
</map>
</div>
</div>
<p><a href="../../d6/de9/copyvirtualspace_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a1b3ea1ab52e7a30c2d92c6a8124c24b9"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/de9/copyvirtualspace_8c.html#a1b3ea1ab52e7a30c2d92c6a8124c24b9">vmm_copyVirtualSpace</a> (<a class="el" href="../../d0/d27/include_2sys_2types_8h.html#ae438ba74394b14d7b24b6df3b3b8c252">pidType</a> pid)</td></tr>
<tr class="separator:a1b3ea1ab52e7a30c2d92c6a8124c24b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a1b3ea1ab52e7a30c2d92c6a8124c24b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b3ea1ab52e7a30c2d92c6a8124c24b9">&#9670;&nbsp;</a></span>vmm_copyVirtualSpace()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* vmm_copyVirtualSpace </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d0/d27/include_2sys_2types_8h.html#ae438ba74394b14d7b24b6df3b3b8c252">pidType</a>&#160;</td>
          <td class="paramname"><em>pid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d6/de9/copyvirtualspace_8c_source.html#l00051">51</a> of file <a class="el" href="../../d6/de9/copyvirtualspace_8c_source.html">copyvirtualspace.c</a>.</p>

<p class="reference">References <a class="el" href="../../dc/d88/armv6_2spinlock_8c_source.html#l00055">spinLock()</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d9/d48/i386_2fork_8c_source.html#l00144">fork_copyProcess()</a>, and <a class="el" href="../../d9/d48/i386_2fork_8c_source.html#l00040">sys_fork()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d6/de9/copyvirtualspace_8c_a1b3ea1ab52e7a30c2d92c6a8124c24b9_cgraph.png" border="0" usemap="#d6/de9/copyvirtualspace_8c_a1b3ea1ab52e7a30c2d92c6a8124c24b9_cgraph" alt=""/></div>
<map name="d6/de9/copyvirtualspace_8c_a1b3ea1ab52e7a30c2d92c6a8124c24b9_cgraph" id="d6/de9/copyvirtualspace_8c_a1b3ea1ab52e7a30c2d92c6a8124c24b9_cgraph">
<area shape="rect" title=" " alt="" coords="5,31,164,57"/>
<area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="212,31,287,57"/>
<area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="335,5,426,32"/>
<area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="335,56,427,83"/>
</map>
</div>

</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="navelem"><a class="el" href="../../dir_012355b06a8b45aa7d4e022ccb130db3.html">vmm</a></li><li class="navelem"><a class="el" href="../../d6/de9/copyvirtualspace_8c.html">copyvirtualspace.c</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.16 </li>
  </ul>
</div>
</body>
</html>