|
PatchworkOS
10941b4
A non-POSIX operating system.
|
#include <kernel/log/screen.h>#include <kernel/drivers/com.h>#include <kernel/init/boot_info.h>#include <kernel/log/glyphs.h>#include <kernel/log/panic.h>#include <kernel/sync/lock.h>#include <string.h>#include <sys/math.h>Go to the source code of this file.
Functions | |
| static screen_line_t * | screen_get_line (size_t y) |
| static void | screen_invalidate (const screen_pos_t *pos) |
| static void | screen_put (char chr) |
| static void | screen_flush (void) |
| void | screen_init (void) |
| Initialize and enable the screen logging. | |
| static void | screen_scroll (void) |
| static void | screen_advance_cursor (char chr) |
| void | screen_hide (void) |
| Hide the screen logging. | |
| void | screen_show (void) |
| Show the screen logging. | |
| uint64_t | screen_get_width (void) |
| Get screen width in characters. | |
| uint64_t | screen_get_height (void) |
| Get screen height in characters. | |
| void | screen_write (const char *string, uint64_t length) |
| Write a string to the screen. | |
Variables | |
| static bool | hidden = false |
| static boot_gop_t | gop = {0} |
| static screen_pos_t | cursor = {0, 0} |
| static uint32_t | width |
| static uint32_t | height |
| static uint64_t | offset |
| static screen_pos_t | invalidStart |
| static screen_pos_t | invalidEnd |
| static screen_line_t | lines [CONFIG_SCREEN_MAX_LINES] |
| static lock_t | lock = LOCK_CREATE() |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |