|
Turnstone Operating System
|
handles required signatures for the host OS utilities. More...
#include <types.h>#include <logging.h>#include <memory.h>#include "os_io.h"#include <time.h>#include <utils.h>#include <random.h>#include <xxhash.h>#include <cpu.h>Macros | |
| #define | ___SETUP_H 0 |
| #define | REDCOLOR "\033[1;31m" |
| #define | GREENCOLOR "\033[1;32m" |
| #define | RESETCOLOR "\033[0m" |
Functions | |
| size_t | video_printf (const char_t *fmt,...) |
| void | video_print (const char_t *string) |
| prints string to console with efi system table's console output protocol. | |
| void | print_success (const char *msg,...) |
| void | print_error (const char *msg,...) |
| int8_t | setup_ram2 (void) |
| void | remove_ram2 (void) |
| void | start_ram (void) |
| void | stop_ram (void) |
| void | on_sigabrt (int32_t sig) |
| boolean_t | windowmanager_is_initialized (void) |
| buffer_t * | buffer_get_io_buffer (uint64_t buffer_io_id) |
| returns a buffer for io buffer id, first three buffers are stdin, stdout, stderr | |
Variables | |
| FILE * | mem_backend = NULL |
| int32_t | mem_backend_fd = 0 |
| uint64_t | mmmap_address = 4ULL << 30 |
| uint64_t | mmap_size = RAMSIZE |
| boolean_t | windowmanager_initialized = false |
| buffer_t * | default_buffer = NULL |
| memory_heap_t * | d_heap = NULL |
| stdbufs_video_printer | stdbufs_video_print |
handles required signatures for the host OS utilities.
This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.
returns a buffer for io buffer id, first three buffers are stdin, stdout, stderr
| [in] | buffer_io_id | io buffer id |
| void video_print | ( | const char_t * | string | ) |
prints string to console with efi system table's console output protocol.
| [in] | string | string to print. |
| boolean_t windowmanager_initialized = false |
windowmanager initialized flag global variable