mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 16:34:31 -08:00
* Load a font file off disk to pass to kernel * Expose a framebuffer to the kernel * Currently the kernel just paints the screen red
21 lines
476 B
C
21 lines
476 B
C
#pragma once
|
|
#include <efi.h>
|
|
#include <stddef.h>
|
|
|
|
EFI_STATUS con_initialize(EFI_SYSTEM_TABLE *system_table, const CHAR16 *version);
|
|
void con_status_begin(const CHAR16 *message);
|
|
void con_status_ok();
|
|
void con_status_fail(const CHAR16 *error);
|
|
size_t con_printf(const CHAR16 *fmt, ...);
|
|
|
|
EFI_STATUS
|
|
con_get_framebuffer(
|
|
EFI_BOOT_SERVICES *bootsvc,
|
|
void **buffer,
|
|
size_t *buffer_size,
|
|
uint32_t *hres,
|
|
uint32_t *vres,
|
|
uint32_t *rmask,
|
|
uint32_t *gmask,
|
|
uint32_t *bmask);
|