Newer
Older
UbixOS / doc / html / syscall__new_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/kernel/syscall_new.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_7efffd2b1fae7bb6f2aa85845c863494.html">kernel</a></div>
<h1>syscall_new.c File Reference</h1><code>#include &lt;<a class="el" href="syscalls__new_8h-source.html">ubixos/syscalls_new.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="types_8h-source.html">ubixos/types.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="endtask_8h-source.html">ubixos/endtask.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="trap_8h-source.html">sys/trap.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="lib_2string_8h-source.html">lib/string.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="kprintf_8h-source.html">lib/kprintf.h</a>&gt;</code><br>

<p>
Include dependency graph for syscall_new.c:<p><center><img src="syscall__new_8c__incl.png" border="0" usemap="#src/sys/kernel/syscall_new.c_map" alt=""></center>
<map name="src/sys/kernel/syscall_new.c_map">
<area href="syscalls__new_8h.html" shape="rect" coords="265,132,433,159" alt="">
<area href="types_8h.html" shape="rect" coords="825,234,945,260" alt="">
<area href="sched_8h.html" shape="rect" coords="491,208,613,235" alt="">
<area href="endtask_8h.html" shape="rect" coords="281,259,417,286" alt="">
<area href="spinlock_8h.html" shape="rect" coords="483,360,621,387" alt="">
<area href="trap_8h.html" shape="rect" coords="305,360,393,387" alt="">
<area href="lib_2string_8h.html" shape="rect" coords="505,411,599,438" alt="">
<area href="kprintf_8h.html" shape="rect" coords="300,462,399,488" alt="">
<area href="sysproto_8h.html" shape="rect" coords="493,107,611,134" alt="">
<area href="thread_8h.html" shape="rect" coords="671,56,775,83" alt="">
<area href="tty_8h.html" shape="rect" coords="673,259,772,286" alt="">
<area href="file_8h.html" shape="rect" coords="683,107,763,134" alt="">
<area href="tss_8h.html" shape="rect" coords="683,158,763,184" alt="">
</map>

<p>
<a href="syscall__new_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="syscall__new_8c.html#8227159f0d43f5d10bcc8f3fe198fed6">syscall</a> (struct <a class="el" href="structtrapframe.html">trapframe</a> frame)</td></tr>

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

</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="8227159f0d43f5d10bcc8f3fe198fed6"></a><!-- doxytag: member="syscall_new.c::syscall" ref="8227159f0d43f5d10bcc8f3fe198fed6" args="(struct trapframe frame)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void syscall           </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structtrapframe.html">trapframe</a>&nbsp;</td>
          <td class="paramname"> <em>frame</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="syscall__new_8c-source.html#l00041">41</a> of file <a class="el" href="syscall__new_8c-source.html">syscall_new.c</a>.
<p>
References <a class="el" href="sched_8c-source.html#l00051">_current</a>, <a class="el" href="syscalls__new_8h-source.html#l00058">EJUSTRETURN</a>, <a class="el" href="syscalls__new_8h-source.html#l00059">ERESTART</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, <a class="el" href="lib_2string_8h.html#e33b18edb618c656b9b795b9fce2316c">memcpy()</a>, <a class="el" href="syscalls__new_8h-source.html#l00057">PSL_C</a>, <a class="el" href="syscalls__new_8h-source.html#l00066">systemCalls_new</a>, <a class="el" href="sched_8h-source.html#l00067">taskStruct::td</a>, <a class="el" href="thread_8h-source.html#l00038">thread::td_retval</a>, <a class="el" href="trap_8h-source.html#l00044">trapframe::tf_eax</a>, <a class="el" href="trap_8h-source.html#l00042">trapframe::tf_edx</a>, <a class="el" href="trap_8h-source.html#l00050">trapframe::tf_eflags</a>, <a class="el" href="trap_8h-source.html#l00048">trapframe::tf_eip</a>, <a class="el" href="trap_8h-source.html#l00047">trapframe::tf_err</a>, <a class="el" href="trap_8h-source.html#l00052">trapframe::tf_esp</a>, and <a class="el" href="syscalls__new_8h-source.html#l00525">totalCalls_new</a>.
<p>
Here is the call graph for this function:<p><center><img src="syscall__new_8c_8227159f0d43f5d10bcc8f3fe198fed6_cgraph.png" border="0" usemap="#syscall__new_8c_8227159f0d43f5d10bcc8f3fe198fed6_cgraph_map" alt=""></center>
<map name="syscall__new_8c_8227159f0d43f5d10bcc8f3fe198fed6_cgraph_map">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="131,5,198,32" alt="">
<area href="lib_2string_8h.html#e33b18edb618c656b9b795b9fce2316c" shape="rect" coords="124,56,204,83" alt="">
</map>

</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="061103633079320d29a623d5758623b1"></a><!-- doxytag: member="syscall_new.c::Master" ref="061103633079320d29a623d5758623b1" 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="syscall__new_8c.html#061103633079320d29a623d5758623b1">Master</a> = SPIN_LOCK_INITIALIZER          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="syscall__new_8c-source.html#l00039">39</a> of file <a class="el" href="syscall__new_8c-source.html">syscall_new.c</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 15 11:24:13 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>