Newer
Older
ubix2 / doc / html / hd_8h.html
@reddawg reddawg on 12 Dec 2006 32 KB Changes
<!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/pci/hd.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_912887cea1b4cb6e273c4527a2250d09.html">pci</a></div>
<h1>hd.h File Reference</h1><code>#include &lt;<a class="el" href="ubixfs_8h-source.html">ubixfs/ubixfs.h</a>&gt;</code><br>

<p>
<a href="hd_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="structbsd__disklabel.html">bsd_disklabel</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbsd__disklabel_1_1partition.html">bsd_disklabel::partition</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdos__partition.html">dos_partition</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdriveInfo.html">driveInfo</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="hd_8h.html#7623c70dac9a02ab1f75aa7a6e547c4c">hdCmd</a>&nbsp;&nbsp;&nbsp;0x7</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#2a82bac9f72d97307f87e60acb709ebb">hdCylHi</a>&nbsp;&nbsp;&nbsp;0x5</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#30a2e624c7eda626a913f0b5b9ed26b7">hdCylLow</a>&nbsp;&nbsp;&nbsp;0x4</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#1571e7119dfede60820469184878948a">hdData</a>&nbsp;&nbsp;&nbsp;0x0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#98d5f3b47b6afa2948cb1db2a9e0cd36">hdError</a>&nbsp;&nbsp;&nbsp;0x1</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#cefc72ce44e542db4580ce7e7c732aab">hdHead</a>&nbsp;&nbsp;&nbsp;0x6</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#8206a5d5a25f1d6fc9e02013572c52db">hdSecCount</a>&nbsp;&nbsp;&nbsp;0x2</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#0fa794dfb3e811122d5eafbe348c368f">hdSecNum</a>&nbsp;&nbsp;&nbsp;0x3</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#73f0c3f82605d0aa108e8186e4daae6b">hdStat</a>&nbsp;&nbsp;&nbsp;0x7</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#b365aa9aae531413e33947aba3d079cc">MAXPARTITIONS</a>&nbsp;&nbsp;&nbsp;8</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#24fef906c993a6511034377118497b67">NDDATA</a>&nbsp;&nbsp;&nbsp;5</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#a7634e74ec4ca64b3a931b89c07ece15">NSPARE</a>&nbsp;&nbsp;&nbsp;5</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="hd_8h.html#b01b187dc277e089d0161315437fde41">hdInit</a> (struct <a class="el" href="structdevice__node.html">device_node</a> *<a class="el" href="ethernetif_8c.html#cf6a82c73e7a9d99293d9ce0b8837faf">dev</a>)</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#bda1e72920488b35bcfc9ed68bf4c268">hdRead</a> (struct <a class="el" href="structdriveInfo.html">driveInfo</a> *hdd, void *, <a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a>, <a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a>)</td></tr>

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

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

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

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#6bbbb9d4c1c81ca945bf093cbba5490c">hdWrite</a> (struct <a class="el" href="structdriveInfo.html">driveInfo</a> *hdd, void *, <a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a>, <a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a>)</td></tr>

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

<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#6ef530d16811c8a4680c136ed9e72cbf">fstypenames</a> []</td></tr>

</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="7623c70dac9a02ab1f75aa7a6e547c4c"></a><!-- doxytag: member="hd.h::hdCmd" ref="7623c70dac9a02ab1f75aa7a6e547c4c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define hdCmd&nbsp;&nbsp;&nbsp;0x7          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="hd_8h-source.html#l00043">43</a> of file <a class="el" href="hd_8h-source.html">hd.h</a>.
<p>
Referenced by <a class="el" href="hd_8c-source.html#l00145">hdInit()</a>, <a class="el" href="hd_8c-source.html#l00284">hdRead()</a>, and <a class="el" href="hd_8c-source.html#l00222">hdWrite()</a>.
</div>
</div><p>
<a class="anchor" name="2a82bac9f72d97307f87e60acb709ebb"></a><!-- doxytag: member="hd.h::hdCylHi" ref="2a82bac9f72d97307f87e60acb709ebb" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define hdCylHi&nbsp;&nbsp;&nbsp;0x5          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="hd_8h-source.html#l00040">40</a> of file <a class="el" href="hd_8h-source.html">hd.h</a>.
<p>
Referenced by <a class="el" href="hd_8c-source.html#l00284">hdRead()</a>, and <a class="el" href="hd_8c-source.html#l00222">hdWrite()</a>.
</div>
</div><p>
<a class="anchor" name="30a2e624c7eda626a913f0b5b9ed26b7"></a><!-- doxytag: member="hd.h::hdCylLow" ref="30a2e624c7eda626a913f0b5b9ed26b7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define hdCylLow&nbsp;&nbsp;&nbsp;0x4          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="hd_8h-source.html#l00039">39</a> of file <a class="el" href="hd_8h-source.html">hd.h</a>.
<p>
Referenced by <a class="el" href="hd_8c-source.html#l00284">hdRead()</a>, and <a class="el" href="hd_8c-source.html#l00222">hdWrite()</a>.
</div>
</div><p>
<a class="anchor" name="1571e7119dfede60820469184878948a"></a><!-- doxytag: member="hd.h::hdData" ref="1571e7119dfede60820469184878948a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define hdData&nbsp;&nbsp;&nbsp;0x0          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="hd_8h-source.html#l00035">35</a> of file <a class="el" href="hd_8h-source.html">hd.h</a>.
<p>
Referenced by <a class="el" href="hd_8c-source.html#l00145">hdInit()</a>, <a class="el" href="hd_8c-source.html#l00284">hdRead()</a>, and <a class="el" href="hd_8c-source.html#l00222">hdWrite()</a>.
</div>
</div><p>
<a class="anchor" name="98d5f3b47b6afa2948cb1db2a9e0cd36"></a><!-- doxytag: member="hd.h::hdError" ref="98d5f3b47b6afa2948cb1db2a9e0cd36" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define hdError&nbsp;&nbsp;&nbsp;0x1          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="hd_8h-source.html#l00036">36</a> of file <a class="el" href="hd_8h-source.html">hd.h</a>.
</div>
</div><p>
<a class="anchor" name="cefc72ce44e542db4580ce7e7c732aab"></a><!-- doxytag: member="hd.h::hdHead" ref="cefc72ce44e542db4580ce7e7c732aab" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define hdHead&nbsp;&nbsp;&nbsp;0x6          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="hd_8h-source.html#l00041">41</a> of file <a class="el" href="hd_8h-source.html">hd.h</a>.
<p>
Referenced by <a class="el" href="hd_8c-source.html#l00145">hdInit()</a>, <a class="el" href="hd_8c-source.html#l00284">hdRead()</a>, and <a class="el" href="hd_8c-source.html#l00222">hdWrite()</a>.
</div>
</div><p>
<a class="anchor" name="8206a5d5a25f1d6fc9e02013572c52db"></a><!-- doxytag: member="hd.h::hdSecCount" ref="8206a5d5a25f1d6fc9e02013572c52db" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define hdSecCount&nbsp;&nbsp;&nbsp;0x2          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="hd_8h-source.html#l00037">37</a> of file <a class="el" href="hd_8h-source.html">hd.h</a>.
<p>
Referenced by <a class="el" href="hd_8c-source.html#l00145">hdInit()</a>, <a class="el" href="hd_8c-source.html#l00284">hdRead()</a>, and <a class="el" href="hd_8c-source.html#l00222">hdWrite()</a>.
</div>
</div><p>
<a class="anchor" name="0fa794dfb3e811122d5eafbe348c368f"></a><!-- doxytag: member="hd.h::hdSecNum" ref="0fa794dfb3e811122d5eafbe348c368f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define hdSecNum&nbsp;&nbsp;&nbsp;0x3          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="hd_8h-source.html#l00038">38</a> of file <a class="el" href="hd_8h-source.html">hd.h</a>.
<p>
Referenced by <a class="el" href="hd_8c-source.html#l00284">hdRead()</a>, and <a class="el" href="hd_8c-source.html#l00222">hdWrite()</a>.
</div>
</div><p>
<a class="anchor" name="73f0c3f82605d0aa108e8186e4daae6b"></a><!-- doxytag: member="hd.h::hdStat" ref="73f0c3f82605d0aa108e8186e4daae6b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define hdStat&nbsp;&nbsp;&nbsp;0x7          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="hd_8h-source.html#l00042">42</a> of file <a class="el" href="hd_8h-source.html">hd.h</a>.
<p>
Referenced by <a class="el" href="hd_8c-source.html#l00145">hdInit()</a>, <a class="el" href="hd_8c-source.html#l00284">hdRead()</a>, and <a class="el" href="hd_8c-source.html#l00222">hdWrite()</a>.
</div>
</div><p>
<a class="anchor" name="b365aa9aae531413e33947aba3d079cc"></a><!-- doxytag: member="hd.h::MAXPARTITIONS" ref="b365aa9aae531413e33947aba3d079cc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAXPARTITIONS&nbsp;&nbsp;&nbsp;8          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="hd_8h-source.html#l00084">84</a> of file <a class="el" href="hd_8h-source.html">hd.h</a>.
</div>
</div><p>
<a class="anchor" name="24fef906c993a6511034377118497b67"></a><!-- doxytag: member="hd.h::NDDATA" ref="24fef906c993a6511034377118497b67" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NDDATA&nbsp;&nbsp;&nbsp;5          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="hd_8h-source.html#l00140">140</a> of file <a class="el" href="hd_8h-source.html">hd.h</a>.
</div>
</div><p>
<a class="anchor" name="a7634e74ec4ca64b3a931b89c07ece15"></a><!-- doxytag: member="hd.h::NSPARE" ref="a7634e74ec4ca64b3a931b89c07ece15" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NSPARE&nbsp;&nbsp;&nbsp;5          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="hd_8h-source.html#l00142">142</a> of file <a class="el" href="hd_8h-source.html">hd.h</a>.
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="b01b187dc277e089d0161315437fde41"></a><!-- doxytag: member="hd.h::hdInit" ref="b01b187dc277e089d0161315437fde41" args="(struct device_node *dev)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int hdInit           </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structdevice__node.html">device_node</a> *&nbsp;</td>
          <td class="paramname"> <em>dev</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="hd_8c-source.html#l00145">145</a> of file <a class="el" href="hd_8c-source.html">hd.c</a>.
<p>
References <a class="el" href="ethernetif_8c-source.html#l00078">dev</a>, <a class="el" href="hd_8h-source.html#l00043">hdCmd</a>, <a class="el" href="hd_8h-source.html#l00035">hdData</a>, <a class="el" href="hd_8h-source.html#l00050">driveInfo::hdDev</a>, <a class="el" href="hd_8h-source.html#l00049">driveInfo::hdEnable</a>, <a class="el" href="hd_8h-source.html#l00041">hdHead</a>, <a class="el" href="hd_8h-source.html#l00053">driveInfo::hdMask</a>, <a class="el" href="hd_8h-source.html#l00054">driveInfo::hdMulti</a>, <a class="el" href="hd_8h-source.html#l00055">driveInfo::hdPort</a>, <a class="el" href="hd_8h-source.html#l00037">hdSecCount</a>, <a class="el" href="hd_8h-source.html#l00048">driveInfo::hdSector</a>, <a class="el" href="hd_8h-source.html#l00052">driveInfo::hdShift</a>, <a class="el" href="hd_8h-source.html#l00056">driveInfo::hdSize</a>, <a class="el" href="hd_8h-source.html#l00042">hdStat</a>, <a class="el" href="io_8c-source.html#l00039">inportByte()</a>, <a class="el" href="io_8c-source.html#l00056">inportWord()</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, and <a class="el" href="io_8c-source.html#l00073">outportByte()</a>.
<p>
Referenced by <a class="el" href="hd_8c-source.html#l00039">initHardDisk()</a>.
</div>
</div><p>
<a class="anchor" name="ce9b924d48cc450c255d1d48fcbc13a5"></a><!-- doxytag: member="hd.h::hdIoctl" ref="ce9b924d48cc450c255d1d48fcbc13a5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int hdIoctl           </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="hd_8c-source.html#l00137">137</a> of file <a class="el" href="hd_8c-source.html">hd.c</a>.
<p>
Referenced by <a class="el" href="hd_8c-source.html#l00039">initHardDisk()</a>.
</div>
</div><p>
<a class="anchor" name="bda1e72920488b35bcfc9ed68bf4c268"></a><!-- doxytag: member="hd.h::hdRead" ref="bda1e72920488b35bcfc9ed68bf4c268" args="(struct driveInfo *hdd, void *, uInt32, uInt32)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void hdRead           </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structdriveInfo.html">driveInfo</a> *&nbsp;</td>
          <td class="paramname"> <em>hdd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname">, </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">, </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"></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="hd_8c-source.html#l00284">284</a> of file <a class="el" href="hd_8c-source.html">hd.c</a>.
<p>
References <a class="el" href="hd_8h-source.html#l00057">driveInfo::hdCalc</a>, <a class="el" href="hd_8h-source.html#l00043">hdCmd</a>, <a class="el" href="hd_8h-source.html#l00040">hdCylHi</a>, <a class="el" href="hd_8h-source.html#l00039">hdCylLow</a>, <a class="el" href="hd_8h-source.html#l00035">hdData</a>, <a class="el" href="hd_8h-source.html#l00050">driveInfo::hdDev</a>, <a class="el" href="hd_8h-source.html#l00049">driveInfo::hdEnable</a>, <a class="el" href="hd_8h-source.html#l00041">hdHead</a>, <a class="el" href="hd_8h-source.html#l00054">driveInfo::hdMulti</a>, <a class="el" href="hd_8h-source.html#l00055">driveInfo::hdPort</a>, <a class="el" href="hd_8h-source.html#l00037">hdSecCount</a>, <a class="el" href="hd_8h-source.html#l00038">hdSecNum</a>, <a class="el" href="hd_8h-source.html#l00052">driveInfo::hdShift</a>, <a class="el" href="hd_8h-source.html#l00042">hdStat</a>, <a class="el" href="io_8c-source.html#l00039">inportByte()</a>, <a class="el" href="io_8c-source.html#l00056">inportWord()</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="hd_8h-source.html#l00058">driveInfo::parOffset</a>, and <a class="el" href="start_8S-source.html#l00051">x20</a>.
<p>
Referenced by <a class="el" href="hd_8c-source.html#l00039">initHardDisk()</a>.
</div>
</div><p>
<a class="anchor" name="8e64e509439c31ba2acfe68a7aefcc10"></a><!-- doxytag: member="hd.h::hdReset" ref="8e64e509439c31ba2acfe68a7aefcc10" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int hdReset           </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="hd_8c-source.html#l00141">141</a> of file <a class="el" href="hd_8c-source.html">hd.c</a>.
<p>
Referenced by <a class="el" href="hd_8c-source.html#l00039">initHardDisk()</a>.
</div>
</div><p>
<a class="anchor" name="525245216f426465a3c0f130bd0efd19"></a><!-- doxytag: member="hd.h::hdStandby" ref="525245216f426465a3c0f130bd0efd19" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int hdStandby           </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="hd_8c-source.html#l00125">125</a> of file <a class="el" href="hd_8c-source.html">hd.c</a>.
<p>
Referenced by <a class="el" href="hd_8c-source.html#l00039">initHardDisk()</a>.
</div>
</div><p>
<a class="anchor" name="9535712ecc532571658cc6861570dde5"></a><!-- doxytag: member="hd.h::hdStart" ref="9535712ecc532571658cc6861570dde5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int hdStart           </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="hd_8c-source.html#l00129">129</a> of file <a class="el" href="hd_8c-source.html">hd.c</a>.
<p>
Referenced by <a class="el" href="hd_8c-source.html#l00039">initHardDisk()</a>.
</div>
</div><p>
<a class="anchor" name="7a00465121a584acd10c1ca1b46680a1"></a><!-- doxytag: member="hd.h::hdStop" ref="7a00465121a584acd10c1ca1b46680a1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int hdStop           </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="hd_8c-source.html#l00133">133</a> of file <a class="el" href="hd_8c-source.html">hd.c</a>.
<p>
Referenced by <a class="el" href="hd_8c-source.html#l00039">initHardDisk()</a>.
</div>
</div><p>
<a class="anchor" name="6bbbb9d4c1c81ca945bf093cbba5490c"></a><!-- doxytag: member="hd.h::hdWrite" ref="6bbbb9d4c1c81ca945bf093cbba5490c" args="(struct driveInfo *hdd, void *, uInt32, uInt32)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void hdWrite           </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structdriveInfo.html">driveInfo</a> *&nbsp;</td>
          <td class="paramname"> <em>hdd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname">, </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">, </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"></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="hd_8c-source.html#l00222">222</a> of file <a class="el" href="hd_8c-source.html">hd.c</a>.
<p>
References <a class="el" href="hd_8h-source.html#l00057">driveInfo::hdCalc</a>, <a class="el" href="hd_8h-source.html#l00043">hdCmd</a>, <a class="el" href="hd_8h-source.html#l00040">hdCylHi</a>, <a class="el" href="hd_8h-source.html#l00039">hdCylLow</a>, <a class="el" href="hd_8h-source.html#l00035">hdData</a>, <a class="el" href="hd_8h-source.html#l00050">driveInfo::hdDev</a>, <a class="el" href="hd_8h-source.html#l00049">driveInfo::hdEnable</a>, <a class="el" href="hd_8h-source.html#l00041">hdHead</a>, <a class="el" href="hd_8h-source.html#l00054">driveInfo::hdMulti</a>, <a class="el" href="hd_8h-source.html#l00055">driveInfo::hdPort</a>, <a class="el" href="hd_8h-source.html#l00037">hdSecCount</a>, <a class="el" href="hd_8h-source.html#l00038">hdSecNum</a>, <a class="el" href="hd_8h-source.html#l00052">driveInfo::hdShift</a>, <a class="el" href="hd_8h-source.html#l00042">hdStat</a>, <a class="el" href="io_8c-source.html#l00039">inportByte()</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="io_8c-source.html#l00104">outportWord()</a>, <a class="el" href="hd_8h-source.html#l00058">driveInfo::parOffset</a>, and <a class="el" href="ap-boot_8S-source.html#l00052">x30</a>.
<p>
Referenced by <a class="el" href="hd_8c-source.html#l00039">initHardDisk()</a>.
</div>
</div><p>
<a class="anchor" name="a6ffe735243161c69ce0930999e02f88"></a><!-- doxytag: member="hd.h::initHardDisk" ref="a6ffe735243161c69ce0930999e02f88" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int initHardDisk           </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="hd_8c-source.html#l00039">39</a> of file <a class="el" href="hd_8c-source.html">hd.c</a>.
<p>
References <a class="el" href="hd_8h-source.html#l00148">bsd_disklabel::d_npartitions</a>, <a class="el" href="structbsd__disklabel.html#eedd8d968d4bc4b3434e0122ccef8fe9">bsd_disklabel::d_partitions</a>, <a class="el" href="devfs_8c-source.html#l00178">devfs_makeNode()</a>, <a class="el" href="device_8c-source.html#l00051">device_add()</a>, <a class="el" href="hd_8h-source.html#l00080">dos_partition::dp_start</a>, <a class="el" href="hd_8h-source.html#l00161">fstypenames</a>, <a class="el" href="hd_8h-source.html#l00050">driveInfo::hdDev</a>, <a class="el" href="hd_8c-source.html#l00145">hdInit()</a>, <a class="el" href="hd_8c-source.html#l00137">hdIoctl()</a>, <a class="el" href="hd_8h-source.html#l00055">driveInfo::hdPort</a>, <a class="el" href="hd_8c-source.html#l00284">hdRead()</a>, <a class="el" href="hd_8c-source.html#l00141">hdReset()</a>, <a class="el" href="hd_8h-source.html#l00056">driveInfo::hdSize</a>, <a class="el" href="hd_8c-source.html#l00125">hdStandby()</a>, <a class="el" href="hd_8c-source.html#l00129">hdStart()</a>, <a class="el" href="hd_8c-source.html#l00133">hdStop()</a>, <a class="el" href="hd_8c-source.html#l00222">hdWrite()</a>, <a class="el" href="device_8h-source.html#l00052">device_interface::info</a>, <a class="el" href="structdevice__interface.html#92620413c2580ea3cf01e121bb54c254">device_interface::init</a>, <a class="el" href="structdevice__interface.html#a1c4703d14f4a7f53a8dd6d6dda9e641">device_interface::ioctl</a>, <a class="el" href="kmalloc_8c-source.html#l00247">kmalloc()</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, <a class="el" href="device_8h-source.html#l00051">device_interface::major</a>, <a class="el" href="lib_2string_8h.html#e33b18edb618c656b9b795b9fce2316c">memcpy()</a>, <a class="el" href="pci_8c-source.html#l00039">name</a>, <a class="el" href="hd_8h-source.html#l00155">bsd_disklabel::partition::p_fstype</a>, <a class="el" href="hd_8h-source.html#l00153">bsd_disklabel::partition::p_offset</a>, <a class="el" href="hd_8h-source.html#l00152">bsd_disklabel::partition::p_size</a>, <a class="el" href="hd_8h-source.html#l00058">driveInfo::parOffset</a>, <a class="el" href="structdevice__interface.html#6caf84418059d0121e76d873e305ddcb">device_interface::read</a>, <a class="el" href="structdevice__interface.html#cbfb9de4fadc968479e1536fcef4a2d6">device_interface::reset</a>, <a class="el" href="kprintf_8c-source.html#l00051">sprintf()</a>, <a class="el" href="structdevice__interface.html#2c8e52e7fd5b4766863525af3ecb14ed">device_interface::standby</a>, <a class="el" href="structdevice__interface.html#6376721f0db48a8cc534b41c28e9a060">device_interface::start</a>, <a class="el" href="structdevice__interface.html#734dddd62b4d34efc7f8faaa4f009304">device_interface::stop</a>, <a class="el" href="structdevice__interface.html#f46913eec9f191290c82db23380bc5df">device_interface::write</a>, and <a class="el" href="ap-boot_8S-source.html#l00006">x1</a>.
</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="6ef530d16811c8a4680c136ed9e72cbf"></a><!-- doxytag: member="hd.h::fstypenames" ref="6ef530d16811c8a4680c136ed9e72cbf" args="[]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* <a class="el" href="hd_8h.html#6ef530d16811c8a4680c136ed9e72cbf">fstypenames</a>[]<code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<b>Initial value:</b><div class="fragment"><pre class="fragment"> {
        <span class="stringliteral">"unused"</span>,
        <span class="stringliteral">"swap"</span>,
        <span class="stringliteral">"Version 6"</span>,
        <span class="stringliteral">"Version 7"</span>,
        <span class="stringliteral">"System V"</span>,
        <span class="stringliteral">"4.1BSD"</span>,
        <span class="stringliteral">"Eighth Edition"</span>,
        <span class="stringliteral">"4.2BSD"</span>,
        <span class="stringliteral">"MSDOS"</span>,
        <span class="stringliteral">"4.4LFS"</span>,
        <span class="stringliteral">"unknown"</span>,
        <span class="stringliteral">"HPFS"</span>,
        <span class="stringliteral">"ISO9660"</span>,
        <span class="stringliteral">"boot"</span>,
        <span class="stringliteral">"vinum"</span>,
        <span class="stringliteral">"raid"</span>,
        <span class="stringliteral">"?"</span>,
        <span class="stringliteral">"?"</span>,
        <span class="stringliteral">"?"</span>,
        <span class="stringliteral">"?"</span>,
        <span class="stringliteral">"jfs"</span>,
        <a class="code" href="def_8h.html#070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>
}
</pre></div>
<p>
Definition at line <a class="el" href="hd_8h-source.html#l00161">161</a> of file <a class="el" href="hd_8h-source.html">hd.h</a>.
<p>
Referenced by <a class="el" href="hd_8c-source.html#l00039">initHardDisk()</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Tue Dec 12 08:52:11 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>