<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.16"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>UbixOS: isa/fdc.c File Reference</title> <link href="../../tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../jquery.js"></script> <script type="text/javascript" src="../../dynsections.js"></script> <link href="../../navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../resize.js"></script> <script type="text/javascript" src="../../navtreedata.js"></script> <script type="text/javascript" src="../../navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</script> <link href="../../doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">UbixOS  <span id="projectnumber">2.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.16 --> <script type="text/javascript" src="../../menudata.js"></script> <script type="text/javascript" src="../../menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('../../',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('d9/d43/fdc_8c.html','../../');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> | <a href="#var-members">Variables</a> </div> <div class="headertitle"> <div class="title">fdc.c File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <<a class="el" href="../../d5/d67/fdc_8h_source.html">isa/fdc.h</a>></code><br /> <code>#include <<a class="el" href="../../d2/d68/8259_8h_source.html">isa/8259.h</a>></code><br /> <code>#include <<a class="el" href="../../dd/d78/video_8h_source.html">sys/video.h</a>></code><br /> <code>#include <<a class="el" href="../../d5/d4a/gdt_8h_source.html">sys/gdt.h</a>></code><br /> <code>#include <<a class="el" href="../../d4/d35/idt_8h_source.html">sys/idt.h</a>></code><br /> <code>#include <<a class="el" href="../../df/d63/spinlock_8h_source.html">ubixos/spinlock.h</a>></code><br /> <code>#include <<a class="el" href="../../dc/dac/io_8h_source.html">sys/io.h</a>></code><br /> <code>#include <<a class="el" href="../../d9/d95/dma_8h_source.html">sys/dma.h</a>></code><br /> <code>#include <<a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html">sys/device.h</a>></code><br /> <code>#include <<a class="el" href="../../da/d28/kprintf_8h_source.html">lib/kprintf.h</a>></code><br /> <code>#include <<a class="el" href="../../d4/d03/kmalloc_8h_source.html">lib/kmalloc.h</a>></code><br /> <code>#include <<a class="el" href="../../d9/dd9/devfs_8h_source.html">devfs/devfs.h</a>></code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for fdc.c:</div> <div class="dyncontent"> <div class="center"><img src="../../d0/dce/fdc_8c__incl.png" border="0" usemap="#isa_2fdc_8c" alt=""/></div> <map name="isa_2fdc_8c" id="isa_2fdc_8c"> <area shape="rect" title=" " alt="" coords="427,5,498,32"/> <area shape="rect" href="../../d5/d67/fdc_8h.html" title=" " alt="" coords="782,379,853,405"/> <area shape="rect" href="../../d2/d68/8259_8h.html" title=" " alt="" coords="5,155,88,181"/> <area shape="rect" href="../../dd/d78/video_8h.html" title=" " alt="" coords="113,155,199,181"/> <area shape="rect" href="../../d5/d4a/gdt_8h.html" title=" " alt="" coords="275,155,351,181"/> <area shape="rect" href="../../d4/d35/idt_8h.html" title=" " alt="" coords="216,80,288,107"/> <area shape="rect" href="../../df/d63/spinlock_8h.html" title=" " alt="" coords="280,229,403,256"/> <area shape="rect" href="../../dc/dac/io_8h.html" title=" " alt="" coords="465,80,533,107"/> <area shape="rect" href="../../d9/d95/dma_8h.html" title=" " alt="" coords="445,379,528,405"/> <area shape="rect" href="../../d4/d7e/include_2sys_2device_8h.html" title=" " alt="" coords="877,379,971,405"/> <area shape="rect" href="../../da/d28/kprintf_8h.html" title=" " alt="" coords="557,80,643,107"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html" title=" " alt="" coords="667,80,762,107"/> <area shape="rect" href="../../d9/dd9/devfs_8h.html" title=" " alt="" coords="1371,80,1466,107"/> <area shape="rect" href="../../d0/d27/include_2sys_2types_8h.html" title=" " alt="" coords="964,453,1055,480"/> <area shape="rect" href="../../d0/d6f/__types_8h.html" title=" " alt="" coords="1097,677,1194,704"/> <area shape="rect" href="../../d9/dab/select_8h.html" title=" " alt="" coords="963,528,1056,555"/> <area shape="rect" href="../../d6/d92/cdefs_8h.html" title=" " alt="" coords="717,603,806,629"/> <area shape="rect" href="../../d6/d30/__timespec_8h.html" title=" " alt="" coords="1135,603,1254,629"/> <area shape="rect" href="../../df/dc5/__timeval_8h.html" title=" " alt="" coords="830,603,935,629"/> <area shape="rect" href="../../d6/da4/__sigset_8h.html" title=" " alt="" coords="959,603,1059,629"/> <area shape="rect" href="../../d1/d2d/stdarg_8h.html" title=" " alt="" coords="637,155,707,181"/> <area shape="rect" href="../../d6/db4/include_2vfs_2file_8h.html" title=" " alt="" coords="1385,155,1453,181"/> <area shape="rect" href="../../d1/de9/dirCache_8h.html" title=" " alt="" coords="1497,229,1620,256"/> <area shape="rect" href="../../db/dd5/thread_8h.html" title=" " alt="" coords="1654,229,1749,256"/> <area shape="rect" href="../../d3/d73/inode_8h.html" title=" " alt="" coords="1127,229,1209,256"/> <area shape="rect" href="../../df/d42/ufs_8h.html" title=" " alt="" coords="889,304,959,331"/> <area shape="rect" href="../../d2/d29/mount_8h.html" title=" " alt="" coords="1335,229,1423,256"/> <area shape="rect" href="../../d7/d0b/trap_8h.html" title=" " alt="" coords="1567,304,1647,331"/> <area shape="rect" href="../../df/d92/sys_2signal_8h.html" title=" " alt="" coords="1655,379,1747,405"/> <area shape="rect" href="../../d8/d01/resource_8h.html" title=" " alt="" coords="1658,453,1766,480"/> <area shape="rect" href="../../d6/d35/i386_2cpu_8h.html" title=" " alt="" coords="1548,379,1631,405"/> <area shape="rect" href="../../d1/df2/wait_8h.html" title=" " alt="" coords="1161,304,1260,331"/> <area shape="rect" href="../../d1/d7d/pipe__fs_8h.html" title=" " alt="" coords="1284,304,1372,331"/> <area shape="rect" href="../../d8/dff/msdos__fs_8h.html" title=" " alt="" coords="983,304,1086,331"/> </map> </div> </div> <p><a href="../../d9/d43/fdc_8c_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a20a389349155403bb7b901d62f4ff93d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d43/fdc_8c.html#a20a389349155403bb7b901d62f4ff93d">asm</a> (".globl <a class="el" href="../../d5/d67/fdc_8h.html#a2c2196dd9229105994bb3840347e6f05">floppyIsr</a> \n" "floppyIsr: \n" " pusha \n" " push %ss \n" " push %ds \n" " push %es \n" " push %<a class="el" href="../../de/d1a/structfs.html">fs</a> \n" " push %gs \n" " call <a class="el" href="../../d9/d43/fdc_8c.html#a5042dfaf2327990b6d1e1a7d3e01751c">floppyIsrhndlr</a> \n" " pop %gs \n" " pop %<a class="el" href="../../de/d1a/structfs.html">fs</a> \n" " pop %es \n" " pop %ds \n" " pop %ss \n" " popa \n" " iret \n")</td></tr> <tr class="separator:a20a389349155403bb7b901d62f4ff93d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa0f8325f93de9409e403e620f914e69f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d43/fdc_8c.html#aa0f8325f93de9409e403e620f914e69f">block2Hts</a> (int block, int *head, int *track, int *sector)</td></tr> <tr class="separator:aa0f8325f93de9409e403e620f914e69f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2fad92b12d9ff56bf300b7e53875c75d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d43/fdc_8c.html#a2fad92b12d9ff56bf300b7e53875c75d">fdc_init</a> ()</td></tr> <tr class="separator:a2fad92b12d9ff56bf300b7e53875c75d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a62847307f237f6b4240d1eb4718b13e7"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d43/fdc_8c.html#a62847307f237f6b4240d1eb4718b13e7">fdcInit2</a> (struct <a class="el" href="../../de/d35/structdevice__node.html">device_node</a> *dev)</td></tr> <tr class="separator:a62847307f237f6b4240d1eb4718b13e7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1f2029ff3278c4b819c4420c168cc082"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d43/fdc_8c.html#a1f2029ff3278c4b819c4420c168cc082">fdcRead</a> (void *info, void *baseAddr, <a class="el" href="../../dd/d1e/objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a> startSector, <a class="el" href="../../dd/d1e/objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a> sectorCount)</td></tr> <tr class="separator:a1f2029ff3278c4b819c4420c168cc082"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4b5fded251628524148377601d44377a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d27/include_2sys_2types_8h.html#af6a258d8f3ee5206d682d799316314b1">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d43/fdc_8c.html#a4b5fded251628524148377601d44377a">fdcRw</a> (int block, unsigned char *blockBuffer, <a class="el" href="../../d0/d27/include_2sys_2types_8h.html#af6a258d8f3ee5206d682d799316314b1">bool</a> <a class="el" href="../../d3/d0a/gen__calls_8c.html#a5eff3a25d417fafce7c4f211db219ca2">read</a>, unsigned long numSectors)</td></tr> <tr class="separator:a4b5fded251628524148377601d44377a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acc9e5f35deea53f5b68798269b9be7c0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d43/fdc_8c.html#acc9e5f35deea53f5b68798269b9be7c0">fdcWrite</a> (void *info, void *baseAddr, <a class="el" href="../../dd/d1e/objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a> startSector, <a class="el" href="../../dd/d1e/objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a> sectorCount)</td></tr> <tr class="separator:acc9e5f35deea53f5b68798269b9be7c0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5042dfaf2327990b6d1e1a7d3e01751c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d43/fdc_8c.html#a5042dfaf2327990b6d1e1a7d3e01751c">floppyIsrhndlr</a> ()</td></tr> <tr class="separator:a5042dfaf2327990b6d1e1a7d3e01751c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae266cdb34b69c65cfc108bbc72a4e3ff"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d43/fdc_8c.html#ae266cdb34b69c65cfc108bbc72a4e3ff">getByte</a> ()</td></tr> <tr class="separator:ae266cdb34b69c65cfc108bbc72a4e3ff"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a044fc0dea0fb35e6fab7f3c0badea2c9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d43/fdc_8c.html#a044fc0dea0fb35e6fab7f3c0badea2c9">motorOff</a> (void)</td></tr> <tr class="separator:a044fc0dea0fb35e6fab7f3c0badea2c9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a94483feb4903fca9643813faae8a76ee"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d43/fdc_8c.html#a94483feb4903fca9643813faae8a76ee">motorOn</a> (void)</td></tr> <tr class="separator:a94483feb4903fca9643813faae8a76ee"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa03242a5e44c4f2d10e15d296aca8c6b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d27/include_2sys_2types_8h.html#af6a258d8f3ee5206d682d799316314b1">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d43/fdc_8c.html#aa03242a5e44c4f2d10e15d296aca8c6b">readBlock</a> (int block, <a class="el" href="../../dd/d1e/objgfx30_8h.html#a7e31ca7716b8d85dd473450a5c5e5a97">Int8</a> *blockBuffer, unsigned long numSectors)</td></tr> <tr class="separator:aa03242a5e44c4f2d10e15d296aca8c6b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2a16ea9e09b5f3dc2a559351afdc75f3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d43/fdc_8c.html#a2a16ea9e09b5f3dc2a559351afdc75f3">recalibrate</a> (void)</td></tr> <tr class="separator:a2a16ea9e09b5f3dc2a559351afdc75f3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3aea9deb2a0bfea9ff05a898f4822e31"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d43/fdc_8c.html#a3aea9deb2a0bfea9ff05a898f4822e31">reset</a> (void)</td></tr> <tr class="separator:a3aea9deb2a0bfea9ff05a898f4822e31"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5886a896e5f0361f36b40d007db6e683"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d27/include_2sys_2types_8h.html#af6a258d8f3ee5206d682d799316314b1">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d43/fdc_8c.html#a5886a896e5f0361f36b40d007db6e683">seek</a> (int track)</td></tr> <tr class="separator:a5886a896e5f0361f36b40d007db6e683"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae708fa84d19a72e77185b3a214e81573"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d43/fdc_8c.html#ae708fa84d19a72e77185b3a214e81573">sendByte</a> (int <a class="el" href="../../dd/d1e/objgfx30_8h.html#a7e31ca7716b8d85dd473450a5c5e5a97">Int8</a>)</td></tr> <tr class="separator:ae708fa84d19a72e77185b3a214e81573"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af5b6e5123d27381ca120b7b4fea7b242"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d27/include_2sys_2types_8h.html#af6a258d8f3ee5206d682d799316314b1">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d43/fdc_8c.html#af5b6e5123d27381ca120b7b4fea7b242">waitFdc</a> (<a class="el" href="../../d0/d27/include_2sys_2types_8h.html#af6a258d8f3ee5206d682d799316314b1">bool</a> sensei)</td></tr> <tr class="separator:af5b6e5123d27381ca120b7b4fea7b242"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aebbcd7bc8695e888491b97b5bf27bd9c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d27/include_2sys_2types_8h.html#af6a258d8f3ee5206d682d799316314b1">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d43/fdc_8c.html#aebbcd7bc8695e888491b97b5bf27bd9c">writeBlock</a> (int block, <a class="el" href="../../dd/d1e/objgfx30_8h.html#a7e31ca7716b8d85dd473450a5c5e5a97">Int8</a> *blockBuffer, unsigned long numSectors)</td></tr> <tr class="separator:aebbcd7bc8695e888491b97b5bf27bd9c"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> Variables</h2></td></tr> <tr class="memitem:a4235a63d122daa0852a95529c2f93498"><td class="memItemLeft" align="right" valign="top">unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d43/fdc_8c.html#a4235a63d122daa0852a95529c2f93498">tbaddr</a> = 0x80000L</td></tr> <tr class="separator:a4235a63d122daa0852a95529c2f93498"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Function Documentation</h2> <a id="a20a389349155403bb7b901d62f4ff93d"></a> <h2 class="memtitle"><span class="permalink"><a href="#a20a389349155403bb7b901d62f4ff93d">◆ </a></span>asm()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">asm </td> <td>(</td> <td class="paramtype">".globl <a class="el" href="../../d5/d67/fdc_8h.html#a2c2196dd9229105994bb3840347e6f05">floppyIsr</a> \n" "floppyIsr: \n" " pusha \n" " push %ss \n" " push %ds \n" " push %es \n" " push %<a class="el" href="../../de/d1a/structfs.html">fs</a> \n" " push %gs \n" " call <a class="el" href="../../d9/d43/fdc_8c.html#a5042dfaf2327990b6d1e1a7d3e01751c">floppyIsrhndlr</a> \n" " pop %gs \n" " pop %<a class="el" href="../../de/d1a/structfs.html">fs</a> \n" " pop %es \n" " pop %ds \n" " pop %ss \n" " popa \n" " iret \n" </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> </div> </div> <a id="aa0f8325f93de9409e403e620f914e69f"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa0f8325f93de9409e403e620f914e69f">◆ </a></span>block2Hts()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void block2Hts </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>block</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>head</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>track</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>sector</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d43/fdc_8c_source.html#l00200">200</a> of file <a class="el" href="../../d9/d43/fdc_8c_source.html">fdc.c</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d9/d43/fdc_8c_source.html#l00127">fdcRw()</a>.</p> </div> </div> <a id="a2fad92b12d9ff56bf300b7e53875c75d"></a> <h2 class="memtitle"><span class="permalink"><a href="#a2fad92b12d9ff56bf300b7e53875c75d">◆ </a></span>fdc_init()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int fdc_init </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d43/fdc_8c_source.html#l00061">61</a> of file <a class="el" href="../../d9/d43/fdc_8c_source.html">fdc.c</a>.</p> <p class="reference">References <a class="el" href="../../d4/d27/devfs_8c_source.html#l00174">devfs_makeNode()</a>, <a class="el" href="../../d5/d96/device_8c_source.html#l00049">device_add()</a>, <a class="el" href="../../d5/d4a/gdt_8h_source.html#l00043">dInt</a>, <a class="el" href="../../d5/d4a/gdt_8h_source.html#l00054">dPresent</a>, <a class="el" href="../../d9/d43/fdc_8c_source.html#l00056">fdcInit2()</a>, <a class="el" href="../../d9/d43/fdc_8c_source.html#l00303">fdcRead()</a>, <a class="el" href="../../d9/d43/fdc_8c_source.html#l00309">fdcWrite()</a>, <a class="el" href="../../d5/d67/fdc_8h.html#a2c2196dd9229105994bb3840347e6f05">floppyIsr()</a>, <a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html#l00055">device_interface::init</a>, <a class="el" href="../../d2/d68/8259_8h.html#a0ac079c4d770f02e505f4d8569a6960a">irqEnable()</a>, <a class="el" href="../../d3/d1a/kmalloc_8c_source.html#l00241">kmalloc()</a>, <a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html#l00050">device_interface::major</a>, <a class="el" href="../../d2/d68/8259_8h_source.html#l00041">mVec</a>, <a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html#l00052">device_interface::read</a>, <a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html#l00054">device_interface::reset</a>, <a class="el" href="../../d9/d43/fdc_8c_source.html#l00288">reset()</a>, <a class="el" href="../../d5/d05/idt_8c_source.html#l00208">setVector()</a>, and <a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html#l00053">device_interface::write</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/d43/fdc_8c_a2fad92b12d9ff56bf300b7e53875c75d_cgraph.png" border="0" usemap="#d9/d43/fdc_8c_a2fad92b12d9ff56bf300b7e53875c75d_cgraph" alt=""/></div> <map name="d9/d43/fdc_8c_a2fad92b12d9ff56bf300b7e53875c75d_cgraph" id="d9/d43/fdc_8c_a2fad92b12d9ff56bf300b7e53875c75d_cgraph"> <area shape="rect" title=" " alt="" coords="5,277,68,304"/> <area shape="rect" href="../../d4/d27/devfs_8c.html#ad568bae84bef3691539f1b1d0f6a54b4" title=" " alt="" coords="243,360,363,387"/> <area shape="rect" href="../../d4/d7e/include_2sys_2device_8h.html#a256b750ab99e3be9b83a9bfd37a22388" title=" " alt="" coords="644,56,731,83"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html#a150eab2ac4ce4553e21ca10e7f441762" title=" " alt="" coords="779,5,845,32"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#a62847307f237f6b4240d1eb4718b13e7" title=" " alt="" coords="124,353,187,380"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#a1f2029ff3278c4b819c4420c168cc082" title=" " alt="" coords="268,113,337,140"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#acc9e5f35deea53f5b68798269b9be7c0" title=" " alt="" coords="120,201,191,228"/> <area shape="rect" href="../../d5/d67/fdc_8h.html#a2c2196dd9229105994bb3840347e6f05" title=" " alt="" coords="120,404,191,431"/> <area shape="rect" href="../../d2/d68/8259_8h.html#a0ac079c4d770f02e505f4d8569a6960a" title=" " alt="" coords="117,455,193,481"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#a3aea9deb2a0bfea9ff05a898f4822e31" title=" " alt="" coords="414,259,465,285"/> <area shape="rect" href="../../d4/d35/idt_8h.html#a174a47ed653fc64fff6b5bb1b895c2cf" title=" " alt="" coords="116,505,195,532"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="1145,107,1220,133"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="1269,81,1359,108"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="1268,132,1360,159"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a20b56810edb62a6fe59917015c30848f" title=" " alt="" coords="783,233,841,260"/> <area shape="rect" href="../../dd/d78/video_8h.html#a5429378b96a24fadfd2d1f8d777eb95a" title=" " alt="" coords="899,208,954,235"/> <area shape="rect" href="../../df/d87/kprintf_8c.html#a3093cdac4668a4ccffdd7f77270888b7" title=" " alt="" coords="895,259,958,285"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a3b4a66bf1f6583e65660f281b6014aa1" title=" " alt="" coords="893,309,960,336"/> <area shape="rect" href="../../dc/dac/io_8h.html#a77b934268de1b3ecdcf3f275413b3108" title="input one byte from specified port" alt="" coords="1012,157,1093,184"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="1008,335,1097,361"/> <area shape="rect" href="../../dd/d71/tty_8h.html#a4f96ccac7e60296ef496008d8cbed0ff" title=" " alt="" coords="1021,259,1085,285"/> <area shape="rect" href="../../dd/d71/tty_8h.html#ad96f57a7c113d3cfa76ee5fed6de33c0" title=" " alt="" coords="1018,208,1087,235"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#aebbcd7bc8695e888491b97b5bf27bd9c" title=" " alt="" coords="261,201,344,228"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#a4b5fded251628524148377601d44377a" title=" " alt="" coords="411,208,468,235"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#aa0f8325f93de9409e403e620f914e69f" title=" " alt="" coords="516,157,596,184"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#a94483feb4903fca9643813faae8a76ee" title=" " alt="" coords="520,309,592,336"/> <area shape="rect" href="../../de/d9a/gen__calls_8h.html#a5eff3a25d417fafce7c4f211db219ca2" title=" " alt="" coords="533,259,579,285"/> <area shape="rect" href="../../d6/d13/file_8c.html#ac539f57edd90fcd088fd3baa10319166" title=" " alt="" coords="662,259,713,285"/> <area shape="rect" href="../../d3/df4/descrip_8h.html#a14e228d6e5391a882d3b20ff2466b2ac" title="get pointer to file fd in specified thread" alt="" coords="662,309,713,336"/> </map> </div> </div> </div> <a id="a62847307f237f6b4240d1eb4718b13e7"></a> <h2 class="memtitle"><span class="permalink"><a href="#a62847307f237f6b4240d1eb4718b13e7">◆ </a></span>fdcInit2()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int fdcInit2 </td> <td>(</td> <td class="paramtype">struct <a class="el" href="../../de/d35/structdevice__node.html">device_node</a> * </td> <td class="paramname"><em>dev</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d43/fdc_8c_source.html#l00056">56</a> of file <a class="el" href="../../d9/d43/fdc_8c_source.html">fdc.c</a>.</p> <p class="reference">References <a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html#l00037">device_node::devInfo</a>, and <a class="el" href="../../d4/d7e/include_2sys_2device_8h_source.html#l00049">device_interface::size</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d9/d43/fdc_8c_source.html#l00061">fdc_init()</a>.</p> </div> </div> <a id="a1f2029ff3278c4b819c4420c168cc082"></a> <h2 class="memtitle"><span class="permalink"><a href="#a1f2029ff3278c4b819c4420c168cc082">◆ </a></span>fdcRead()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void fdcRead </td> <td>(</td> <td class="paramtype">void * </td> <td class="paramname"><em>info</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">void * </td> <td class="paramname"><em>baseAddr</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="../../dd/d1e/objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a> </td> <td class="paramname"><em>startSector</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="../../dd/d1e/objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a> </td> <td class="paramname"><em>sectorCount</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d43/fdc_8c_source.html#l00303">303</a> of file <a class="el" href="../../d9/d43/fdc_8c_source.html">fdc.c</a>.</p> <p class="reference">References <a class="el" href="../../dc/d88/armv6_2spinlock_8c_source.html#l00055">spinLock()</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d9/d43/fdc_8c_source.html#l00061">fdc_init()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/d43/fdc_8c_a1f2029ff3278c4b819c4420c168cc082_cgraph.png" border="0" usemap="#d9/d43/fdc_8c_a1f2029ff3278c4b819c4420c168cc082_cgraph" alt=""/></div> <map name="d9/d43/fdc_8c_a1f2029ff3278c4b819c4420c168cc082_cgraph" id="d9/d43/fdc_8c_a1f2029ff3278c4b819c4420c168cc082_cgraph"> <area shape="rect" title=" " alt="" coords="5,31,75,57"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="123,31,197,57"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="246,5,337,32"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="245,56,337,83"/> </map> </div> </div> </div> <a id="a4b5fded251628524148377601d44377a"></a> <h2 class="memtitle"><span class="permalink"><a href="#a4b5fded251628524148377601d44377a">◆ </a></span>fdcRw()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../d0/d27/include_2sys_2types_8h.html#af6a258d8f3ee5206d682d799316314b1">bool</a> fdcRw </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>block</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned char * </td> <td class="paramname"><em>blockBuffer</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="../../d0/d27/include_2sys_2types_8h.html#af6a258d8f3ee5206d682d799316314b1">bool</a> </td> <td class="paramname"><em>read</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned long </td> <td class="paramname"><em>numSectors</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d43/fdc_8c_source.html#l00127">127</a> of file <a class="el" href="../../d9/d43/fdc_8c_source.html">fdc.c</a>.</p> <p class="reference">References <a class="el" href="../../d9/d43/fdc_8c_source.html#l00200">block2Hts()</a>, <a class="el" href="../../d5/d67/fdc_8h_source.html#l00043">fdcDir</a>, <a class="el" href="../../df/d0a/io_8c_source.html#l00038">inportByte()</a>, <a class="el" href="../../d9/d43/fdc_8c_source.html#l00206">motorOn()</a>, and <a class="el" href="../../d3/d0a/gen__calls_8c_source.html#l00100">read()</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d9/d43/fdc_8c_source.html#l00240">readBlock()</a>, and <a class="el" href="../../d9/d43/fdc_8c_source.html#l00251">writeBlock()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/d43/fdc_8c_a4b5fded251628524148377601d44377a_cgraph.png" border="0" usemap="#d9/d43/fdc_8c_a4b5fded251628524148377601d44377a_cgraph" alt=""/></div> <map name="d9/d43/fdc_8c_a4b5fded251628524148377601d44377a_cgraph" id="d9/d43/fdc_8c_a4b5fded251628524148377601d44377a_cgraph"> <area shape="rect" title=" " alt="" coords="5,81,63,108"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#aa0f8325f93de9409e403e620f914e69f" title=" " alt="" coords="111,5,191,32"/> <area shape="rect" href="../../dc/dac/io_8h.html#a77b934268de1b3ecdcf3f275413b3108" title="input one byte from specified port" alt="" coords="561,56,643,83"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#a94483feb4903fca9643813faae8a76ee" title=" " alt="" coords="115,107,187,133"/> <area shape="rect" href="../../de/d9a/gen__calls_8h.html#a5eff3a25d417fafce7c4f211db219ca2" title=" " alt="" coords="127,157,174,184"/> <area shape="rect" href="../../d6/d13/file_8c.html#ac539f57edd90fcd088fd3baa10319166" title=" " alt="" coords="239,107,289,133"/> <area shape="rect" href="../../d3/df4/descrip_8h.html#a14e228d6e5391a882d3b20ff2466b2ac" title="get pointer to file fd in specified thread" alt="" coords="239,157,289,184"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a20b56810edb62a6fe59917015c30848f" title=" " alt="" coords="337,183,395,209"/> <area shape="rect" href="../../dd/d78/video_8h.html#a5429378b96a24fadfd2d1f8d777eb95a" title=" " alt="" coords="449,132,503,159"/> <area shape="rect" href="../../df/d87/kprintf_8c.html#a3093cdac4668a4ccffdd7f77270888b7" title=" " alt="" coords="445,183,507,209"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a3b4a66bf1f6583e65660f281b6014aa1" title=" " alt="" coords="443,233,509,260"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="557,107,647,133"/> <area shape="rect" href="../../dd/d71/tty_8h.html#a4f96ccac7e60296ef496008d8cbed0ff" title=" " alt="" coords="570,157,634,184"/> <area shape="rect" href="../../dd/d71/tty_8h.html#ad96f57a7c113d3cfa76ee5fed6de33c0" title=" " alt="" coords="567,208,637,235"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="695,208,769,235"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="818,183,909,209"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="817,233,909,260"/> </map> </div> </div> </div> <a id="acc9e5f35deea53f5b68798269b9be7c0"></a> <h2 class="memtitle"><span class="permalink"><a href="#acc9e5f35deea53f5b68798269b9be7c0">◆ </a></span>fdcWrite()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void fdcWrite </td> <td>(</td> <td class="paramtype">void * </td> <td class="paramname"><em>info</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">void * </td> <td class="paramname"><em>baseAddr</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="../../dd/d1e/objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a> </td> <td class="paramname"><em>startSector</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="../../dd/d1e/objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a> </td> <td class="paramname"><em>sectorCount</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d43/fdc_8c_source.html#l00309">309</a> of file <a class="el" href="../../d9/d43/fdc_8c_source.html">fdc.c</a>.</p> <p class="reference">References <a class="el" href="../../d9/d43/fdc_8c_source.html#l00251">writeBlock()</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d9/d43/fdc_8c_source.html#l00061">fdc_init()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/d43/fdc_8c_acc9e5f35deea53f5b68798269b9be7c0_cgraph.png" border="0" usemap="#d9/d43/fdc_8c_acc9e5f35deea53f5b68798269b9be7c0_cgraph" alt=""/></div> <map name="d9/d43/fdc_8c_acc9e5f35deea53f5b68798269b9be7c0_cgraph" id="d9/d43/fdc_8c_acc9e5f35deea53f5b68798269b9be7c0_cgraph"> <area shape="rect" title=" " alt="" coords="5,81,76,108"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#aebbcd7bc8695e888491b97b5bf27bd9c" title=" " alt="" coords="124,81,207,108"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#a4b5fded251628524148377601d44377a" title=" " alt="" coords="255,81,312,108"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#aa0f8325f93de9409e403e620f914e69f" title=" " alt="" coords="360,5,440,32"/> <area shape="rect" href="../../dc/dac/io_8h.html#a77b934268de1b3ecdcf3f275413b3108" title="input one byte from specified port" alt="" coords="811,56,892,83"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#a94483feb4903fca9643813faae8a76ee" title=" " alt="" coords="364,107,436,133"/> <area shape="rect" href="../../de/d9a/gen__calls_8h.html#a5eff3a25d417fafce7c4f211db219ca2" title=" " alt="" coords="377,157,423,184"/> <area shape="rect" href="../../d6/d13/file_8c.html#ac539f57edd90fcd088fd3baa10319166" title=" " alt="" coords="488,107,539,133"/> <area shape="rect" href="../../d3/df4/descrip_8h.html#a14e228d6e5391a882d3b20ff2466b2ac" title="get pointer to file fd in specified thread" alt="" coords="488,157,539,184"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a20b56810edb62a6fe59917015c30848f" title=" " alt="" coords="587,183,644,209"/> <area shape="rect" href="../../dd/d78/video_8h.html#a5429378b96a24fadfd2d1f8d777eb95a" title=" " alt="" coords="698,132,753,159"/> <area shape="rect" href="../../df/d87/kprintf_8c.html#a3093cdac4668a4ccffdd7f77270888b7" title=" " alt="" coords="694,183,757,209"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a3b4a66bf1f6583e65660f281b6014aa1" title=" " alt="" coords="692,233,759,260"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="807,107,896,133"/> <area shape="rect" href="../../dd/d71/tty_8h.html#a4f96ccac7e60296ef496008d8cbed0ff" title=" " alt="" coords="819,157,883,184"/> <area shape="rect" href="../../dd/d71/tty_8h.html#ad96f57a7c113d3cfa76ee5fed6de33c0" title=" " alt="" coords="817,208,886,235"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="944,208,1019,235"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="1067,183,1158,209"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="1067,233,1159,260"/> </map> </div> </div> </div> <a id="a5042dfaf2327990b6d1e1a7d3e01751c"></a> <h2 class="memtitle"><span class="permalink"><a href="#a5042dfaf2327990b6d1e1a7d3e01751c">◆ </a></span>floppyIsrhndlr()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void floppyIsrhndlr </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d43/fdc_8c_source.html#l00096">96</a> of file <a class="el" href="../../d9/d43/fdc_8c_source.html">fdc.c</a>.</p> </div> </div> <a id="ae266cdb34b69c65cfc108bbc72a4e3ff"></a> <h2 class="memtitle"><span class="permalink"><a href="#ae266cdb34b69c65cfc108bbc72a4e3ff">◆ </a></span>getByte()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int getByte </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d43/fdc_8c_source.html#l00114">114</a> of file <a class="el" href="../../d9/d43/fdc_8c_source.html">fdc.c</a>.</p> <p class="reference">References <a class="el" href="../../d5/d67/fdc_8h_source.html#l00042">fdcData</a>, <a class="el" href="../../d5/d67/fdc_8h_source.html#l00041">fdcMsr</a>, and <a class="el" href="../../df/d0a/io_8c_source.html#l00038">inportByte()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/d43/fdc_8c_ae266cdb34b69c65cfc108bbc72a4e3ff_cgraph.png" border="0" usemap="#d9/d43/fdc_8c_ae266cdb34b69c65cfc108bbc72a4e3ff_cgraph" alt=""/></div> <map name="d9/d43/fdc_8c_ae266cdb34b69c65cfc108bbc72a4e3ff_cgraph" id="d9/d43/fdc_8c_ae266cdb34b69c65cfc108bbc72a4e3ff_cgraph"> <area shape="rect" title=" " alt="" coords="5,5,72,32"/> <area shape="rect" href="../../dc/dac/io_8h.html#a77b934268de1b3ecdcf3f275413b3108" title="input one byte from specified port" alt="" coords="120,5,201,32"/> </map> </div> </div> </div> <a id="a044fc0dea0fb35e6fab7f3c0badea2c9"></a> <h2 class="memtitle"><span class="permalink"><a href="#a044fc0dea0fb35e6fab7f3c0badea2c9">◆ </a></span>motorOff()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void motorOff </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d43/fdc_8c_source.html#l00213">213</a> of file <a class="el" href="../../d9/d43/fdc_8c_source.html">fdc.c</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d9/d43/fdc_8c_source.html#l00280">recalibrate()</a>.</p> </div> </div> <a id="a94483feb4903fca9643813faae8a76ee"></a> <h2 class="memtitle"><span class="permalink"><a href="#a94483feb4903fca9643813faae8a76ee">◆ </a></span>motorOn()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void motorOn </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d43/fdc_8c_source.html#l00206">206</a> of file <a class="el" href="../../d9/d43/fdc_8c_source.html">fdc.c</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d9/d43/fdc_8c_source.html#l00127">fdcRw()</a>, and <a class="el" href="../../d9/d43/fdc_8c_source.html#l00280">recalibrate()</a>.</p> </div> </div> <a id="aa03242a5e44c4f2d10e15d296aca8c6b"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa03242a5e44c4f2d10e15d296aca8c6b">◆ </a></span>readBlock()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../d0/d27/include_2sys_2types_8h.html#af6a258d8f3ee5206d682d799316314b1">bool</a> readBlock </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>block</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="../../dd/d1e/objgfx30_8h.html#a7e31ca7716b8d85dd473450a5c5e5a97">Int8</a> * </td> <td class="paramname"><em>blockBuffer</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned long </td> <td class="paramname"><em>numSectors</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d43/fdc_8c_source.html#l00240">240</a> of file <a class="el" href="../../d9/d43/fdc_8c_source.html">fdc.c</a>.</p> <p class="reference">References <a class="el" href="../../d9/d43/fdc_8c_source.html#l00127">fdcRw()</a>, and <a class="el" href="../../d0/d27/include_2sys_2types_8h_source.html#l00082">TRUE</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/d43/fdc_8c_aa03242a5e44c4f2d10e15d296aca8c6b_cgraph.png" border="0" usemap="#d9/d43/fdc_8c_aa03242a5e44c4f2d10e15d296aca8c6b_cgraph" alt=""/></div> <map name="d9/d43/fdc_8c_aa03242a5e44c4f2d10e15d296aca8c6b_cgraph" id="d9/d43/fdc_8c_aa03242a5e44c4f2d10e15d296aca8c6b_cgraph"> <area shape="rect" title=" " alt="" coords="5,81,85,108"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#a4b5fded251628524148377601d44377a" title=" " alt="" coords="133,81,191,108"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#aa0f8325f93de9409e403e620f914e69f" title=" " alt="" coords="239,5,319,32"/> <area shape="rect" href="../../dc/dac/io_8h.html#a77b934268de1b3ecdcf3f275413b3108" title="input one byte from specified port" alt="" coords="689,56,771,83"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#a94483feb4903fca9643813faae8a76ee" title=" " alt="" coords="243,107,315,133"/> <area shape="rect" href="../../de/d9a/gen__calls_8h.html#a5eff3a25d417fafce7c4f211db219ca2" title=" " alt="" coords="255,157,302,184"/> <area shape="rect" href="../../d6/d13/file_8c.html#ac539f57edd90fcd088fd3baa10319166" title=" " alt="" coords="367,107,417,133"/> <area shape="rect" href="../../d3/df4/descrip_8h.html#a14e228d6e5391a882d3b20ff2466b2ac" title="get pointer to file fd in specified thread" alt="" coords="367,157,417,184"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a20b56810edb62a6fe59917015c30848f" title=" " alt="" coords="465,183,523,209"/> <area shape="rect" href="../../dd/d78/video_8h.html#a5429378b96a24fadfd2d1f8d777eb95a" title=" " alt="" coords="577,132,631,159"/> <area shape="rect" href="../../df/d87/kprintf_8c.html#a3093cdac4668a4ccffdd7f77270888b7" title=" " alt="" coords="573,183,635,209"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a3b4a66bf1f6583e65660f281b6014aa1" title=" " alt="" coords="571,233,637,260"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="685,107,775,133"/> <area shape="rect" href="../../dd/d71/tty_8h.html#a4f96ccac7e60296ef496008d8cbed0ff" title=" " alt="" coords="698,157,762,184"/> <area shape="rect" href="../../dd/d71/tty_8h.html#ad96f57a7c113d3cfa76ee5fed6de33c0" title=" " alt="" coords="695,208,765,235"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="823,208,897,235"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="946,183,1037,209"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="945,233,1037,260"/> </map> </div> </div> </div> <a id="a2a16ea9e09b5f3dc2a559351afdc75f3"></a> <h2 class="memtitle"><span class="permalink"><a href="#a2a16ea9e09b5f3dc2a559351afdc75f3">◆ </a></span>recalibrate()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void recalibrate </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d43/fdc_8c_source.html#l00280">280</a> of file <a class="el" href="../../d9/d43/fdc_8c_source.html">fdc.c</a>.</p> <p class="reference">References <a class="el" href="../../d5/d67/fdc_8h_source.html#l00052">cmdRecal</a>, <a class="el" href="../../d9/d43/fdc_8c_source.html#l00213">motorOff()</a>, <a class="el" href="../../d9/d43/fdc_8c_source.html#l00206">motorOn()</a>, <a class="el" href="../../d9/d43/fdc_8c_source.html#l00101">sendByte()</a>, <a class="el" href="../../d0/d27/include_2sys_2types_8h_source.html#l00082">TRUE</a>, and <a class="el" href="../../d9/d43/fdc_8c_source.html#l00255">waitFdc()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/d43/fdc_8c_a2a16ea9e09b5f3dc2a559351afdc75f3_cgraph.png" border="0" usemap="#d9/d43/fdc_8c_a2a16ea9e09b5f3dc2a559351afdc75f3_cgraph" alt=""/></div> <map name="d9/d43/fdc_8c_a2a16ea9e09b5f3dc2a559351afdc75f3_cgraph" id="d9/d43/fdc_8c_a2a16ea9e09b5f3dc2a559351afdc75f3_cgraph"> <area shape="rect" title=" " alt="" coords="5,81,88,108"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#a044fc0dea0fb35e6fab7f3c0badea2c9" title=" " alt="" coords="139,5,210,32"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#a94483feb4903fca9643813faae8a76ee" title=" " alt="" coords="139,56,211,83"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#ae708fa84d19a72e77185b3a214e81573" title=" " alt="" coords="136,107,213,133"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#af5b6e5123d27381ca120b7b4fea7b242" title=" " alt="" coords="141,157,208,184"/> <area shape="rect" href="../../dc/dac/io_8h.html#a77b934268de1b3ecdcf3f275413b3108" title="input one byte from specified port" alt="" coords="265,81,347,108"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="261,132,351,159"/> </map> </div> </div> </div> <a id="a3aea9deb2a0bfea9ff05a898f4822e31"></a> <h2 class="memtitle"><span class="permalink"><a href="#a3aea9deb2a0bfea9ff05a898f4822e31">◆ </a></span>reset()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void reset </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d43/fdc_8c_source.html#l00288">288</a> of file <a class="el" href="../../d9/d43/fdc_8c_source.html">fdc.c</a>.</p> <p class="reference">References <a class="el" href="../../d5/d67/fdc_8h_source.html#l00045">fdcDor</a>, and <a class="el" href="../../df/d0a/io_8c_source.html#l00072">outportByte()</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d9/d43/fdc_8c_source.html#l00061">fdc_init()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/d43/fdc_8c_a3aea9deb2a0bfea9ff05a898f4822e31_cgraph.png" border="0" usemap="#d9/d43/fdc_8c_a3aea9deb2a0bfea9ff05a898f4822e31_cgraph" alt=""/></div> <map name="d9/d43/fdc_8c_a3aea9deb2a0bfea9ff05a898f4822e31_cgraph" id="d9/d43/fdc_8c_a3aea9deb2a0bfea9ff05a898f4822e31_cgraph"> <area shape="rect" title=" " alt="" coords="5,5,56,32"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="104,5,193,32"/> </map> </div> </div> </div> <a id="a5886a896e5f0361f36b40d007db6e683"></a> <h2 class="memtitle"><span class="permalink"><a href="#a5886a896e5f0361f36b40d007db6e683">◆ </a></span>seek()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../d0/d27/include_2sys_2types_8h.html#af6a258d8f3ee5206d682d799316314b1">bool</a> seek </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>track</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d43/fdc_8c_source.html#l00221">221</a> of file <a class="el" href="../../d9/d43/fdc_8c_source.html">fdc.c</a>.</p> </div> </div> <a id="ae708fa84d19a72e77185b3a214e81573"></a> <h2 class="memtitle"><span class="permalink"><a href="#ae708fa84d19a72e77185b3a214e81573">◆ </a></span>sendByte()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void sendByte </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>Int8</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d43/fdc_8c_source.html#l00101">101</a> of file <a class="el" href="../../d9/d43/fdc_8c_source.html">fdc.c</a>.</p> <p class="reference">References <a class="el" href="../../d5/d67/fdc_8h_source.html#l00042">fdcData</a>, <a class="el" href="../../d5/d67/fdc_8h_source.html#l00041">fdcMsr</a>, <a class="el" href="../../df/d0a/io_8c_source.html#l00038">inportByte()</a>, and <a class="el" href="../../df/d0a/io_8c_source.html#l00072">outportByte()</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d9/d43/fdc_8c_source.html#l00280">recalibrate()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/d43/fdc_8c_ae708fa84d19a72e77185b3a214e81573_cgraph.png" border="0" usemap="#d9/d43/fdc_8c_ae708fa84d19a72e77185b3a214e81573_cgraph" alt=""/></div> <map name="d9/d43/fdc_8c_ae708fa84d19a72e77185b3a214e81573_cgraph" id="d9/d43/fdc_8c_ae708fa84d19a72e77185b3a214e81573_cgraph"> <area shape="rect" title=" " alt="" coords="5,31,83,57"/> <area shape="rect" href="../../dc/dac/io_8h.html#a77b934268de1b3ecdcf3f275413b3108" title="input one byte from specified port" alt="" coords="135,5,216,32"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="131,56,220,83"/> </map> </div> </div> </div> <a id="af5b6e5123d27381ca120b7b4fea7b242"></a> <h2 class="memtitle"><span class="permalink"><a href="#af5b6e5123d27381ca120b7b4fea7b242">◆ </a></span>waitFdc()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../d0/d27/include_2sys_2types_8h.html#af6a258d8f3ee5206d682d799316314b1">bool</a> waitFdc </td> <td>(</td> <td class="paramtype"><a class="el" href="../../d0/d27/include_2sys_2types_8h.html#af6a258d8f3ee5206d682d799316314b1">bool</a> </td> <td class="paramname"><em>sensei</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d43/fdc_8c_source.html#l00255">255</a> of file <a class="el" href="../../d9/d43/fdc_8c_source.html">fdc.c</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d9/d43/fdc_8c_source.html#l00280">recalibrate()</a>.</p> </div> </div> <a id="aebbcd7bc8695e888491b97b5bf27bd9c"></a> <h2 class="memtitle"><span class="permalink"><a href="#aebbcd7bc8695e888491b97b5bf27bd9c">◆ </a></span>writeBlock()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../d0/d27/include_2sys_2types_8h.html#af6a258d8f3ee5206d682d799316314b1">bool</a> writeBlock </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>block</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="../../dd/d1e/objgfx30_8h.html#a7e31ca7716b8d85dd473450a5c5e5a97">Int8</a> * </td> <td class="paramname"><em>blockBuffer</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned long </td> <td class="paramname"><em>numSectors</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d43/fdc_8c_source.html#l00251">251</a> of file <a class="el" href="../../d9/d43/fdc_8c_source.html">fdc.c</a>.</p> <p class="reference">References <a class="el" href="../../d0/d27/include_2sys_2types_8h_source.html#l00082">FALSE</a>, and <a class="el" href="../../d9/d43/fdc_8c_source.html#l00127">fdcRw()</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d9/d43/fdc_8c_source.html#l00309">fdcWrite()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/d43/fdc_8c_aebbcd7bc8695e888491b97b5bf27bd9c_cgraph.png" border="0" usemap="#d9/d43/fdc_8c_aebbcd7bc8695e888491b97b5bf27bd9c_cgraph" alt=""/></div> <map name="d9/d43/fdc_8c_aebbcd7bc8695e888491b97b5bf27bd9c_cgraph" id="d9/d43/fdc_8c_aebbcd7bc8695e888491b97b5bf27bd9c_cgraph"> <area shape="rect" title=" " alt="" coords="5,81,88,108"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#a4b5fded251628524148377601d44377a" title=" " alt="" coords="136,81,193,108"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#aa0f8325f93de9409e403e620f914e69f" title=" " alt="" coords="241,5,321,32"/> <area shape="rect" href="../../dc/dac/io_8h.html#a77b934268de1b3ecdcf3f275413b3108" title="input one byte from specified port" alt="" coords="692,56,773,83"/> <area shape="rect" href="../../d9/d43/fdc_8c.html#a94483feb4903fca9643813faae8a76ee" title=" " alt="" coords="245,107,317,133"/> <area shape="rect" href="../../de/d9a/gen__calls_8h.html#a5eff3a25d417fafce7c4f211db219ca2" title=" " alt="" coords="258,157,305,184"/> <area shape="rect" href="../../d6/d13/file_8c.html#ac539f57edd90fcd088fd3baa10319166" title=" " alt="" coords="369,107,420,133"/> <area shape="rect" href="../../d3/df4/descrip_8h.html#a14e228d6e5391a882d3b20ff2466b2ac" title="get pointer to file fd in specified thread" alt="" coords="369,157,420,184"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a20b56810edb62a6fe59917015c30848f" title=" " alt="" coords="468,183,525,209"/> <area shape="rect" href="../../dd/d78/video_8h.html#a5429378b96a24fadfd2d1f8d777eb95a" title=" " alt="" coords="579,132,634,159"/> <area shape="rect" href="../../df/d87/kprintf_8c.html#a3093cdac4668a4ccffdd7f77270888b7" title=" " alt="" coords="575,183,638,209"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a3b4a66bf1f6583e65660f281b6014aa1" title=" " alt="" coords="573,233,640,260"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="688,107,777,133"/> <area shape="rect" href="../../dd/d71/tty_8h.html#a4f96ccac7e60296ef496008d8cbed0ff" title=" " alt="" coords="701,157,765,184"/> <area shape="rect" href="../../dd/d71/tty_8h.html#ad96f57a7c113d3cfa76ee5fed6de33c0" title=" " alt="" coords="698,208,767,235"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="825,208,900,235"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="949,183,1039,209"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="948,233,1040,260"/> </map> </div> </div> </div> <h2 class="groupheader">Variable Documentation</h2> <a id="a4235a63d122daa0852a95529c2f93498"></a> <h2 class="memtitle"><span class="permalink"><a href="#a4235a63d122daa0852a95529c2f93498">◆ </a></span>tbaddr</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">unsigned long tbaddr = 0x80000L</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/d43/fdc_8c_source.html#l00054">54</a> of file <a class="el" href="../../d9/d43/fdc_8c_source.html">fdc.c</a>.</p> </div> </div> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="../../dir_3072dafebbfa7892dc4725aed51ee84c.html">isa</a></li><li class="navelem"><a class="el" href="../../d9/d43/fdc_8c.html">fdc.c</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.16 </li> </ul> </div> </body> </html>