Newer
Older
UbixOS / doc / html / paging_8c.html
<!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/paging.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="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>paging.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="kprintf_8h-source.html">lib/kprintf.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="kmalloc_8h-source.html">lib/kmalloc.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="types_8h-source.html">ubixos/types.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="sched_8h-source.html">ubixos/sched.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="string_8h-source.html">string.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="assert_8h-source.html">assert.h</a>&gt;</code><br>

<p>
Include dependency graph for paging.c:<p><center><img src="paging_8c__incl.png" border="0" usemap="#src/sys/vmm/paging.c_map" alt=""></center>
<map name="src/sys/vmm/paging.c_map">
<area href="vmm_8h.html" shape="rect" coords="235,151,341,178" alt="">
<area href="types_8h.html" shape="rect" coords="743,284,863,311" alt="">
<area href="kprintf_8h.html" shape="rect" coords="420,220,519,247" alt="">
<area href="kmalloc_8h.html" shape="rect" coords="416,360,523,387" alt="">
<area href="kpanic_8h.html" shape="rect" coords="224,512,352,539" alt="">
<area href="sched_8h.html" shape="rect" coords="408,310,531,336" alt="">
<area href="spinlock_8h.html" shape="rect" coords="400,462,539,488" alt="">
<area href="string_8h.html" shape="rect" coords="252,462,324,488" alt="">
<area href="assert_8h.html" shape="rect" coords="251,563,325,590" alt="">
<area href="paging_8h.html" shape="rect" coords="409,151,529,178" alt="">
<area href="thread_8h.html" shape="rect" coords="588,158,692,184" alt="">
<area href="tty_8h.html" shape="rect" coords="591,310,689,336" alt="">
<area href="file_8h.html" shape="rect" coords="600,360,680,387" alt="">
<area href="tss_8h.html" shape="rect" coords="600,411,680,438" alt="">
</map>

<p>
<a href="paging_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">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="paging_8c.html#b3070a217a42db69cd94b6217f0b361a">mmap</a> (struct <a class="el" href="structthread.html">thread</a> *td, struct <a class="el" href="structmmap__args.html">mmap_args</a> *uap)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="paging_8c.html#2ef18727032511b619759847d8c21720">munmap</a> (struct <a class="el" href="structthread.html">thread</a> *td, struct <a class="el" href="structmunmap__args.html">munmap_args</a> *uap)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="paging_8c.html#6cdf3466734f2da5e258c9844d536295">obreak</a> (struct <a class="el" href="structthread.html">thread</a> *td, struct <a class="el" href="structobreak__args.html">obreak_args</a> *uap)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="paging_8c.html#0444c8635648fabdbd6e702137aa1723">vmm_cleanVirtualSpace</a> (<a class="el" href="types_8h.html#ba29fd78d95cce0ecb249c24b58d07da">u_int32_t</a> addr)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="paging_8c.html#541f0b43826a40b9e978f5479080bb0e">vmm_getFreeMallocPage</a> (<a class="el" href="types_8h.html#3b65128d2644e9b80cec9a69bfa7e094">uInt16</a> count)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="paging_8c.html#f47a45e3f0802f5aac053808127aaaf1">vmm_pagingInit</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="paging_8c.html#f055cfbfef9c5d8dd82aa83829a06117">vmm_remapPage</a> (<a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a> source, <a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a> dest, <a class="el" href="types_8h.html#3b65128d2644e9b80cec9a69bfa7e094">uInt16</a> perms)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="paging_8c.html#230a160ddb717c5a133e55aa42e9d324">vmmClearVirtualPage</a> (<a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a> pageAddr)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="paging_8c.html#30a38035243b9dfb285b3793788126be">vmmGetFreeKernelPage</a> (<a class="el" href="types_8h.html#e438ba74394b14d7b24b6df3b3b8c252">pidType</a> pid, <a class="el" href="types_8h.html#3b65128d2644e9b80cec9a69bfa7e094">uInt16</a> count)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="paging_8c.html#5eb37b88b24489f7256232eec46de565">vmmMapFromTask</a> (<a class="el" href="types_8h.html#e438ba74394b14d7b24b6df3b3b8c252">pidType</a> pid, void *ptr, <a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a> size)</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="paging_8c.html#fe74a297627a1834d20925533b77c3d8">fkpSpinLock</a> = SPIN_LOCK_INITIALIZER</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="paging_8c.html#4e81de2626825c90dc6bb3cd7c8b344c">kernelPageDirectory</a> = 0x0</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="paging_8c.html#79ee934bb85cf9e184c2ad54b707f9db">rmpSpinLock</a> = SPIN_LOCK_INITIALIZER</td></tr>

</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="b3070a217a42db69cd94b6217f0b361a"></a><!-- doxytag: member="paging.c::mmap" ref="b3070a217a42db69cd94b6217f0b361a" args="(struct thread *td, struct mmap_args *uap)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int mmap           </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structthread.html">thread</a> *&nbsp;</td>
          <td class="paramname"> <em>td</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structmmap__args.html">mmap_args</a> *&nbsp;</td>
          <td class="paramname"> <em>uap</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="paging_8c-source.html#l00453">453</a> of file <a class="el" href="paging_8c-source.html">paging.c</a>.
<p>
References <a class="el" href="sched_8c-source.html#l00051">_current</a>, <a class="el" href="sysproto_8h-source.html#l00113">mmap_args::addr</a>, <a class="el" href="sysproto_8h-source.html#l00117">mmap_args::fd</a>, <a class="el" href="sysproto_8h-source.html#l00116">mmap_args::flags</a>, <a class="el" href="sched_8h-source.html#l00055">taskStruct::id</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, <a class="el" href="sysproto_8h-source.html#l00114">mmap_args::len</a>, <a class="el" href="sysproto_8h-source.html#l00118">mmap_args::pad</a>, <a class="el" href="sysproto_8h-source.html#l00119">mmap_args::pos</a>, <a class="el" href="sysproto_8h-source.html#l00115">mmap_args::prot</a>, <a class="el" href="thread_8h-source.html#l00038">thread::td_retval</a>, <a class="el" href="paging_8h-source.html#l00038">VM_TASK</a>, <a class="el" href="getfreevirtualpage_8c-source.html#l00047">vmmGetFreeVirtualPage()</a>, and <a class="el" href="ap-boot_8S-source.html#l00052">x1000</a>.
<p>
Here is the call graph for this function:<p><center><img src="paging_8c_b3070a217a42db69cd94b6217f0b361a_cgraph.png" border="0" usemap="#paging_8c_b3070a217a42db69cd94b6217f0b361a_cgraph_map" alt=""></center>
<map name="paging_8c_b3070a217a42db69cd94b6217f0b361a_cgraph_map">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="927,107,993,133" alt="">
<area href="paging_8h.html#4b324672c4b25064eb8db1e3419337b1" shape="rect" coords="121,183,305,209" alt="">
<area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="780,208,847,235" alt="">
<area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="773,385,853,412" alt="">
<area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="765,284,861,311" alt="">
<area href="paging_8h.html#a05f8d8947fb5bcec87fc6661f83243e" shape="rect" coords="369,309,508,336" alt="">
<area href="vmm_8h.html#976cf3919bf7c77c868021ec9374593b" shape="rect" coords="572,259,716,285" alt="">
<area href="paging_8h.html#230a160ddb717c5a133e55aa42e9d324" shape="rect" coords="355,107,523,133" alt="">
<area href="8259_8h.html#2b9ec30943ddb0a2ef3bd7ccfd2026c0" shape="rect" coords="915,183,1005,209" alt="">
<area href="stdarg_8h.html#621577c2df0ad5faa281223c56eeb7a5" shape="rect" coords="924,233,996,260" alt="">
<area href="sched_8h.html#08933fe6d593a1c78b9080359f15a0b7" shape="rect" coords="909,360,1011,387" alt="">
<area href="spinlock_8h.html#8f9173fadeddafa01754d6cbcc630198" shape="rect" coords="911,411,1009,437" alt="">
<area href="vmm_8h.html#e90be267d851fed04d4d9b1c6c10454a" shape="rect" coords="604,360,684,387" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="2ef18727032511b619759847d8c21720"></a><!-- doxytag: member="paging.c::munmap" ref="2ef18727032511b619759847d8c21720" args="(struct thread *td, struct munmap_args *uap)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int munmap           </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structthread.html">thread</a> *&nbsp;</td>
          <td class="paramname"> <em>td</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structmunmap__args.html">munmap_args</a> *&nbsp;</td>
          <td class="paramname"> <em>uap</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="paging_8c-source.html#l00516">516</a> of file <a class="el" href="paging_8c-source.html">paging.c</a>.
<p>
References <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>.
<p>
Here is the call graph for this function:<p><center><img src="paging_8c_2ef18727032511b619759847d8c21720_cgraph.png" border="0" usemap="#paging_8c_2ef18727032511b619759847d8c21720_cgraph_map" alt=""></center>
<map name="paging_8c_2ef18727032511b619759847d8c21720_cgraph_map">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="136,5,203,32" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="6cdf3466734f2da5e258c9844d536295"></a><!-- doxytag: member="paging.c::obreak" ref="6cdf3466734f2da5e258c9844d536295" args="(struct thread *td, struct obreak_args *uap)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int obreak           </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structthread.html">thread</a> *&nbsp;</td>
          <td class="paramname"> <em>td</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structobreak__args.html">obreak_args</a> *&nbsp;</td>
          <td class="paramname"> <em>uap</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="paging_8c-source.html#l00478">478</a> of file <a class="el" href="paging_8c-source.html">paging.c</a>.
<p>
References <a class="el" href="sched_8c-source.html#l00051">_current</a>, <a class="el" href="paging_8h-source.html#l00062">btoc</a>, <a class="el" href="paging_8h-source.html#l00061">ctob</a>, <a class="el" href="sched_8h-source.html#l00055">taskStruct::id</a>, <a class="el" href="kpanic_8h-source.html#l00033">K_PANIC</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, <a class="el" href="sysproto_8h-source.html#l00123">obreak_args::nsize</a>, <a class="el" href="paging_8h-source.html#l00052">PAGE_DEFAULT</a>, <a class="el" href="paging_8h-source.html#l00060">round_page</a>, <a class="el" href="thread_8h-source.html#l00040">thread::vm_daddr</a>, <a class="el" href="thread_8h-source.html#l00041">thread::vm_dsize</a>, <a class="el" href="paging_8c-source.html#l00160">vmm_remapPage()</a>, and <a class="el" href="vmm__memory_8c-source.html#l00186">vmmFindFreePage()</a>.
<p>
Here is the call graph for this function:<p><center><img src="paging_8c_6cdf3466734f2da5e258c9844d536295_cgraph.png" border="0" usemap="#paging_8c_6cdf3466734f2da5e258c9844d536295_cgraph_map" alt=""></center>
<map name="paging_8c_6cdf3466734f2da5e258c9844d536295_cgraph_map">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="713,56,780,83" alt="">
<area href="paging_8h.html#a05f8d8947fb5bcec87fc6661f83243e" shape="rect" coords="123,208,261,235" alt="">
<area href="vmm_8h.html#976cf3919bf7c77c868021ec9374593b" shape="rect" coords="311,157,455,184" alt="">
<area href="vmm_8h.html#e90be267d851fed04d4d9b1c6c10454a" shape="rect" coords="343,309,423,336" alt="">
<area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="707,385,787,412" alt="">
<area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="699,233,795,260" alt="">
<area href="vmm_8h.html#362d462b3a1e19b5e0ef95e1839dbf11" shape="rect" coords="504,360,651,387" alt="">
<area href="sched_8h.html#08933fe6d593a1c78b9080359f15a0b7" shape="rect" coords="843,360,944,387" alt="">
<area href="spinlock_8h.html#8f9173fadeddafa01754d6cbcc630198" shape="rect" coords="844,411,943,437" alt="">
<area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="544,107,611,133" alt="">
<area href="8259_8h.html#2b9ec30943ddb0a2ef3bd7ccfd2026c0" shape="rect" coords="701,107,792,133" alt="">
<area href="stdarg_8h.html#621577c2df0ad5faa281223c56eeb7a5" shape="rect" coords="711,157,783,184" alt="">
<area href="vsprintf_8c.html#c2f4c669c6f6aa6caa5ab8adb1b07dd0" shape="rect" coords="856,132,931,159" alt="">
<area href="vsprintf_8c.html#3fa7c8ef8597579301cb4b5c59bc6d9a" shape="rect" coords="853,183,933,209" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="0444c8635648fabdbd6e702137aa1723"></a><!-- doxytag: member="paging.c::vmm_cleanVirtualSpace" ref="0444c8635648fabdbd6e702137aa1723" args="(u_int32_t addr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vmm_cleanVirtualSpace           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="types_8h.html#ba29fd78d95cce0ecb249c24b58d07da">u_int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>addr</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="paging_8c-source.html#l00522">522</a> of file <a class="el" href="paging_8c-source.html">paging.c</a>.
<p>
References <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, <a class="el" href="paging_8h-source.html#l00046">PAGE_COW</a>, <a class="el" href="paging_8h-source.html#l00049">PAGE_PRESENT</a>, <a class="el" href="paging_8h-source.html#l00047">PAGE_STACK</a>, <a class="el" href="paging_8h-source.html#l00044">parentPageDirAddr</a>, <a class="el" href="paging_8h-source.html#l00043">tablesBaseAddress</a>, and <a class="el" href="ap-boot_8S-source.html#l00052">x1000</a>.
<p>
Referenced by <a class="el" href="exec_8c-source.html#l00334">sysExec()</a>.
<p>
Here is the call graph for this function:<p><center><img src="paging_8c_0444c8635648fabdbd6e702137aa1723_cgraph.png" border="0" usemap="#paging_8c_0444c8635648fabdbd6e702137aa1723_cgraph_map" alt=""></center>
<map name="paging_8c_0444c8635648fabdbd6e702137aa1723_cgraph_map">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="240,5,307,32" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="541f0b43826a40b9e978f5479080bb0e"></a><!-- doxytag: member="paging.c::vmm_getFreeMallocPage" ref="541f0b43826a40b9e978f5479080bb0e" args="(uInt16 count)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* vmm_getFreeMallocPage           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="types_8h.html#3b65128d2644e9b80cec9a69bfa7e094">uInt16</a>&nbsp;</td>
          <td class="paramname"> <em>count</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="paging_8c-source.html#l00401">401</a> of file <a class="el" href="paging_8c-source.html">paging.c</a>.
<p>
References <a class="el" href="paging_8c-source.html#l00043">fkpSpinLock</a>, <a class="el" href="kpanic_8h-source.html#l00033">K_PANIC</a>, <a class="el" href="paging_8h-source.html#l00053">KERNEL_PAGE_DEFAULT</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="kmalloc_8h-source.html#l00039">sysID</a>, <a class="el" href="paging_8h-source.html#l00043">tablesBaseAddress</a>, <a class="el" href="paging_8c-source.html#l00160">vmm_remapPage()</a>, <a class="el" href="paging_8c-source.html#l00314">vmmClearVirtualPage()</a>, <a class="el" href="vmm__memory_8c-source.html#l00186">vmmFindFreePage()</a>, and <a class="el" href="ap-boot_8S-source.html#l00052">x1000</a>.
<p>
Referenced by <a class="el" href="kmalloc_8c-source.html#l00067">getEmptyDesc()</a>.
<p>
Here is the call graph for this function:<p><center><img src="paging_8c_541f0b43826a40b9e978f5479080bb0e_cgraph.png" border="0" usemap="#paging_8c_541f0b43826a40b9e978f5479080bb0e_cgraph_map" alt=""></center>
<map name="paging_8c_541f0b43826a40b9e978f5479080bb0e_cgraph_map">
<area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="661,81,741,108" alt="">
<area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="653,233,749,260" alt="">
<area href="paging_8h.html#a05f8d8947fb5bcec87fc6661f83243e" shape="rect" coords="257,157,396,184" alt="">
<area href="vmm_8h.html#976cf3919bf7c77c868021ec9374593b" shape="rect" coords="460,56,604,83" alt="">
<area href="paging_8h.html#230a160ddb717c5a133e55aa42e9d324" shape="rect" coords="243,360,411,387" alt="">
<area href="sched_8h.html#08933fe6d593a1c78b9080359f15a0b7" shape="rect" coords="797,56,899,83" alt="">
<area href="spinlock_8h.html#8f9173fadeddafa01754d6cbcc630198" shape="rect" coords="799,107,897,133" alt="">
<area href="vmm_8h.html#e90be267d851fed04d4d9b1c6c10454a" shape="rect" coords="492,208,572,235" alt="">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="499,157,565,184" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="f47a45e3f0802f5aac053808127aaaf1"></a><!-- doxytag: member="paging.c::vmm_pagingInit" ref="f47a45e3f0802f5aac053808127aaaf1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vmm_pagingInit           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="paging_8c-source.html#l00059">59</a> of file <a class="el" href="paging_8c-source.html">paging.c</a>.
<p>
References <a class="el" href="page__fault_8S-source.html#l00038">_vmm_pageFault</a>, <a class="el" href="kpanic_8h-source.html#l00033">K_PANIC</a>, <a class="el" href="paging_8h-source.html#l00053">KERNEL_PAGE_DEFAULT</a>, <a class="el" href="paging_8c-source.html#l00040">kernelPageDirectory</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, <a class="el" href="memset_8c-source.html#l00037">memset()</a>, <a class="el" href="vmm__memory_8c-source.html#l00044">numPages</a>, <a class="el" href="paging_8h-source.html#l00042">pageEntries</a>, <a class="el" href="kmalloc_8h-source.html#l00039">sysID</a>, <a class="el" href="paging_8c-source.html#l00160">vmm_remapPage()</a>, <a class="el" href="vmm__memory_8c-source.html#l00186">vmmFindFreePage()</a>, <a class="el" href="vmm__memory_8c-source.html#l00045">vmmMemoryMap</a>, <a class="el" href="vmm_8h-source.html#l00039">vmmMemoryMapAddr</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="vmm__init_8c-source.html#l00041">vmm_init()</a>.
<p>
Here is the call graph for this function:<p><center><img src="paging_8c_f47a45e3f0802f5aac053808127aaaf1_cgraph.png" border="0" usemap="#paging_8c_f47a45e3f0802f5aac053808127aaaf1_cgraph_map" alt=""></center>
<map name="paging_8c_f47a45e3f0802f5aac053808127aaaf1_cgraph_map">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="775,56,842,83" alt="">
<area href="lib_2string_8h.html#ce4b911463887af5e748326323e99a23" shape="rect" coords="215,259,292,285" alt="">
<area href="paging_8h.html#a05f8d8947fb5bcec87fc6661f83243e" shape="rect" coords="184,208,323,235" alt="">
<area href="vmm_8h.html#976cf3919bf7c77c868021ec9374593b" shape="rect" coords="372,157,516,184" alt="">
<area href="vmm_8h.html#e90be267d851fed04d4d9b1c6c10454a" shape="rect" coords="404,309,484,336" alt="">
<area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="768,385,848,412" alt="">
<area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="760,233,856,260" alt="">
<area href="vmm_8h.html#362d462b3a1e19b5e0ef95e1839dbf11" shape="rect" coords="566,360,712,387" alt="">
<area href="sched_8h.html#08933fe6d593a1c78b9080359f15a0b7" shape="rect" coords="904,360,1006,387" alt="">
<area href="spinlock_8h.html#8f9173fadeddafa01754d6cbcc630198" shape="rect" coords="906,411,1004,437" alt="">
<area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="606,107,672,133" alt="">
<area href="8259_8h.html#2b9ec30943ddb0a2ef3bd7ccfd2026c0" shape="rect" coords="763,107,854,133" alt="">
<area href="stdarg_8h.html#621577c2df0ad5faa281223c56eeb7a5" shape="rect" coords="772,157,844,184" alt="">
<area href="vsprintf_8c.html#c2f4c669c6f6aa6caa5ab8adb1b07dd0" shape="rect" coords="918,132,992,159" alt="">
<area href="vsprintf_8c.html#3fa7c8ef8597579301cb4b5c59bc6d9a" shape="rect" coords="915,183,995,209" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="f055cfbfef9c5d8dd82aa83829a06117"></a><!-- doxytag: member="paging.c::vmm_remapPage" ref="f055cfbfef9c5d8dd82aa83829a06117" args="(uInt32 source, uInt32 dest, uInt16 perms)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vmm_remapPage           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a>&nbsp;</td>
          <td class="paramname"> <em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a>&nbsp;</td>
          <td class="paramname"> <em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="types_8h.html#3b65128d2644e9b80cec9a69bfa7e094">uInt16</a>&nbsp;</td>
          <td class="paramname"> <em>perms</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="paging_8c-source.html#l00160">160</a> of file <a class="el" href="paging_8c-source.html">paging.c</a>.
<p>
References <a class="el" href="sched_8c-source.html#l00051">_current</a>, <a class="el" href="vmm__memory_8c-source.html#l00228">freePage()</a>, <a class="el" href="sched_8h-source.html#l00055">taskStruct::id</a>, <a class="el" href="kpanic_8h-source.html#l00033">K_PANIC</a>, <a class="el" href="paging_8h-source.html#l00053">KERNEL_PAGE_DEFAULT</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</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#l00049">PAGE_PRESENT</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="paging_8c-source.html#l00044">rmpSpinLock</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="vmm__memory_8c-source.html#l00186">vmmFindFreePage()</a>, and <a class="el" href="ap-boot_8S-source.html#l00052">x1000</a>.
<p>
Referenced by <a class="el" href="elf_8c-source.html#l00111">elf_loadfile()</a>, <a class="el" href="exec_8c-source.html#l00143">execFile()</a>, <a class="el" href="kmod_8c-source.html#l00075">kmod_load()</a>, <a class="el" href="ld_8c-source.html#l00042">ldEnable()</a>, <a class="el" href="paging_8c-source.html#l00478">obreak()</a>, <a class="el" href="exec_8c-source.html#l00552">sys_exec()</a>, <a class="el" href="exec_8c-source.html#l00334">sysExec()</a>, <a class="el" href="paging_8c-source.html#l00401">vmm_getFreeMallocPage()</a>, <a class="el" href="paging_8c-source.html#l00059">vmm_pagingInit()</a>, <a class="el" href="paging_8c-source.html#l00253">vmmGetFreeKernelPage()</a>, <a class="el" href="getfreepage_8c-source.html#l00048">vmmGetFreePage()</a>, <a class="el" href="getfreevirtualpage_8c-source.html#l00047">vmmGetFreeVirtualPage()</a>, and <a class="el" href="paging_8c-source.html#l00332">vmmMapFromTask()</a>.
<p>
Here is the call graph for this function:<p><center><img src="paging_8c_f055cfbfef9c5d8dd82aa83829a06117_cgraph.png" border="0" usemap="#paging_8c_f055cfbfef9c5d8dd82aa83829a06117_cgraph_map" alt=""></center>
<map name="paging_8c_f055cfbfef9c5d8dd82aa83829a06117_cgraph_map">
<area href="vmm_8h.html#e90be267d851fed04d4d9b1c6c10454a" shape="rect" coords="225,158,305,184" alt="">
<area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="589,82,669,108" alt="">
<area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="581,234,677,260" alt="">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="596,411,663,438" alt="">
<area href="vmm_8h.html#976cf3919bf7c77c868021ec9374593b" shape="rect" coords="193,310,337,336" alt="">
<area href="vmm_8h.html#362d462b3a1e19b5e0ef95e1839dbf11" shape="rect" coords="387,107,533,134" alt="">
<area href="sched_8h.html#08933fe6d593a1c78b9080359f15a0b7" shape="rect" coords="725,56,827,83" alt="">
<area href="spinlock_8h.html#8f9173fadeddafa01754d6cbcc630198" shape="rect" coords="727,107,825,134" alt="">
<area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="427,360,493,387" alt="">
<area href="8259_8h.html#2b9ec30943ddb0a2ef3bd7ccfd2026c0" shape="rect" coords="584,360,675,387" alt="">
<area href="stdarg_8h.html#621577c2df0ad5faa281223c56eeb7a5" shape="rect" coords="593,310,665,336" alt="">
<area href="vsprintf_8c.html#c2f4c669c6f6aa6caa5ab8adb1b07dd0" shape="rect" coords="739,284,813,311" alt="">
<area href="vsprintf_8c.html#3fa7c8ef8597579301cb4b5c59bc6d9a" shape="rect" coords="736,335,816,362" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="230a160ddb717c5a133e55aa42e9d324"></a><!-- doxytag: member="paging.c::vmmClearVirtualPage" ref="230a160ddb717c5a133e55aa42e9d324" args="(uInt32 pageAddr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vmmClearVirtualPage           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a>&nbsp;</td>
          <td class="paramname"> <em>pageAddr</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="paging_8c-source.html#l00314">314</a> of file <a class="el" href="paging_8c-source.html">paging.c</a>.
<p>
References <a class="el" href="paging_8h-source.html#l00042">pageEntries</a>.
<p>
Referenced by <a class="el" href="paging_8c-source.html#l00401">vmm_getFreeMallocPage()</a>, <a class="el" href="paging_8c-source.html#l00253">vmmGetFreeKernelPage()</a>, <a class="el" href="getfreepage_8c-source.html#l00048">vmmGetFreePage()</a>, and <a class="el" href="getfreevirtualpage_8c-source.html#l00047">vmmGetFreeVirtualPage()</a>.
</div>
</div><p>
<a class="anchor" name="30a38035243b9dfb285b3793788126be"></a><!-- doxytag: member="paging.c::vmmGetFreeKernelPage" ref="30a38035243b9dfb285b3793788126be" args="(pidType pid, uInt16 count)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* vmmGetFreeKernelPage           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="types_8h.html#e438ba74394b14d7b24b6df3b3b8c252">pidType</a>&nbsp;</td>
          <td class="paramname"> <em>pid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="types_8h.html#3b65128d2644e9b80cec9a69bfa7e094">uInt16</a>&nbsp;</td>
          <td class="paramname"> <em>count</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="paging_8c-source.html#l00253">253</a> of file <a class="el" href="paging_8c-source.html">paging.c</a>.
<p>
References <a class="el" href="paging_8c-source.html#l00043">fkpSpinLock</a>, <a class="el" href="kpanic_8h-source.html#l00033">K_PANIC</a>, <a class="el" href="paging_8h-source.html#l00053">KERNEL_PAGE_DEFAULT</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="paging_8c-source.html#l00160">vmm_remapPage()</a>, <a class="el" href="paging_8c-source.html#l00314">vmmClearVirtualPage()</a>, and <a class="el" href="vmm__memory_8c-source.html#l00186">vmmFindFreePage()</a>.
<p>
Referenced by <a class="el" href="copyvirtualspace_8c-source.html#l00053">vmmCopyVirtualSpace()</a>.
<p>
Here is the call graph for this function:<p><center><img src="paging_8c_30a38035243b9dfb285b3793788126be_cgraph.png" border="0" usemap="#paging_8c_30a38035243b9dfb285b3793788126be_cgraph_map" alt=""></center>
<map name="paging_8c_30a38035243b9dfb285b3793788126be_cgraph_map">
<area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="656,81,736,108" alt="">
<area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="648,233,744,260" alt="">
<area href="paging_8h.html#a05f8d8947fb5bcec87fc6661f83243e" shape="rect" coords="252,157,391,184" alt="">
<area href="vmm_8h.html#976cf3919bf7c77c868021ec9374593b" shape="rect" coords="455,56,599,83" alt="">
<area href="paging_8h.html#230a160ddb717c5a133e55aa42e9d324" shape="rect" coords="238,360,406,387" alt="">
<area href="sched_8h.html#08933fe6d593a1c78b9080359f15a0b7" shape="rect" coords="792,56,894,83" alt="">
<area href="spinlock_8h.html#8f9173fadeddafa01754d6cbcc630198" shape="rect" coords="794,107,892,133" alt="">
<area href="vmm_8h.html#e90be267d851fed04d4d9b1c6c10454a" shape="rect" coords="487,208,567,235" alt="">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="494,157,560,184" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="5eb37b88b24489f7256232eec46de565"></a><!-- doxytag: member="paging.c::vmmMapFromTask" ref="5eb37b88b24489f7256232eec46de565" args="(pidType pid, void *ptr, uInt32 size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* vmmMapFromTask           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="types_8h.html#e438ba74394b14d7b24b6df3b3b8c252">pidType</a>&nbsp;</td>
          <td class="paramname"> <em>pid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname"> <em>ptr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a>&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="paging_8c-source.html#l00332">332</a> of file <a class="el" href="paging_8c-source.html">paging.c</a>.
<p>
References <a class="el" href="sched_8c-source.html#l00051">_current</a>, <a class="el" href="tss_8h-source.html#l00047">tssStruct::cr3</a>, <a class="el" href="kpanic_8h-source.html#l00033">K_PANIC</a>, <a class="el" href="paging_8h-source.html#l00053">KERNEL_PAGE_DEFAULT</a>, <a class="el" href="sched_8h-source.html#l00060">taskStruct::oInfo</a>, <a class="el" href="sched_8c-source.html#l00216">schedFindTask()</a>, <a class="el" href="paging_8h-source.html#l00043">tablesBaseAddress</a>, <a class="el" href="sched_8h-source.html#l00058">taskStruct::tss</a>, <a class="el" href="paging_8c-source.html#l00160">vmm_remapPage()</a>, <a class="el" href="unmappage_8c-source.html#l00050">vmmUnmapPage()</a>, <a class="el" href="sched_8h-source.html#l00047">osInfo::vmStart</a>, and <a class="el" href="ap-boot_8S-source.html#l00052">x1000</a>.
<p>
Here is the call graph for this function:<p><center><img src="paging_8c_5eb37b88b24489f7256232eec46de565_cgraph.png" border="0" usemap="#paging_8c_5eb37b88b24489f7256232eec46de565_cgraph_map" alt=""></center>
<map name="paging_8c_5eb37b88b24489f7256232eec46de565_cgraph_map">
<area href="sched_8h.html#9cf37ade4c1f6184b33014ac2015e8ed" shape="rect" coords="211,208,328,235" alt="">
<area href="paging_8h.html#a05f8d8947fb5bcec87fc6661f83243e" shape="rect" coords="200,259,339,286" alt="">
<area href="paging_8h.html#fd94da50e455602f86ad7dae2fc9d1db" shape="rect" coords="202,310,338,336" alt="">
<area href="vmm_8h.html#e90be267d851fed04d4d9b1c6c10454a" shape="rect" coords="420,158,500,184" alt="">
<area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="784,82,864,108" alt="">
<area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="776,234,872,260" alt="">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="791,411,858,438" alt="">
<area href="vmm_8h.html#976cf3919bf7c77c868021ec9374593b" shape="rect" coords="388,310,532,336" alt="">
<area href="vmm_8h.html#362d462b3a1e19b5e0ef95e1839dbf11" shape="rect" coords="582,107,728,134" alt="">
<area href="sched_8h.html#08933fe6d593a1c78b9080359f15a0b7" shape="rect" coords="920,56,1022,83" alt="">
<area href="spinlock_8h.html#8f9173fadeddafa01754d6cbcc630198" shape="rect" coords="922,107,1020,134" alt="">
<area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="622,360,688,387" alt="">
<area href="8259_8h.html#2b9ec30943ddb0a2ef3bd7ccfd2026c0" shape="rect" coords="779,360,870,387" alt="">
<area href="stdarg_8h.html#621577c2df0ad5faa281223c56eeb7a5" shape="rect" coords="788,310,860,336" alt="">
<area href="vsprintf_8c.html#c2f4c669c6f6aa6caa5ab8adb1b07dd0" shape="rect" coords="934,284,1008,311" alt="">
<area href="vsprintf_8c.html#3fa7c8ef8597579301cb4b5c59bc6d9a" shape="rect" coords="931,335,1011,362" alt="">
</map>

</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="fe74a297627a1834d20925533b77c3d8"></a><!-- doxytag: member="paging.c::fkpSpinLock" ref="fe74a297627a1834d20925533b77c3d8" 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="paging_8c.html#fe74a297627a1834d20925533b77c3d8">fkpSpinLock</a> = SPIN_LOCK_INITIALIZER<code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="paging_8c-source.html#l00043">43</a> of file <a class="el" href="paging_8c-source.html">paging.c</a>.
<p>
Referenced by <a class="el" href="paging_8c-source.html#l00401">vmm_getFreeMallocPage()</a>, and <a class="el" href="paging_8c-source.html#l00253">vmmGetFreeKernelPage()</a>.
</div>
</div><p>
<a class="anchor" name="4e81de2626825c90dc6bb3cd7c8b344c"></a><!-- doxytag: member="paging.c::kernelPageDirectory" ref="4e81de2626825c90dc6bb3cd7c8b344c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a>* <a class="el" href="paging_8c.html#4e81de2626825c90dc6bb3cd7c8b344c">kernelPageDirectory</a> = 0x0          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="paging_8c-source.html#l00040">40</a> of file <a class="el" href="paging_8c-source.html">paging.c</a>.
<p>
Referenced by <a class="el" href="idt_8c-source.html#l00239">_int8()</a>, <a class="el" href="exec_8c-source.html#l00143">execFile()</a>, <a class="el" href="exec_8c-source.html#l00055">execThread()</a>, <a class="el" href="idt_8c-source.html#l00063">idt_init()</a>, and <a class="el" href="paging_8c-source.html#l00059">vmm_pagingInit()</a>.
</div>
</div><p>
<a class="anchor" name="79ee934bb85cf9e184c2ad54b707f9db"></a><!-- doxytag: member="paging.c::rmpSpinLock" ref="79ee934bb85cf9e184c2ad54b707f9db" 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="paging_8c.html#79ee934bb85cf9e184c2ad54b707f9db">rmpSpinLock</a> = SPIN_LOCK_INITIALIZER<code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="paging_8c-source.html#l00044">44</a> of file <a class="el" href="paging_8c-source.html">paging.c</a>.
<p>
Referenced by <a class="el" href="paging_8c-source.html#l00160">vmm_remapPage()</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 15 11:26:32 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>