Newer
Older
UbixOS / doc / html / d3 / d21 / vmm__init_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/vmm_init.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('d3/d21/vmm__init_8c.html','../../');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">vmm_init.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="../../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 />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for vmm_init.c:</div>
<div class="dyncontent">
<div class="center"><img src="../../d4/d13/vmm__init_8c__incl.png" border="0" usemap="#vmm_2vmm__init_8c" alt=""/></div>
<map name="vmm_2vmm__init_8c" id="vmm_2vmm__init_8c">
<area shape="rect" title=" " alt="" coords="188,5,303,32"/>
<area shape="rect" href="../../d1/d21/vmm_8h.html" title=" " alt="" coords="91,80,181,107"/>
<area shape="rect" href="../../df/d63/spinlock_8h.html" title=" " alt="" coords="651,155,773,181"/>
<area shape="rect" href="../../d3/d24/kpanic_8h.html" title=" " alt="" coords="283,80,397,107"/>
<area shape="rect" href="../../d0/d27/include_2sys_2types_8h.html" title=" " alt="" coords="409,603,500,629"/>
<area shape="rect" href="../../d4/df4/paging_8h.html" title=" " alt="" coords="85,155,187,181"/>
<area shape="rect" href="../../d0/d6f/__types_8h.html" title=" " alt="" coords="389,827,486,853"/>
<area shape="rect" href="../../d9/dab/select_8h.html" title=" " alt="" coords="521,677,615,704"/>
<area shape="rect" href="../../d6/d92/cdefs_8h.html" title=" " alt="" coords="758,752,847,779"/>
<area shape="rect" href="../../d6/d30/__timespec_8h.html" title=" " alt="" coords="310,752,429,779"/>
<area shape="rect" href="../../df/dc5/__timeval_8h.html" title=" " alt="" coords="453,752,558,779"/>
<area shape="rect" href="../../d6/da4/__sigset_8h.html" title=" " alt="" coords="582,752,682,779"/>
<area shape="rect" href="../../d3/d7e/sysproto__posix_8h.html" title=" " alt="" coords="180,229,327,256"/>
<area shape="rect" href="../../db/dd5/thread_8h.html" title=" " alt="" coords="225,379,319,405"/>
<area shape="rect" href="../../df/d92/sys_2signal_8h.html" title=" " alt="" coords="94,453,186,480"/>
<area shape="rect" href="../../d6/db4/include_2vfs_2file_8h.html" title=" " alt="" coords="469,304,537,331"/>
<area shape="rect" href="../../d7/d0b/trap_8h.html" title=" " alt="" coords="261,453,341,480"/>
<area shape="rect" href="../../d8/d01/resource_8h.html" title=" " alt="" coords="167,603,275,629"/>
<area shape="rect" href="../../d6/d35/i386_2cpu_8h.html" title=" " alt="" coords="259,528,341,555"/>
<area shape="rect" href="../../d1/de9/dirCache_8h.html" title=" " alt="" coords="784,528,907,555"/>
<area shape="rect" href="../../d3/d73/inode_8h.html" title=" " alt="" coords="580,379,663,405"/>
<area shape="rect" href="../../df/d42/ufs_8h.html" title=" " alt="" coords="467,453,538,480"/>
<area shape="rect" href="../../d2/d29/mount_8h.html" title=" " alt="" coords="996,379,1084,405"/>
<area shape="rect" href="../../d1/df2/wait_8h.html" title=" " alt="" coords="613,453,712,480"/>
<area shape="rect" href="../../d1/d7d/pipe__fs_8h.html" title=" " alt="" coords="736,453,824,480"/>
<area shape="rect" href="../../d8/dff/msdos__fs_8h.html" title=" " alt="" coords="849,453,951,480"/>
<area shape="rect" href="../../d4/d7e/include_2sys_2device_8h.html" title=" " alt="" coords="518,528,613,555"/>
</map>
</div>
</div>
<p><a href="../../d3/d21/vmm__init_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:aac183f585641487a954ca46c0d7bde31"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d21/vmm__init_8c.html#aac183f585641487a954ca46c0d7bde31">vmm_init</a> ()</td></tr>
<tr class="separator:aac183f585641487a954ca46c0d7bde31"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:afcaabe90527f6aec9cfeaaba78500e4c"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="../../d1/daf/structspinLock.html">spinLock</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d21/vmm__init_8c.html#afcaabe90527f6aec9cfeaaba78500e4c">pdSpinLock</a> = <a class="el" href="../../df/d63/spinlock_8h.html#a0fe85a4f3642683148b25916d6c5eafd">SPIN_LOCK_INITIALIZER</a></td></tr>
<tr class="separator:afcaabe90527f6aec9cfeaaba78500e4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="aac183f585641487a954ca46c0d7bde31"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac183f585641487a954ca46c0d7bde31">&#9670;&nbsp;</a></span>vmm_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vmm_init </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Function: int <a class="el" href="../../d3/d21/vmm__init_8c.html#aac183f585641487a954ca46c0d7bde31">vmm_init()</a></p>
<p>Description: Initializes the vmm subsystem</p>
<p>Notes: </p>

<p class="definition">Definition at line <a class="el" href="../../d3/d21/vmm__init_8c_source.html#l00043">43</a> of file <a class="el" href="../../d3/d21/vmm__init_8c_source.html">vmm_init.c</a>.</p>

<p class="reference">References <a class="el" href="../../d3/d24/kpanic_8h_source.html#l00032">K_PANIC</a>, <a class="el" href="../../d3/db5/vmm__memory_8c_source.html#l00057">vmm_memMapInit()</a>, and <a class="el" href="../../de/d38/paging_8c_source.html#l00058">vmm_pagingInit()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d3/d21/vmm__init_8c_aac183f585641487a954ca46c0d7bde31_cgraph.png" border="0" usemap="#d3/d21/vmm__init_8c_aac183f585641487a954ca46c0d7bde31_cgraph" alt=""/></div>
<map name="d3/d21/vmm__init_8c_aac183f585641487a954ca46c0d7bde31_cgraph" id="d3/d21/vmm__init_8c_aac183f585641487a954ca46c0d7bde31_cgraph">
<area shape="rect" title=" " alt="" coords="5,145,79,172"/>
<area shape="rect" href="../../d1/d21/vmm_8h.html#a4fc8ad0b76f4382b01c4a0e53529750c" title=" " alt="" coords="127,95,253,121"/>
<area shape="rect" href="../../d4/df4/paging_8h.html#af47a45e3f0802f5aac053808127aaaf1" title=" " alt="" coords="135,196,245,223"/>
<area shape="rect" href="../../d3/db5/vmm__memory_8c.html#a1a89fbc2f80ca828332c5ef31801faa3" title=" " alt="" coords="481,5,583,32"/>
<area shape="rect" href="../../dc/dac/io_8h.html#a77b934268de1b3ecdcf3f275413b3108" title="input one byte from specified port" alt="" coords="635,56,716,83"/>
<area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="631,5,720,32"/>
<area shape="rect" href="../../d4/df4/paging_8h.html#a15b43ccb21abdb9e0a41acb82b260a99" title=" " alt="" coords="307,247,427,273"/>
<area shape="rect" href="../../da/d28/kprintf_8h.html#a20b56810edb62a6fe59917015c30848f" title=" " alt="" coords="339,132,396,159"/>
<area shape="rect" href="../../d1/d21/vmm_8h.html#ab8e4e189a7b1df2a03072ce5b75c89fe" title=" " alt="" coords="301,297,433,324"/>
<area shape="rect" href="../../de/d38/paging_8c.html#ad6c3897473d837504f3d1415fb8ab796" title=" " alt="" coords="306,196,429,223"/>
<area shape="rect" href="../../dd/d78/video_8h.html#a5429378b96a24fadfd2d1f8d777eb95a" title=" " alt="" coords="505,56,559,83"/>
<area shape="rect" href="../../df/d87/kprintf_8c.html#a3093cdac4668a4ccffdd7f77270888b7" title=" " alt="" coords="501,107,563,133"/>
<area shape="rect" href="../../da/d28/kprintf_8h.html#a3b4a66bf1f6583e65660f281b6014aa1" title=" " alt="" coords="499,157,565,184"/>
<area shape="rect" href="../../dd/d71/tty_8h.html#a4f96ccac7e60296ef496008d8cbed0ff" title=" " alt="" coords="643,157,707,184"/>
<area shape="rect" href="../../dd/d71/tty_8h.html#ad96f57a7c113d3cfa76ee5fed6de33c0" title=" " alt="" coords="641,107,710,133"/>
<area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="768,208,843,235"/>
<area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="891,183,982,209"/>
<area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="891,233,983,260"/>
<area shape="rect" href="../../dc/d94/armv6_2kpanic_8c.html#adb9a182aa071791a306163d50d653deb" title="print panic message and halt system" alt="" coords="502,259,562,285"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="afcaabe90527f6aec9cfeaaba78500e4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afcaabe90527f6aec9cfeaaba78500e4c">&#9670;&nbsp;</a></span>pdSpinLock</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="../../d1/daf/structspinLock.html">spinLock</a> pdSpinLock = <a class="el" href="../../df/d63/spinlock_8h.html#a0fe85a4f3642683148b25916d6c5eafd">SPIN_LOCK_INITIALIZER</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d3/d21/vmm__init_8c_source.html#l00033">33</a> of file <a class="el" href="../../d3/d21/vmm__init_8c_source.html">vmm_init.c</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d38/paging_8c_source.html#l00291">vmm_getFreeKernelPage()</a>.</p>

</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="../../d3/d21/vmm__init_8c.html">vmm_init.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>