Scroll to navigation

STRUCT KGDB_IO(9) KGDB Internals STRUCT KGDB_IO(9)

NAME

struct_kgdb_io - Describe the interface for an I/O driver to talk with KGDB.

SYNOPSIS

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

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.

AUTHORS

Jason Wessel <jason.wessel@windriver.com>

Author.

Tom Rini <trini@kernel.crashing.org>

Author.

Amit S. Kale <amitkale@linsyssoft.com>

Author.

COPYRIGHT

April 2023 Kernel Hackers Manual 2.6.