![]() |
MOS Source Code
|
#include "mos/riscv64/devices/sbi_console.hpp"
#include "mos/device/console.hpp"
#include "mos/riscv64/sbi/sbi-call.hpp"
#include <ansi_colors.h>
#include <mos/types.hpp>
Go to the source code of this file.
Functions | |
static size_t | sbi_console_write (Console *con, const char *data, size_t size) |
static bool | sbi_console_set_color (Console *con, standard_color_t fg, standard_color_t bg) |
static bool | sbi_console_get_color (Console *con, standard_color_t *fg, standard_color_t *bg) |
static bool | sbi_console_clear (Console *console) |
Variables | |
static standard_color_t | sbi_console_bg = Black |
static standard_color_t | sbi_console_fg = White |
|
static |
|
static |
Definition at line 32 of file sbi_console.cpp.
|
static |
Definition at line 11 of file sbi_console.cpp.
Referenced by sbi_console_get_color(), and sbi_console_set_color().
|
static |
Definition at line 11 of file sbi_console.cpp.
Referenced by sbi_console_get_color(), and sbi_console_set_color().