Newer
Older
ubix2 / doc / html / tty_8h.html
@reddawg reddawg on 5 Dec 2006 13 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/include/ubixos/tty.h 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_caf4200c438ae9601464168e21e8e4d8.html">include</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_9854bc9d2b9a2a73f32c73e97d31d0f7.html">ubixos</a></div>
<h1>tty.h File Reference</h1><code>#include &lt;<a class="el" href="include_2ubixos_2types_8h-source.html">ubixos/types.h</a>&gt;</code><br>

<p>
<a href="tty_8h-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>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtty__termNode.html">tty_termNode</a></td></tr>

<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="tty_8h.html#af7550f4ba4072823e4085117944c5ef">TTY_MAX_TERMS</a>&nbsp;&nbsp;&nbsp;5</td></tr>

<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structtty__termNode.html">tty_termNode</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="tty_8h.html#b4a376d082a021be5b9520e6c4987065">tty_term</a></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="tty_8h.html#fb200d47095b1f878728403e9346cc33">tty_change</a> (<a class="el" href="include_2ubixos_2types_8h.html#3b65128d2644e9b80cec9a69bfa7e094">uInt16</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structtty__termNode.html">tty_term</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="tty_8h.html#4f96ccac7e60296ef496008d8cbed0ff">tty_find</a> (<a class="el" href="include_2ubixos_2types_8h.html#3b65128d2644e9b80cec9a69bfa7e094">uInt16</a>)</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="tty_8h.html#d96f57a7c113d3cfa76ee5fed6de33c0">tty_print</a> (char *, <a class="el" href="structtty__termNode.html">tty_term</a> *)</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="structtty__termNode.html">tty_term</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="tty_8h.html#afbb5679104334c34d7691b2de7d7a86">tty_foreground</a></td></tr>

</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="af7550f4ba4072823e4085117944c5ef"></a><!-- doxytag: member="tty.h::TTY_MAX_TERMS" ref="af7550f4ba4072823e4085117944c5ef" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TTY_MAX_TERMS&nbsp;&nbsp;&nbsp;5          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="tty_8h-source.html#l00035">35</a> of file <a class="el" href="tty_8h-source.html">tty.h</a>.
<p>
Referenced by <a class="el" href="tty_8c-source.html#l00087">tty_change()</a>, and <a class="el" href="tty_8c-source.html#l00042">tty_init()</a>.
</div>
</div><p>
<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="b4a376d082a021be5b9520e6c4987065"></a><!-- doxytag: member="tty.h::tty_term" ref="b4a376d082a021be5b9520e6c4987065" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structtty__termNode.html">tty_termNode</a>  <a class="el" href="structtty__termNode.html">tty_term</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="fb200d47095b1f878728403e9346cc33"></a><!-- doxytag: member="tty.h::tty_change" ref="fb200d47095b1f878728403e9346cc33" args="(uInt16)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int tty_change           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="include_2ubixos_2types_8h.html#3b65128d2644e9b80cec9a69bfa7e094">uInt16</a>&nbsp;</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="tty_8c-source.html#l00087">87</a> of file <a class="el" href="tty_8c-source.html">tty.c</a>.
<p>
References <a class="el" href="kpanic_8c-source.html#l00044">kpanic()</a>, <a class="el" href="lib_2string_8h.html#e33b18edb618c656b9b795b9fce2316c">memcpy()</a>, <a class="el" href="io_8c-source.html#l00073">outportByte()</a>, <a class="el" href="tty_8c-source.html#l00038">terms</a>, <a class="el" href="tty_8h-source.html#l00038">tty_termNode::tty_buffer</a>, <a class="el" href="tty_8c-source.html#l00039">tty_foreground</a>, <a class="el" href="tty_8h-source.html#l00035">TTY_MAX_TERMS</a>, <a class="el" href="tty_8h-source.html#l00039">tty_termNode::tty_pointer</a>, <a class="el" href="tty_8h-source.html#l00041">tty_termNode::tty_x</a>, and <a class="el" href="tty_8h-source.html#l00042">tty_termNode::tty_y</a>.
<p>
Referenced by <a class="el" href="atkbd_8c-source.html#l00216">keyboardHandler()</a>.
</div>
</div><p>
<a class="anchor" name="4f96ccac7e60296ef496008d8cbed0ff"></a><!-- doxytag: member="tty.h::tty_find" ref="4f96ccac7e60296ef496008d8cbed0ff" args="(uInt16)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structtty__termNode.html">tty_term</a>* tty_find           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="include_2ubixos_2types_8h.html#3b65128d2644e9b80cec9a69bfa7e094">uInt16</a>&nbsp;</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="tty_8c-source.html#l00170">170</a> of file <a class="el" href="tty_8c-source.html">tty.c</a>.
<p>
References <a class="el" href="tty_8c-source.html#l00038">terms</a>.
<p>
Referenced by <a class="el" href="exec_8c-source.html#l00142">execFile()</a>, <a class="el" href="video_8c-source.html#l00062">kprint()</a>, and <a class="el" href="systemtask_8c-source.html#l00048">systemTask()</a>.
</div>
</div><p>
<a class="anchor" name="ab365abb615be7027fa0bdb2c09569cb"></a><!-- doxytag: member="tty.h::tty_init" ref="ab365abb615be7027fa0bdb2c09569cb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int tty_init           </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="tty_8c-source.html#l00042">42</a> of file <a class="el" href="tty_8c-source.html">tty.c</a>.
<p>
References <a class="el" href="io_8c-source.html#l00039">inportByte()</a>, <a class="el" href="kmalloc_8c-source.html#l00247">kmalloc()</a>, <a class="el" href="kpanic_8c-source.html#l00044">kpanic()</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, <a class="el" href="io_8c-source.html#l00073">outportByte()</a>, <a class="el" href="tty_8c-source.html#l00038">terms</a>, <a class="el" href="tty_8h-source.html#l00038">tty_termNode::tty_buffer</a>, <a class="el" href="tty_8h-source.html#l00040">tty_termNode::tty_colour</a>, <a class="el" href="tty_8c-source.html#l00039">tty_foreground</a>, <a class="el" href="tty_8h-source.html#l00035">TTY_MAX_TERMS</a>, <a class="el" href="tty_8h-source.html#l00039">tty_termNode::tty_pointer</a>, <a class="el" href="tty_8h-source.html#l00041">tty_termNode::tty_x</a>, and <a class="el" href="tty_8h-source.html#l00042">tty_termNode::tty_y</a>.
</div>
</div><p>
<a class="anchor" name="d96f57a7c113d3cfa76ee5fed6de33c0"></a><!-- doxytag: member="tty.h::tty_print" ref="d96f57a7c113d3cfa76ee5fed6de33c0" args="(char *, tty_term *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int tty_print           </td>
          <td>(</td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structtty__termNode.html">tty_term</a> *&nbsp;</td>
          <td class="paramname"></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="tty_8c-source.html#l00118">118</a> of file <a class="el" href="tty_8c-source.html">tty.c</a>.
<p>
References <a class="el" href="io_8c-source.html#l00073">outportByte()</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="tty_8h-source.html#l00040">tty_termNode::tty_colour</a>, <a class="el" href="tty_8c-source.html#l00039">tty_foreground</a>, <a class="el" href="tty_8h-source.html#l00039">tty_termNode::tty_pointer</a>, <a class="el" href="tty_8c-source.html#l00040">tty_spinLock</a>, <a class="el" href="tty_8h-source.html#l00041">tty_termNode::tty_x</a>, <a class="el" href="tty_8h-source.html#l00042">tty_termNode::tty_y</a>, and <a class="el" href="start_8S-source.html#l00051">x20</a>.
<p>
Referenced by <a class="el" href="video_8c-source.html#l00062">kprint()</a>, and <a class="el" href="file_8c-source.html#l00049">sysFwrite()</a>.
</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="afbb5679104334c34d7691b2de7d7a86"></a><!-- doxytag: member="tty.h::tty_foreground" ref="afbb5679104334c34d7691b2de7d7a86" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structtty__termNode.html">tty_term</a>* <a class="el" href="tty_8c.html#afbb5679104334c34d7691b2de7d7a86">tty_foreground</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="tty_8c-source.html#l00039">39</a> of file <a class="el" href="tty_8c-source.html">tty.c</a>.
<p>
Referenced by <a class="el" href="video_8c-source.html#l00040">backSpace()</a>, <a class="el" href="atkbd_8c-source.html#l00329">getch()</a>, <a class="el" href="atkbd_8c-source.html#l00216">keyboardHandler()</a>, <a class="el" href="kpanic_8c-source.html#l00044">kpanic()</a>, <a class="el" href="video_8c-source.html#l00062">kprint()</a>, <a class="el" href="file_8c-source.html#l00059">sysFgetc()</a>, <a class="el" href="tty_8c-source.html#l00087">tty_change()</a>, <a class="el" href="tty_8c-source.html#l00042">tty_init()</a>, and <a class="el" href="tty_8c-source.html#l00118">tty_print()</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Tue Dec 5 23:35:01 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>