PatchworkOS
Loading...
Searching...
No Matches
fb.h File Reference
#include <kernel/fs/sysfs.h>
#include <kernel/mem/vmm.h>
#include <stdint.h>
#include <sys/fb.h>
#include <sys/proc.h>

Go to the source code of this file.

Data Structures

struct  fb_t
 Framebuffer structure. More...
 

Typedefs

typedef struct fb fb_t
 
typedef void *(* fb_mmap_t) (fb_t *, void *, uint64_t, uint64_t *, pml_flags_t)
 Framebuffer mmap callback type.
 

Functions

fb_tfb_new (const fb_info_t *info, fb_mmap_t mmap)
 Allocate and initialize a framebuffer structure.
 
void fb_free (fb_t *fb)
 Free and deinitialize a framebuffer structure.
 

Typedef Documentation

◆ fb_t

typedef struct fb fb_t

Definition at line 10 of file fb.h.