Skip to main content

walk_framebuffer_linux

Function walk_framebuffer_linux 

Source
pub fn walk_framebuffer_linux<P: PhysicalMemoryProvider + Clone>(
    reader: &ObjectReader<P>,
) -> Result<FramebufferResult>
Expand description

Walk the Linux boot_params.screen_info structure to locate and capture the linear framebuffer, returning a FramebufferResult with PNG bytes.