MOS Source Code
Loading...
Searching...
No Matches
console_t Struct Reference

#include <console.h>

+ Collaboration diagram for console_t:

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
 

Detailed Description

Definition at line 26 of file console.h.

Member Data Documentation

◆ as_linked_list

as_linked_list

Definition at line 28 of file console.h.

◆ io

io_t io

Definition at line 29 of file console.h.

Referenced by console_register(), and mos_start_kernel().

◆ ops

struct console_ops* ops

◆ name

const char* name

Definition at line 31 of file console.h.

Referenced by console_io_read(), console_register(), and MOS_SETUP().

◆ caps

◆ waitlist

waitlist_t waitlist

Definition at line 33 of file console.h.

Referenced by console_io_read(), console_putc(), and console_register().

◆ lock

◆ pos

Definition at line 38 of file console.h.

Referenced by console_io_read(), console_putc(), and console_register().

◆ buf

u8* buf

Definition at line 39 of file console.h.

Referenced by console_io_read(), console_putc(), and console_register().

◆ size

size_t size

Definition at line 40 of file console.h.

Referenced by console_register().

◆ [struct]

struct { ... } read

◆ [struct]

struct { ... } write

◆ default_fg

standard_color_t default_fg

Definition at line 48 of file console.h.

Referenced by console_io_write().

◆ default_bg

standard_color_t default_bg

Definition at line 48 of file console.h.

Referenced by console_io_write().


The documentation for this struct was generated from the following file: