Page MenuHomeFreeBSD

loader: Move drawer.lua over to gfx table.
ClosedPublic

Authored by imp on Feb 14 2024, 9:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 17, 12:04 PM
Unknown Object (File)
Fri, Jan 3, 1:28 AM
Unknown Object (File)
Sat, Dec 28, 10:41 PM
Unknown Object (File)
Nov 27 2024, 7:57 AM
Unknown Object (File)
Nov 27 2024, 7:57 AM
Unknown Object (File)
Nov 27 2024, 7:57 AM
Unknown Object (File)
Nov 27 2024, 7:44 AM
Unknown Object (File)
Oct 5 2024, 9:41 AM
Subscribers

Details

Summary

Drawer.lua is the only bit of lua code in the base that uses any of the
functons moved from the loader table to the gfx table. Move the main
code to using the gfx dispatch. Add compat code for running on old
loaders that creates the newer-style gfx table with the term_* functions
we call in it populated. This will even work on the super old versions
of the loader that don't have them (we'll still skip using them).

Sponsored by: Netflix

Diff Detail

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