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)
Mon, May 27, 4:27 PM
Unknown Object (File)
Tue, May 21, 11:56 PM
Unknown Object (File)
Tue, May 21, 11:56 PM
Unknown Object (File)
Tue, May 21, 11:20 PM
Unknown Object (File)
Fri, May 17, 4:59 AM
Unknown Object (File)
Mon, May 13, 3:38 AM
Unknown Object (File)
Mon, May 13, 3:38 AM
Unknown Object (File)
Mon, May 13, 1:31 AM
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!