1STRUCT KGDB_IO(9)          Kernel Debugger Internals         STRUCT KGDB_IO(9)
2
3
4

NAME

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

SYNOPSIS

10       struct kgdb_io {
11         const char * name;
12         int (* read_char) (void);
13         void (* write_char) (u8);
14         void (* flush) (void);
15         int (* init) (void);
16         void (* pre_exception) (void);
17         void (* post_exception) (void);
18         int is_console;
19       };
20

MEMBERS

22       name
23           Name of the I/O driver.
24
25       read_char
26           Pointer to a function that will return one char.
27
28       write_char
29           Pointer to a function that will write one char.
30
31       flush
32           Pointer to a function that will flush any pending writes.
33
34       init
35           Pointer to a function that will initialize the device.
36
37       pre_exception
38           Pointer to a function that will do any prep work for the I/O
39           driver.
40
41       post_exception
42           Pointer to a function that will do any cleanup work for the I/O
43           driver.
44
45       is_console
46           1 if the end device is a console 0 if the I/O device is not a
47           console
48

AUTHOR

50       Jason Wessel <jason.wessel@windriver.com>
51           Author.
52
54Kernel Hackers Manual 2.6.       November 2011               STRUCT KGDB_IO(9)
Impressum