Page MenuHomeFreeBSD

vt_fb: account for endianness
ClosedPublic

Authored by vexeduxr on Jun 14 2025, 12:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 3, 3:15 PM
Unknown Object (File)
Sat, Sep 20, 8:29 PM
Unknown Object (File)
Tue, Sep 16, 11:50 AM
Unknown Object (File)
Mon, Sep 15, 4:36 PM
Unknown Object (File)
Mon, Sep 15, 2:19 AM
Unknown Object (File)
Sep 8 2025, 6:21 PM
Unknown Object (File)
Sep 2 2025, 11:35 PM
Unknown Object (File)
Aug 28 2025, 10:58 AM
Subscribers
None

Details

Summary

Account for endianness when writing to 24bpp framebuffers. Also create a
vt_fb_mem_wr3 function to avoid code duplication.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

vexeduxr created this revision.

QEMU seems to give us a 24bpp framebuffer only when using the CSM firmware. This can be tested by loading QEMU with the CSM firmware then booting through UEFI.

This revision is now accepted and ready to land.Jun 21 2025, 9:22 PM
This revision was automatically updated to reflect the committed changes.