Newer
Older
UbixOS / doc / html / tty_8h.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/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="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="types_8h-source.html">ubixos/types.h</a>&gt;</code><br>

<p>
Include dependency graph for tty.h:<p><center><img src="tty_8h__incl.png" border="0" usemap="#src/sys/include/ubixos/tty.h_map" alt=""></center>
<map name="src/sys/include/ubixos/tty.h_map">
<area href="types_8h.html" shape="rect" coords="260,5,380,32" alt="">
<area href="__types_8h.html" shape="rect" coords="431,5,535,32" alt="">
</map>

<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="tty_8h__dep__incl.png" border="0" usemap="#src/sys/include/ubixos/tty.hdep_map" alt=""></center>
<map name="src/sys/include/ubixos/tty.hdep_map">
<area href="init_8h.html" shape="rect" coords="537,12,745,39" alt="">
<area href="sched_8h.html" shape="rect" coords="260,107,487,133" alt="">
<area href="atkbd_8c.html" shape="rect" coords="568,75,715,101" alt="">
<area href="fork_8c.html" shape="rect" coords="564,151,719,177" alt="">
<area href="systemtask_8c.html" shape="rect" coords="539,201,744,228" alt="">
<area href="kpanic_8c.html" shape="rect" coords="287,259,460,285" alt="">
<area href="tty_8c.html" shape="rect" coords="300,309,447,336" alt="">
<area href="video_8c.html" shape="rect" coords="300,360,447,387" alt="">
</map>

<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="types_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="types_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="types_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#l00042">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>.
<p>
Here is the call graph for this function:<p><center><img src="tty_8h_fb200d47095b1f878728403e9346cc33_cgraph.png" border="0" usemap="#tty_8h_fb200d47095b1f878728403e9346cc33_cgraph_map" alt=""></center>
<map name="tty_8h_fb200d47095b1f878728403e9346cc33_cgraph_map">
<area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="171,56,238,83" alt="">
<area href="lib_2string_8h.html#e33b18edb618c656b9b795b9fce2316c" shape="rect" coords="164,107,244,133" alt="">
<area href="io_8h.html#8acc1a06073db2e7b92ffbd00fbd0cf1" shape="rect" coords="154,157,255,184" alt="">
<area href="8259_8h.html#2b9ec30943ddb0a2ef3bd7ccfd2026c0" shape="rect" coords="304,5,395,32" alt="">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="316,56,383,83" alt="">
<area href="stdarg_8h.html#621577c2df0ad5faa281223c56eeb7a5" shape="rect" coords="314,107,386,133" alt="">
<area href="vsprintf_8c.html#c2f4c669c6f6aa6caa5ab8adb1b07dd0" shape="rect" coords="447,81,522,108" alt="">
<area href="vsprintf_8c.html#3fa7c8ef8597579301cb4b5c59bc6d9a" shape="rect" coords="444,132,524,159" alt="">
</map>

</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="types_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#l00143">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#l00042">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>.
<p>
Here is the call graph for this function:<p><center><img src="tty_8h_ab365abb615be7027fa0bdb2c09569cb_cgraph.png" border="0" usemap="#tty_8h_ab365abb615be7027fa0bdb2c09569cb_cgraph_map" alt=""></center>
<map name="tty_8h_ab365abb615be7027fa0bdb2c09569cb_cgraph_map">
<area href="io_8h.html#77b934268de1b3ecdcf3f275413b3108" shape="rect" coords="128,259,221,285" alt="">
<area href="kmalloc_8h.html#150eab2ac4ce4553e21ca10e7f441762" shape="rect" coords="137,309,212,336" alt="">
<area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="507,309,573,336" alt="">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="697,360,764,387" alt="">
<area href="io_8h.html#8acc1a06073db2e7b92ffbd00fbd0cf1" shape="rect" coords="124,512,225,539" alt="">
<area href="kmalloc_8c.html#f6c4ea5cb961c72548d92ff65d7e33a4" shape="rect" coords="276,183,396,209" alt="">
<area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="691,56,771,83" alt="">
<area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="683,157,779,184" alt="">
<area href="kmalloc_8c.html#eb1c3f1ef8eb9063c2e5c4af488dd2d0" shape="rect" coords="275,309,397,336" alt="">
<area href="lib_2string_8h.html#ce4b911463887af5e748326323e99a23" shape="rect" coords="501,208,579,235" alt="">
<area href="paging_8h.html#541f0b43826a40b9e978f5479080bb0e" shape="rect" coords="445,107,635,133" alt="">
</map>

</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>.
<p>
Here is the call graph for this function:<p><center><img src="tty_8h_d96f57a7c113d3cfa76ee5fed6de33c0_cgraph.png" border="0" usemap="#tty_8h_d96f57a7c113d3cfa76ee5fed6de33c0_cgraph_map" alt=""></center>
<map name="tty_8h_d96f57a7c113d3cfa76ee5fed6de33c0_cgraph_map">
<area href="io_8h.html#8acc1a06073db2e7b92ffbd00fbd0cf1" shape="rect" coords="135,31,236,57" alt="">
<area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="146,81,226,108" alt="">
<area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="138,132,234,159" alt="">
<area href="sched_8h.html#08933fe6d593a1c78b9080359f15a0b7" shape="rect" coords="286,56,387,83" alt="">
<area href="spinlock_8h.html#8f9173fadeddafa01754d6cbcc630198" shape="rect" coords="571,107,670,133" alt="">
<area href="sched_8h.html#549a0c1cc47933fa045b200690965cbd" shape="rect" coords="436,56,498,83" alt="">
<area href="sched_8h.html#e969273d772018d111e1f0344eb550f8" shape="rect" coords="547,5,694,32" alt="">
<area href="sched_8h.html#086cc0adc0b6a3860ceeeb5bc5ea94ea" shape="rect" coords="551,56,690,83" alt="">
</map>

</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#l00042">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 Fri Dec 15 11:21:54 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>