56 panic(
NULL,
"Failed to create GOP framebuffer");
#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.
NORETURN void panic(const interrupt_frame_t *frame, const char *format,...)
Panic the kernel, printing a message and halting.
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.
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.
static void * gop_mmap(fb_t *fb, void *addr, uint64_t length, uint64_t *offset, pml_flags_t flags)
void gop_init(const boot_gop_t *in)
__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.