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 24, 6:52 PM
Unknown Object (File)
Thu, Oct 23, 1:12 PM
Unknown Object (File)
Fri, Oct 3, 3:15 PM
Unknown Object (File)
Sep 20 2025, 8:29 PM
Unknown Object (File)
Sep 16 2025, 11:50 AM
Unknown Object (File)
Sep 15 2025, 4:36 PM
Unknown Object (File)
Sep 15 2025, 2:19 AM
Unknown Object (File)
Sep 8 2025, 6:21 PM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 64864
Build 61747: arc lint + arc unit

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.