MOS Source Code
Loading...
Searching...
No Matches
serial_console.c File Reference
+ Include dependency graph for serial_console.c:

Go to the source code of this file.

Functions

static size_t serial_console_write (console_t *console, const char *str, size_t len)
 
static bool serial_console_set_color (console_t *console, standard_color_t fg, standard_color_t bg)
 
static bool serial_console_get_color (console_t *console, standard_color_t *fg, standard_color_t *bg)
 
static bool serial_console_clear (console_t *console)
 
bool serial_console_setup (console_t *console)
 
bool serial_console_irq_handler (u32 irq, void *data)
 

Function Documentation

◆ serial_console_write()

static size_t serial_console_write ( console_t * console,
const char * str,
size_t len )
static

Definition at line 11 of file serial_console.c.

Referenced by serial_console_setup().

+ Here is the call graph for this function:

◆ serial_console_set_color()

static bool serial_console_set_color ( console_t * console,
standard_color_t fg,
standard_color_t bg )
static

Definition at line 17 of file serial_console.c.

Referenced by serial_console_setup().

+ Here is the call graph for this function:

◆ serial_console_get_color()

static bool serial_console_get_color ( console_t * console,
standard_color_t * fg,
standard_color_t * bg )
static

Definition at line 29 of file serial_console.c.

Referenced by serial_console_setup().

◆ serial_console_clear()

static bool serial_console_clear ( console_t * console)
static

Definition at line 37 of file serial_console.c.

Referenced by serial_console_setup().

+ Here is the call graph for this function:

◆ serial_console_setup()

bool serial_console_setup ( console_t * console)

Definition at line 44 of file serial_console.c.

Referenced by riscv64_uart_setup().

+ Here is the call graph for this function:

◆ serial_console_irq_handler()

bool serial_console_irq_handler ( u32 irq,
void * data )

Definition at line 67 of file serial_console.c.

Referenced by platform_startup_late().

+ Here is the call graph for this function: