PatchworkOS
Loading...
Searching...
No Matches
gop.c File Reference
#include <kernel/drivers/gop.h>
#include <kernel/drivers/abstractions/fb.h>
#include <kernel/log/log.h>
#include <kernel/log/panic.h>
#include <kernel/mem/vmm.h>
#include <kernel/proc/process.h>
#include <kernel/sched/sched.h>
#include <assert.h>
#include <errno.h>
#include <string.h>
#include <sys/fb.h>
#include <sys/math.h>

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)
 
void gop_init (const boot_gop_t *in)
 

Variables

static boot_gop_t gop
 
static fb_tfb
 
static fb_info_t info
 

Function Documentation

◆ gop_init()

◆ gop_mmap()

static void * gop_mmap ( fb_t fb,
void *  addr,
uint64_t  length,
uint64_t offset,
pml_flags_t  flags 
)
static

Variable Documentation

◆ fb

fb_t* fb
static

Definition at line 17 of file gop.c.

Referenced by fb_buffer_mmap(), fb_dir_cleanup(), fb_free(), fb_info_read(), fb_new(), gop_init(), and gop_mmap().

◆ gop

boot_gop_t gop
static

Definition at line 16 of file gop.c.

◆ info