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

get_framebuffer_info

Function get_framebuffer_info 

Source
pub fn get_framebuffer_info() -> Option<BootFramebufferInfo>
Expand description

Extract framebuffer information from the UEFI boot info.

Returns None if BootInfo is unavailable or has no framebuffer. The returned pointer is already a valid virtual address (the bootloader maps the framebuffer with Mapping::Dynamic).