struct kgdb_io — Describe the interface for an I/O driver to talk with KGDB.
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); };
Name of the I/O driver.
Pointer to a function that will return one char.
Pointer to a function that will write one char.
Pointer to a function that will flush any pending writes.
Pointer to a function that will initialize the device.
Pointer to a function that will do any prep work for the I/O driver.
Pointer to a function that will do any cleanup work for the I/O driver.