|
PatchworkOS
966e257
A non-POSIX operating system.
|
#include <kernel/log/log_screen.h>#include <kernel/drivers/com.h>#include <kernel/log/glyphs.h>#include <kernel/sync/lock.h>#include <string.h>#include <sys/math.h>Go to the source code of this file.
Functions | |
| static log_screen_line_t * | log_screen_get_line (uint64_t y) |
| static void | log_screen_invalidate (const log_screen_pos_t *pos) |
| static void | log_screen_put (char chr) |
| static void | log_screen_flush (void) |
| void | log_screen_init (const boot_gop_t *bootGop) |
| Initialize the screen logging. | |
| static void | log_screen_scroll (void) |
| static void | log_screen_advance_cursor (char chr) |
| void | log_screen_clear (void) |
| Clear the screen. | |
| uint64_t | log_screen_get_width (void) |
| Get screen width in characters. | |
| uint64_t | log_screen_get_height (void) |
| Get screen height in characters. | |
| void | log_screen_write (const char *string, uint64_t length) |
| Write a string to the screen. | |
Variables | |
| static boot_gop_t | gop = {0} |
| static log_screen_pos_t | cursor = {0, 0} |
| static log_screen_t | screen = {0} |
| static lock_t | lock = LOCK_CREATE() |
|
static |
|
static |
|
static |
Definition at line 42 of file log_screen.c.
|
static |
Definition at line 65 of file log_screen.c.
|
static |
Definition at line 98 of file log_screen.c.
|
static |
Definition at line 138 of file log_screen.c.
|
static |
Definition at line 10 of file log_screen.c.
|
static |
Definition at line 11 of file log_screen.c.
|
static |
Definition at line 12 of file log_screen.c.
|
static |
Definition at line 14 of file log_screen.c.