]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[fbcon] Remove userptr_t from framebuffer console drivers
authorMichael Brown <mcb30@ipxe.org>
Fri, 25 Apr 2025 09:52:26 +0000 (10:52 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 25 Apr 2025 11:44:28 +0000 (12:44 +0100)
commitaa3cc56ab20763eb1d8e04085ee6013636760606
tree3f254c1d708b650eb78e94bfdb8f74b1aac807c7
parent4cca1cadf8a71009d1060cbec03a823955c10276
[fbcon] Remove userptr_t from framebuffer console drivers

Simplify the framebuffer console drivers by assuming that the raw
framebuffer, character cell array, background picture, and glyph data
are all directly accessible via pointer dereferences.

In particular, this avoids the need to copy each glyph during drawing:
the VESA framebuffer driver can simply return a pointer to the glyph
data stored in the video ROM.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/x86/interface/pcbios/vesafb.c
src/core/fbcon.c
src/include/ipxe/fbcon.h
src/include/ipxe/pixbuf.h
src/interface/efi/efi_fbcon.c