PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
gop.c File Reference
#include <kernel/drivers/abstract/fb.h>
#include <kernel/init/boot_info.h>
#include <kernel/init/init.h>
#include <kernel/log/log.h>
#include <kernel/log/panic.h>
#include <kernel/mem/vmm.h>
#include <kernel/module/module.h>
#include <kernel/proc/process.h>
#include <kernel/sched/sched.h>
#include <errno.h>
#include <string.h>
#include <sys/fb.h>
#include <sys/math.h>
Include dependency graph for gop.c:

Go to the source code of this file.

Functions

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)
 
 MODULE_INFO ("GOP Driver", "Kai Norberg", "A driver for the GOP framebuffer", OS_VERSION, "MIT", "BOOT_GOP")
 

Variables

static boot_gop_t gop
 
static fb_tfb
 
static fb_info_t info
 

Function Documentation

◆ _module_procedure()

uint64_t _module_procedure ( const module_event_t event)

Definition at line 83 of file gop.c.

Here is the call graph for this function:

◆ MODULE_INFO()

MODULE_INFO ( "GOP Driver"  ,
"Kai Norberg"  ,
"A driver for the GOP framebuffer"  ,
OS_VERSION  ,
"MIT"  ,
"BOOT_GOP"   
)