⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module framebuffer

Module framebuffer 

Source
Expand description

Framebuffer implementation

Provides the low-level framebuffer device interface including physical address tracking for user-space mmap and double-buffered rendering.

Structs§

FbInfo
Framebuffer information structure passed to user space via syscall.
Framebuffer
Framebuffer configuration

Functions§

get_fb_info
Get framebuffer info (safe to call from syscall context).
get_phys_addr
Get the framebuffer physical address.
init
Initialize framebuffer
set_phys_addr
Store the framebuffer physical address (called from bootstrap).
with_framebuffer
Execute a closure with the framebuffer (mutable access)