<!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: device_interface Struct 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 id="current"><a href="classes.html"><span>Data Structures</span></a></li> <li><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="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul></div> <h1>device_interface Struct Reference</h1><!-- doxytag: class="device_interface" --><code>#include <<a class="el" href="device_8h-source.html">device.h</a>></code> <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__interface.html#eacb2f431b14ddd1e9fe34db278dfc9e">info</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__interface.html#92620413c2580ea3cf01e121bb54c254">init</a> )(void *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="types_8h.html#a4e0f27a9aca905e340c06d2dcae843c">uInt8</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__interface.html#561678212ee39a09ce43c1a3567c64e2">initialized</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__interface.html#a1c4703d14f4a7f53a8dd6d6dda9e641">ioctl</a> )(void *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__interface.html#7eb42b0bb3e06dbc9183531a5e59ddb8">major</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__interface.html#6caf84418059d0121e76d873e305ddcb">read</a> )(void *, 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">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__interface.html#cbfb9de4fadc968479e1536fcef4a2d6">reset</a> )(void *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__interface.html#82fda947114f5c8d53fb7acbd7eb0e21">size</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__interface.html#2c8e52e7fd5b4766863525af3ecb14ed">standby</a> )(void *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__interface.html#6376721f0db48a8cc534b41c28e9a060">start</a> )(void *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__interface.html#734dddd62b4d34efc7f8faaa4f009304">stop</a> )(void *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structdevice__interface.html#f46913eec9f191290c82db23380bc5df">write</a> )(void *, void *, <a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a>, <a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a>)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <p> <p> Definition at line <a class="el" href="device_8h-source.html#l00048">48</a> of file <a class="el" href="device_8h-source.html">device.h</a>.<hr><h2>Field Documentation</h2> <a class="anchor" name="eacb2f431b14ddd1e9fe34db278dfc9e"></a><!-- doxytag: member="device_interface::info" ref="eacb2f431b14ddd1e9fe34db278dfc9e" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void* <a class="el" href="structdevice__interface.html#eacb2f431b14ddd1e9fe34db278dfc9e">device_interface::info</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="device_8h-source.html#l00052">52</a> of file <a class="el" href="device_8h-source.html">device.h</a>. <p> Referenced by <a class="el" href="devfs_8c-source.html#l00114">devfs_read()</a>, <a class="el" href="devfs_8c-source.html#l00160">devfs_write()</a>, <a class="el" href="ufs_8c-source.html#l00051">dskread()</a>, <a class="el" href="hd_8c-source.html#l00145">hdInit()</a>, <a class="el" href="hd_8c-source.html#l00039">initHardDisk()</a>, <a class="el" href="block_8c-source.html#l00074">syncBat()</a>, <a class="el" href="ubixfs_8c-source.html#l00376">ubixfs_initialize()</a>, <a class="el" href="ubixfs_8c-source.html#l00341">ubixfs_loadData()</a>, <a class="el" href="directory_8c-source.html#l00094">ubixFSmkDir()</a>, <a class="el" href="ubixfs_8c-source.html#l00309">ubixFSUnlink()</a>, and <a class="el" href="ubixfs_8c-source.html#l00232">writeUbixFS()</a>. </div> </div><p> <a class="anchor" name="92620413c2580ea3cf01e121bb54c254"></a><!-- doxytag: member="device_interface::init" ref="92620413c2580ea3cf01e121bb54c254" args=")(void *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int(* <a class="el" href="structdevice__interface.html#92620413c2580ea3cf01e121bb54c254">device_interface::init</a>)(void *) </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Referenced by <a class="el" href="device_8c-source.html#l00051">device_add()</a>, <a class="el" href="fdc_8c-source.html#l00063">fdc_init()</a>, and <a class="el" href="hd_8c-source.html#l00039">initHardDisk()</a>. </div> </div><p> <a class="anchor" name="561678212ee39a09ce43c1a3567c64e2"></a><!-- doxytag: member="device_interface::initialized" ref="561678212ee39a09ce43c1a3567c64e2" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="types_8h.html#a4e0f27a9aca905e340c06d2dcae843c">uInt8</a> <a class="el" href="structdevice__interface.html#561678212ee39a09ce43c1a3567c64e2">device_interface::initialized</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="device_8h-source.html#l00049">49</a> of file <a class="el" href="device_8h-source.html">device.h</a>. <p> Referenced by <a class="el" href="device_8c-source.html#l00051">device_add()</a>, and <a class="el" href="hd_8c-source.html#l00145">hdInit()</a>. </div> </div><p> <a class="anchor" name="a1c4703d14f4a7f53a8dd6d6dda9e641"></a><!-- doxytag: member="device_interface::ioctl" ref="a1c4703d14f4a7f53a8dd6d6dda9e641" args=")(void *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void(* <a class="el" href="structdevice__interface.html#a1c4703d14f4a7f53a8dd6d6dda9e641">device_interface::ioctl</a>)(void *) </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Referenced by <a class="el" href="hd_8c-source.html#l00039">initHardDisk()</a>. </div> </div><p> <a class="anchor" name="7eb42b0bb3e06dbc9183531a5e59ddb8"></a><!-- doxytag: member="device_interface::major" ref="7eb42b0bb3e06dbc9183531a5e59ddb8" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structdevice__interface.html#7eb42b0bb3e06dbc9183531a5e59ddb8">device_interface::major</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="device_8h-source.html#l00051">51</a> of file <a class="el" href="device_8h-source.html">device.h</a>. <p> Referenced by <a class="el" href="device_8c-source.html#l00086">device_find()</a>, <a class="el" href="fdc_8c-source.html#l00063">fdc_init()</a>, and <a class="el" href="hd_8c-source.html#l00039">initHardDisk()</a>. </div> </div><p> <a class="anchor" name="6caf84418059d0121e76d873e305ddcb"></a><!-- doxytag: member="device_interface::read" ref="6caf84418059d0121e76d873e305ddcb" args=")(void *, void *, uInt32, uInt32)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void(* <a class="el" href="structdevice__interface.html#6caf84418059d0121e76d873e305ddcb">device_interface::read</a>)(void *, void *, <a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a>, <a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a>) </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Referenced by <a class="el" href="devfs_8c-source.html#l00114">devfs_read()</a>, <a class="el" href="devfs_8c-source.html#l00160">devfs_write()</a>, <a class="el" href="ufs_8c-source.html#l00051">dskread()</a>, <a class="el" href="fdc_8c-source.html#l00063">fdc_init()</a>, <a class="el" href="hd_8c-source.html#l00039">initHardDisk()</a>, <a class="el" href="ubixfs_8c-source.html#l00046">openFileUbixFS()</a>, <a class="el" href="ubixfs_8c-source.html#l00376">ubixfs_initialize()</a>, <a class="el" href="ubixfs_8c-source.html#l00341">ubixfs_loadData()</a>, <a class="el" href="ubixfs_8c-source.html#l00309">ubixFSUnlink()</a>, and <a class="el" href="ubixfs_8c-source.html#l00232">writeUbixFS()</a>. </div> </div><p> <a class="anchor" name="cbfb9de4fadc968479e1536fcef4a2d6"></a><!-- doxytag: member="device_interface::reset" ref="cbfb9de4fadc968479e1536fcef4a2d6" args=")(void *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void(* <a class="el" href="structdevice__interface.html#cbfb9de4fadc968479e1536fcef4a2d6">device_interface::reset</a>)(void *) </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Referenced by <a class="el" href="fdc_8c-source.html#l00063">fdc_init()</a>, and <a class="el" href="hd_8c-source.html#l00039">initHardDisk()</a>. </div> </div><p> <a class="anchor" name="82fda947114f5c8d53fb7acbd7eb0e21"></a><!-- doxytag: member="device_interface::size" ref="82fda947114f5c8d53fb7acbd7eb0e21" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a> <a class="el" href="structdevice__interface.html#82fda947114f5c8d53fb7acbd7eb0e21">device_interface::size</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="device_8h-source.html#l00050">50</a> of file <a class="el" href="device_8h-source.html">device.h</a>. <p> Referenced by <a class="el" href="devfs_8c-source.html#l00071">devfs_open()</a>, <a class="el" href="fdc_8c-source.html#l00058">fdcInit2()</a>, and <a class="el" href="hd_8c-source.html#l00145">hdInit()</a>. </div> </div><p> <a class="anchor" name="2c8e52e7fd5b4766863525af3ecb14ed"></a><!-- doxytag: member="device_interface::standby" ref="2c8e52e7fd5b4766863525af3ecb14ed" args=")(void *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void(* <a class="el" href="structdevice__interface.html#2c8e52e7fd5b4766863525af3ecb14ed">device_interface::standby</a>)(void *) </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Referenced by <a class="el" href="hd_8c-source.html#l00039">initHardDisk()</a>. </div> </div><p> <a class="anchor" name="6376721f0db48a8cc534b41c28e9a060"></a><!-- doxytag: member="device_interface::start" ref="6376721f0db48a8cc534b41c28e9a060" args=")(void *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void(* <a class="el" href="structdevice__interface.html#6376721f0db48a8cc534b41c28e9a060">device_interface::start</a>)(void *) </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Referenced by <a class="el" href="hd_8c-source.html#l00039">initHardDisk()</a>. </div> </div><p> <a class="anchor" name="734dddd62b4d34efc7f8faaa4f009304"></a><!-- doxytag: member="device_interface::stop" ref="734dddd62b4d34efc7f8faaa4f009304" args=")(void *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void(* <a class="el" href="structdevice__interface.html#734dddd62b4d34efc7f8faaa4f009304">device_interface::stop</a>)(void *) </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Referenced by <a class="el" href="hd_8c-source.html#l00039">initHardDisk()</a>. </div> </div><p> <a class="anchor" name="f46913eec9f191290c82db23380bc5df"></a><!-- doxytag: member="device_interface::write" ref="f46913eec9f191290c82db23380bc5df" args=")(void *, void *, uInt32, uInt32)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void(* <a class="el" href="structdevice__interface.html#f46913eec9f191290c82db23380bc5df">device_interface::write</a>)(void *, void *, <a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a>, <a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a>) </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Referenced by <a class="el" href="devfs_8c-source.html#l00160">devfs_write()</a>, <a class="el" href="fdc_8c-source.html#l00063">fdc_init()</a>, <a class="el" href="hd_8c-source.html#l00039">initHardDisk()</a>, <a class="el" href="block_8c-source.html#l00074">syncBat()</a>, <a class="el" href="directory_8c-source.html#l00094">ubixFSmkDir()</a>, <a class="el" href="ubixfs_8c-source.html#l00309">ubixFSUnlink()</a>, and <a class="el" href="ubixfs_8c-source.html#l00232">writeUbixFS()</a>. </div> </div><p> <hr>The documentation for this struct was generated from the following file:<ul> <li>src/sys/include/sys/<a class="el" href="device_8h-source.html">device.h</a></ul> <hr size="1"><address style="align: right;"><small>Generated on Tue Dec 12 10:08:56 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>