MOS Source Code
|
#include <console.h>
Public Attributes | ||
as_linked_list | ||
io_t | io | |
struct console_ops * | ops | |
const char * | name | |
console_caps | caps | |
waitlist_t | waitlist | |
struct { | ||
spinlock_t lock | ||
ring_buffer_pos_t pos | ||
u8 * buf | ||
size_t size | ||
} | read | |
struct { | ||
spinlock_t lock | ||
} | write | |
standard_color_t | default_fg | |
standard_color_t | default_bg | |
io_t io |
Definition at line 29 of file console.h.
Referenced by console_register(), and mos_start_kernel().
struct console_ops* ops |
Definition at line 30 of file console.h.
Referenced by console_io_write(), console_register(), console_write(), console_write_color(), print_to_console(), and serial_console_setup().
const char* name |
Definition at line 31 of file console.h.
Referenced by console_io_read(), console_register(), and MOS_SETUP().
console_caps caps |
Definition at line 32 of file console.h.
Referenced by console_io_write(), console_register(), console_write_color(), and serial_console_setup().
waitlist_t waitlist |
Definition at line 33 of file console.h.
Referenced by console_io_read(), console_putc(), and console_register().
spinlock_t lock |
Definition at line 37 of file console.h.
Referenced by console_io_read(), console_io_write(), console_register(), console_write(), and console_write_color().
Definition at line 38 of file console.h.
Referenced by console_io_read(), console_putc(), and console_register().
u8* buf |
Definition at line 39 of file console.h.
Referenced by console_io_read(), console_putc(), and console_register().
size_t size |
Definition at line 40 of file console.h.
Referenced by console_register().
struct { ... } read |
Referenced by console_io_read(), console_putc(), and console_register().
struct { ... } write |
Referenced by console_io_write(), console_register(), console_write(), and console_write_color().
standard_color_t default_fg |
Definition at line 48 of file console.h.
Referenced by console_io_write().
standard_color_t default_bg |
Definition at line 48 of file console.h.
Referenced by console_io_write().