struct_kgdb_io(9)

struct_kgdb_io9

Describe the interface for an i/o driver to talk with kgdb.

Usage

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);
  int is_console;
};  

Members

name

Name of the I/O driver.

read_char

Pointer to a function that will return one char.

write_char

Pointer to a function that will write one char.

flush

Pointer to a function that will flush any pending writes.

init

Pointer to a function that will initialize the device.

pre_exception

Pointer to a function that will do any prep work for the I/O driver.

post_exception

Pointer to a function that will do any cleanup work for the I/O driver.

is_console

1 if the end device is a console 0 if the I/O device is not a console

Releases

5 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9

Author

Jason Wessel <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.