<!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 Page</span></a></li> <li><a href="classes.html"><span>Data 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> <u>S</u>earch for </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 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> » <a class="el" href="dir_832905b1f7f5feaf61a306b40c0ac817.html">sys</a> » <a class="el" href="dir_caf4200c438ae9601464168e21e8e4d8.html">include</a> » <a class="el" href="dir_912887cea1b4cb6e273c4527a2250d09.html">pci</a></div> <h1>hd.h File Reference</h1><code>#include <<a class="el" href="ubixfs_8h-source.html">ubixfs/ubixfs.h</a>></code><br> <p> Include dependency graph for hd.h:<p><center><img src="hd_8h__incl.png" border="0" usemap="#src/sys/include/pci/hd.h_map" alt=""></center> <map name="src/sys/include/pci/hd.h_map"> <area href="ubixfs_8h.html" shape="rect" coords="236,107,356,133" alt=""> <area href="types_8h.html" shape="rect" coords="596,107,716,133" alt=""> <area href="vfs_8h.html" shape="rect" coords="438,56,515,83" alt=""> <area href="device_8h.html" shape="rect" coords="423,107,530,133" alt=""> <area href="mpi_8h.html" shape="rect" coords="431,157,522,184" alt=""> <area href="dirCache_8h.html" shape="rect" coords="407,208,546,235" alt=""> </map> <p> This graph shows which files directly or indirectly include this file:<p><center><img src="hd_8h__dep__incl.png" border="0" usemap="#src/sys/include/pci/hd.hdep_map" alt=""></center> <map name="src/sys/include/pci/hd.hdep_map"> <area href="init_8h.html" shape="rect" coords="236,5,444,32" alt=""> <area href="hd_8c.html" shape="rect" coords="278,56,403,83" alt=""> <area href="main_8c.html" shape="rect" coords="494,5,638,32" alt=""> </map> <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 </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 </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 </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 </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#7623c70dac9a02ab1f75aa7a6e547c4c">hdCmd</a> 0x7</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#2a82bac9f72d97307f87e60acb709ebb">hdCylHi</a> 0x5</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#30a2e624c7eda626a913f0b5b9ed26b7">hdCylLow</a> 0x4</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#1571e7119dfede60820469184878948a">hdData</a> 0x0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#98d5f3b47b6afa2948cb1db2a9e0cd36">hdError</a> 0x1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#cefc72ce44e542db4580ce7e7c732aab">hdHead</a> 0x6</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#8206a5d5a25f1d6fc9e02013572c52db">hdSecCount</a> 0x2</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#0fa794dfb3e811122d5eafbe348c368f">hdSecNum</a> 0x3</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#73f0c3f82605d0aa108e8186e4daae6b">hdStat</a> 0x7</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#b365aa9aae531413e33947aba3d079cc">MAXPARTITIONS</a> 8</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#24fef906c993a6511034377118497b67">NDDATA</a> 5</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="hd_8h.html#a7634e74ec4ca64b3a931b89c07ece15">NSPARE</a> 5</td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </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> *dev)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </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 </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 </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 </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 </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 </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 </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 </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 * </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 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 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 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 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 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 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 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 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 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 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 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 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> * </td> <td class="paramname"> <em>dev</em> </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#l00145">145</a> of file <a class="el" href="hd_8c-source.html">hd.c</a>. <p> References <a class="el" href="device_8h-source.html#l00038">device_node::devInfo</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="device_8h-source.html#l00052">device_interface::info</a>, <a class="el" href="device_8h-source.html#l00049">device_interface::initialized</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>, and <a class="el" href="device_8h-source.html#l00050">device_interface::size</a>. <p> Referenced by <a class="el" href="hd_8c-source.html#l00039">initHardDisk()</a>. <p> Here is the call graph for this function:<p><center><img src="hd_8h_b01b187dc277e089d0161315437fde41_cgraph.png" border="0" usemap="#hd_8h_b01b187dc277e089d0161315437fde41_cgraph_map" alt=""></center> <map name="hd_8h_b01b187dc277e089d0161315437fde41_cgraph_map"> <area href="io_8h.html#77b934268de1b3ecdcf3f275413b3108" shape="rect" coords="120,5,213,32" alt=""> <area href="io_8h.html#fb703b187feb4b92444454df6c3dd9e6" shape="rect" coords="119,56,215,83" alt=""> <area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="133,107,200,133" alt=""> <area href="io_8h.html#8acc1a06073db2e7b92ffbd00fbd0cf1" shape="rect" coords="116,157,217,184" alt=""> </map> </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> ) </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> * </td> <td class="paramname"> <em>hdd</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">void * </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> </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> </td> <td class="paramname"></td><td> </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>. <p> Here is the call graph for this function:<p><center><img src="hd_8h_bda1e72920488b35bcfc9ed68bf4c268_cgraph.png" border="0" usemap="#hd_8h_bda1e72920488b35bcfc9ed68bf4c268_cgraph_map" alt=""></center> <map name="hd_8h_bda1e72920488b35bcfc9ed68bf4c268_cgraph_map"> <area href="io_8h.html#77b934268de1b3ecdcf3f275413b3108" shape="rect" coords="133,5,227,32" alt=""> <area href="io_8h.html#fb703b187feb4b92444454df6c3dd9e6" shape="rect" coords="132,56,228,83" alt=""> <area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="147,107,213,133" alt=""> <area href="io_8h.html#8acc1a06073db2e7b92ffbd00fbd0cf1" shape="rect" coords="129,157,231,184" alt=""> </map> </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> ) </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> ) </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> ) </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> ) </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> * </td> <td class="paramname"> <em>hdd</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">void * </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> </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> </td> <td class="paramname"></td><td> </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>. <p> Here is the call graph for this function:<p><center><img src="hd_8h_6bbbb9d4c1c81ca945bf093cbba5490c_cgraph.png" border="0" usemap="#hd_8h_6bbbb9d4c1c81ca945bf093cbba5490c_cgraph_map" alt=""></center> <map name="hd_8h_6bbbb9d4c1c81ca945bf093cbba5490c_cgraph_map"> <area href="io_8h.html#77b934268de1b3ecdcf3f275413b3108" shape="rect" coords="135,5,228,32" alt=""> <area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="148,56,215,83" alt=""> <area href="io_8h.html#8acc1a06073db2e7b92ffbd00fbd0cf1" shape="rect" coords="131,107,232,133" alt=""> <area href="io_8h.html#243f6b6d22cc5948908b764d58efc2b0" shape="rect" coords="128,157,235,184" alt=""> </map> </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> ) </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#60c26768f84bf0061c2436f29a2fdff0">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>. <p> Here is the call graph for this function:<p><center><img src="hd_8h_a6ffe735243161c69ce0930999e02f88_cgraph.png" border="0" usemap="#hd_8h_a6ffe735243161c69ce0930999e02f88_cgraph_map" alt=""></center> <map name="hd_8h_a6ffe735243161c69ce0930999e02f88_cgraph_map"> <area href="devfs_8c.html#d568bae84bef3691539f1b1d0f6a54b4" shape="rect" coords="160,157,299,184" alt=""> <area href="kmalloc_8h.html#150eab2ac4ce4553e21ca10e7f441762" shape="rect" coords="368,309,443,336" alt=""> <area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="527,461,593,488" alt=""> <area href="lib_2string_8h.html#c38cd16373d98782e1465bd3d5aba470" shape="rect" coords="373,5,437,32" alt=""> <area href="device_8h.html#256b750ab99e3be9b83a9bfd37a22388" shape="rect" coords="180,360,279,387" alt=""> <area href="hd_8h.html#b01b187dc277e089d0161315437fde41" shape="rect" coords="199,512,260,539" alt=""> <area href="hd_8h.html#ce9b924d48cc450c255d1d48fcbc13a5" shape="rect" coords="196,613,263,640" alt=""> <area href="hd_8h.html#bda1e72920488b35bcfc9ed68bf4c268" shape="rect" coords="193,563,265,589" alt=""> <area href="hd_8h.html#8e64e509439c31ba2acfe68a7aefcc10" shape="rect" coords="191,715,268,741" alt=""> <area href="hd_8h.html#525245216f426465a3c0f130bd0efd19" shape="rect" coords="181,765,277,792" alt=""> <area href="hd_8h.html#9535712ecc532571658cc6861570dde5" shape="rect" coords="193,816,265,843" alt=""> <area href="hd_8h.html#7a00465121a584acd10c1ca1b46680a1" shape="rect" coords="195,867,264,893" alt=""> <area href="hd_8h.html#6bbbb9d4c1c81ca945bf093cbba5490c" shape="rect" coords="192,664,267,691" alt=""> <area href="lib_2string_8h.html#e33b18edb618c656b9b795b9fce2316c" shape="rect" coords="189,968,269,995" alt=""> <area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="520,208,600,235" alt=""> <area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="512,309,608,336" alt=""> <area href="mount_8h.html#a8cc926aa9badb781158b6738b1b0f2d" shape="rect" coords="347,56,464,83" alt=""> <area href="io_8h.html#77b934268de1b3ecdcf3f275413b3108" shape="rect" coords="359,563,452,589" alt=""> <area href="io_8h.html#fb703b187feb4b92444454df6c3dd9e6" shape="rect" coords="357,512,453,539" alt=""> <area href="io_8h.html#8acc1a06073db2e7b92ffbd00fbd0cf1" shape="rect" coords="355,664,456,691" alt=""> <area href="io_8h.html#243f6b6d22cc5948908b764d58efc2b0" shape="rect" coords="352,765,459,792" alt=""> </map> </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="types_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 Fri Dec 15 11:20:00 2006 for UbixOS V2 by <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>