]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
x86/xen: do video console fixup as part of early initialization
authorRoger Pau Monné <royger@FreeBSD.org>
Fri, 2 Feb 2024 10:29:57 +0000 (11:29 +0100)
committerRoger Pau Monné <royger@FreeBSD.org>
Thu, 22 Feb 2024 10:08:05 +0000 (11:08 +0100)
commit027b66d64b547b2133c11b596a7e308ea8c83ccb
treeef563b58f874f28be735b83dd4af17e1a11f97db
parent5d62aba742ace4f020be5d5e843cf0f89024930b
x86/xen: do video console fixup as part of early initialization

When FreeBSD is running as dom0 the video console metadata provided by the
bootloader might not be accurate, as Xen has very likely taken over the console
and possibly changed the mode.

Adjust the video console information in the kernel metadata as part of early
Xen initialization.

Sponsored by: Cloud Software Group
Reviewed by: imp
Differential revision: https://reviews.freebsd.org/D43934
sys/x86/xen/hvm.c
sys/x86/xen/pv.c