Page MenuHomeFreeBSD

loader: Only create gfx 4th bindings when gfx is available
ClosedPublic

Authored by imp on Feb 14 2024, 9:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 10, 10:24 AM
Unknown Object (File)
Wed, Nov 26, 10:04 PM
Unknown Object (File)
Wed, Nov 26, 10:12 AM
Unknown Object (File)
Nov 8 2025, 12:24 AM
Unknown Object (File)
Nov 4 2025, 9:15 PM
Unknown Object (File)
Nov 4 2025, 1:28 PM
Unknown Object (File)
Nov 3 2025, 8:47 PM
Unknown Object (File)
Nov 3 2025, 8:46 PM
Subscribers

Details

Summary

Only create the gfx bindings for 4th when it's comiled into the
kernel. We do this with a linker set that only gets brought in to those
loaders that call gfx_framework_init. This calls gfx_interp_md() will
will drag in gfx_loader.c which will add to the linker set that
registers these bindings.

Sponsored by: Netflix

Diff Detail

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

Event Timeline

imp requested review of this revision.Feb 14 2024, 9:53 PM
jhb added a subscriber: jhb.

s/comile/compile/ in the commit log, and I think you want s/kernel/loader/ in the commit log as well

This revision is now accepted and ready to land.Feb 14 2024, 9:58 PM
In D43904#1001560, @jhb wrote:

s/comile/compile/ in the commit log, and I think you want s/kernel/loader/ in the commit log as well

Updated, thanks!