Newer
Older
ubix2 / doc / html / copyvirtualspace_8c.html
@reddawg reddawg on 5 Dec 2006 6 KB More syscalls implimented
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>UbixOS V2: src/sys/vmm/copyvirtualspace.c File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
  <ul>
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="dirs.html"><span>Directories</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>Globals</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="dir_897b6a2d7bab147dd1db58381aad3984.html">src</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_832905b1f7f5feaf61a306b40c0ac817.html">sys</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_b87deefade4e886319aa926bd3ba1491.html">vmm</a></div>
<h1>copyvirtualspace.c File Reference</h1><code>#include &lt;<a class="el" href="vmm_8h-source.html">vmm/vmm.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="kern__sysctl_8h-source.html">sys/kern_sysctl.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="spinlock_8h-source.html">ubixos/spinlock.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="kpanic_8h-source.html">ubixos/kpanic.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="string_8h-source.html">string.h</a>&gt;</code><br>

<p>
<a href="copyvirtualspace_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="copyvirtualspace_8c.html#2d305244a54b4bb8c56698eca1b4c82c">vmmCopyVirtualSpace</a> (<a class="el" href="include_2ubixos_2types_8h.html#e438ba74394b14d7b24b6df3b3b8c252">pidType</a> pid)</td></tr>

<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="spinlock_8h.html#a240e9404b4ede1e0d714610080d1176">spinLock_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="copyvirtualspace_8c.html#d0e5c4817eb928f6db5f6b89bb96d997">cvsSpinLock</a> = SPIN_LOCK_INITIALIZER</td></tr>

</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="2d305244a54b4bb8c56698eca1b4c82c"></a><!-- doxytag: member="copyvirtualspace.c::vmmCopyVirtualSpace" ref="2d305244a54b4bb8c56698eca1b4c82c" args="(pidType pid)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* vmmCopyVirtualSpace           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="include_2ubixos_2types_8h.html#e438ba74394b14d7b24b6df3b3b8c252">pidType</a>&nbsp;</td>
          <td class="paramname"> <em>pid</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="copyvirtualspace_8c-source.html#l00053">53</a> of file <a class="el" href="copyvirtualspace_8c-source.html">copyvirtualspace.c</a>.
<p>
References <a class="el" href="vmm__memory_8c-source.html#l00266">adjustCowCounter()</a>, <a class="el" href="copyvirtualspace_8c-source.html#l00036">cvsSpinLock</a>, <a class="el" href="kpanic_8c-source.html#l00044">kpanic()</a>, <a class="el" href="memset_8c-source.html#l00037">memset()</a>, <a class="el" href="paging_8h-source.html#l00046">PAGE_COW</a>, <a class="el" href="paging_8h-source.html#l00052">PAGE_DEFAULT</a>, <a class="el" href="paging_8h-source.html#l00047">PAGE_STACK</a>, <a class="el" href="paging_8h-source.html#l00042">pageEntries</a>, <a class="el" href="paging_8h-source.html#l00044">parentPageDirAddr</a>, <a class="el" href="spinlock_8c-source.html#l00056">spinLock()</a>, <a class="el" href="spinlock_8c-source.html#l00037">spinUnlock()</a>, <a class="el" href="paging_8h-source.html#l00043">tablesBaseAddress</a>, <a class="el" href="getphysicaladdr_8c-source.html#l00040">vmm_getPhysicalAddr()</a>, <a class="el" href="paging_8c-source.html#l00253">vmmGetFreeKernelPage()</a>, <a class="el" href="unmappage_8c-source.html#l00050">vmmUnmapPage()</a>, <a class="el" href="ap-boot_8S-source.html#l00006">x1</a>, and <a class="el" href="ap-boot_8S-source.html#l00052">x1000</a>.
<p>
Referenced by <a class="el" href="fork_8c-source.html#l00050">fork_copyProcess()</a>.
</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="d0e5c4817eb928f6db5f6b89bb96d997"></a><!-- doxytag: member="copyvirtualspace.c::cvsSpinLock" ref="d0e5c4817eb928f6db5f6b89bb96d997" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="spinlock_8h.html#a240e9404b4ede1e0d714610080d1176">spinLock_t</a> <a class="el" href="copyvirtualspace_8c.html#d0e5c4817eb928f6db5f6b89bb96d997">cvsSpinLock</a> = SPIN_LOCK_INITIALIZER<code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="copyvirtualspace_8c-source.html#l00036">36</a> of file <a class="el" href="copyvirtualspace_8c-source.html">copyvirtualspace.c</a>.
<p>
Referenced by <a class="el" href="copyvirtualspace_8c-source.html#l00053">vmmCopyVirtualSpace()</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>