58 LOG_ERR(
"no GOP provided by bootloader");
73 LOG_ERR(
"Failed to create GOP framebuffer");
99MODULE_INFO(
"GOP Driver",
"Kai Norberg",
"A driver for the GOP framebuffer", OS_VERSION,
"MIT",
"BOOT_GOP");
#define MAX_NAME
Maximum length of names.
fb_t * fb_new(const fb_info_t *info, fb_mmap_t mmap)
Allocate and initialize a framebuffer structure.
boot_info_t * boot_info_get(void)
Gets the boot info structure.
#define LOG_ERR(format,...)
#define LOG_INFO(format,...)
void * vmm_map(space_t *space, void *virtAddr, void *physAddr, uint64_t length, pml_flags_t flags, space_callback_func_t func, void *private)
Maps physical memory to virtual memory in a given address space.
#define MODULE_INFO(_name, _author, _description, _version, _licence, _deviceTypes)
Macro to define module information.
process_t * sched_process(void)
Retrieves the process of the currently running thread.
#define EINVAL
Invalid argument.
#define errno
Error number variable.
#define NULL
Pointer error value.
#define ERR
Integer error value.
static void * gop_mmap(fb_t *fb, void *addr, uint64_t length, uint64_t *offset, pml_flags_t flags)
static uint64_t gop_init(void)
uint64_t _module_procedure(const module_event_t *event)
static const path_flag_t flags[]
__UINTPTR_TYPE__ uintptr_t
_PUBLIC char * strncpy(char *_RESTRICT s1, const char *_RESTRICT s2, size_t n)
A entry in a page table without a specified address or callback ID.