PatchworkOS  19e446b
A non-POSIX operating system.
Loading...
Searching...
No Matches
fb_ops_t Struct Reference

Framebuffer operations. More...

#include <fb.h>

Collaboration diagram for fb_ops_t:

Data Fields

uint64_t(* info )(fb_t *fb, fb_info_t *info)
 
size_t(* read )(fb_t *fb, void *buffer, size_t count, size_t *offset)
 
size_t(* write )(fb_t *fb, const void *buffer, size_t count, size_t *offset)
 
void *(* mmap )(fb_t *fb, void *address, size_t length, size_t *offset, pml_flags_t flags)
 
void(* cleanup )(fb_t *fb)
 

Detailed Description

Framebuffer operations.

Definition at line 62 of file fb.h.

Field Documentation

◆ info

uint64_t(* fb_ops_t::info) (fb_t *fb, fb_info_t *info)

Definition at line 64 of file fb.h.

◆ read

size_t(* fb_ops_t::read) (fb_t *fb, void *buffer, size_t count, size_t *offset)

Definition at line 65 of file fb.h.

◆ write

size_t(* fb_ops_t::write) (fb_t *fb, const void *buffer, size_t count, size_t *offset)

Definition at line 66 of file fb.h.

◆ mmap

void *(* fb_ops_t::mmap) (fb_t *fb, void *address, size_t length, size_t *offset, pml_flags_t flags)

Definition at line 67 of file fb.h.

◆ cleanup

void(* fb_ops_t::cleanup) (fb_t *fb)

Definition at line 68 of file fb.h.


The documentation for this struct was generated from the following file: