]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader: unload command should reset tg_kernel_supported in gfx_state
authorToomas Soome <tsoome@FreeBSD.org>
Thu, 28 Jan 2021 07:45:47 +0000 (09:45 +0200)
committerToomas Soome <tsoome@FreeBSD.org>
Thu, 28 Jan 2021 07:52:20 +0000 (09:52 +0200)
commit9b388ac30375ad4e0259b264a006753edcb2bd3c
treefed0da8279be11a889f866c2405b12c437881038
parent0e01ea872ee475d7aef11d21588504e2ef4eb32c
loader: unload command should reset tg_kernel_supported in gfx_state

While loading kernel, we check if vt/vbe backend support is included in
kernel and set the tg_kernel_supported flag in gfx_state. unload
command needs to reset this flag to allow next load to perform
this check with new kernel.

Reported by: jhb
stand/common/module.c