|
PatchworkOS
|
#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_t * | fb |
| static fb_info_t | info |
| void gop_init | ( | const boot_gop_t * | in | ) |
Definition at line 43 of file gop.c.
References fb, FB_ARGB32, fb_new(), fb_info_t::format, gop, gop_mmap(), boot_gop_t::height, fb_info_t::height, info, MAX_NAME, fb_info_t::name, NULL, panic(), boot_gop_t::stride, fb_info_t::stride, strncpy(), boot_gop_t::width, and fb_info_t::width.
Referenced by init_finalize().
|
static |
Definition at line 19 of file gop.c.
References EINVAL, errno, fb, gop, boot_gop_t::height, NULL, boot_gop_t::physAddr, sched_process(), process_t::space, boot_gop_t::stride, and vmm_map().
Referenced by gop_init().
|
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().
|
static |
|
static |
Definition at line 41 of file gop.c.
Referenced by _syscall_stat(), cpuid_extended_feature_info(), cpuid_feature_info(), display_get_surface_info(), fb_new(), gop_init(), gop_select_mode(), loader_spawn(), pipeline_execute_cmd(), ps2_device_init(), ps2_kbd_init(), ps2_mouse_init(), rand_cpu_init(), simd_cpu_init(), simd_ctx_load(), simd_ctx_save(), simd_xsave_init(), start_services(), stat(), surface_get_info(), and taskbar_entry_add().