Sophie

Sophie

distrib > CentOS > 6 > i386 > by-pkgid > 2c51d8eb79f8810ada971ee8c30ce1e5 > files > 2252

kernel-doc-2.6.32-71.14.1.el6.noarch.rpm

<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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/html; charset=ANSI_X3.4-1968" /><title>struct kgdb_io</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="Using kgdb and the kgdb Internals" /><link rel="up" href="ch06.html#kgdbArchitecture" title="Architecture Specifics" /><link rel="prev" href="re12.html" title="struct kgdb_arch" /><link rel="next" href="ch06s02.html" title="kgdboc internals" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>struct kgdb_io</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re12.html">Prev</a>&#160;</td><th width="60%" align="center">Architecture Specifics</th><td width="20%" align="right">&#160;<a accesskey="n" href="ch06s02.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="struct kgdb_io"><a id="API-struct-kgdb-io"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct kgdb_io &#8212; 
     Describe the interface for an I/O driver to talk with KGDB.
 </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting">
struct kgdb_io {
  const char * name;
  int (* read_char) (void);
  void (* write_char) (u8);
  void (* flush) (void);
  int (* init) (void);
  void (* pre_exception) (void);
  void (* post_exception) (void);
};  </pre></div><div class="refsect1" title="Members"><a id="id2722040"></a><h2>Members</h2><div class="variablelist"><dl><dt><span class="term">name</span></dt><dd><p>
   Name of the I/O driver.
      </p></dd><dt><span class="term">read_char</span></dt><dd><p>
   Pointer to a function that will return one char.
      </p></dd><dt><span class="term">write_char</span></dt><dd><p>
   Pointer to a function that will write one char.
      </p></dd><dt><span class="term">flush</span></dt><dd><p>
   Pointer to a function that will flush any pending writes.
      </p></dd><dt><span class="term">init</span></dt><dd><p>
   Pointer to a function that will initialize the device.
      </p></dd><dt><span class="term">pre_exception</span></dt><dd><p>
   Pointer to a function that will do any prep work for
   the I/O driver.
      </p></dd><dt><span class="term">post_exception</span></dt><dd><p>
   Pointer to a function that will do any cleanup work
   for the I/O driver.
      </p></dd></dl></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re12.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch06.html#kgdbArchitecture">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="ch06s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>struct kgdb_arch</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;kgdboc internals</td></tr></table></div></body></html>