summaryrefslogtreecommitdiff
path: root/arch/x86/xen/vga.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2023-03-13 15:45:48 +0100
committerJuergen Gross <jgross@suse.com>2023-03-14 15:20:51 +0100
commit934ef33ee75c3846f605f18b65048acd147e3918 (patch)
tree5b5b2fd04466a3c1528176ad31982a9fec68615e /arch/x86/xen/vga.c
parent99a7bcafbd0d04555074554573019096a8c10450 (diff)
x86/PVH: obtain VGA console info in Dom0
A new platform-op was added to Xen to allow obtaining the same VGA console information PV Dom0 is handed. Invoke the new function and have the output data processed by xen_init_vga(). Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Juergen Gross <jgross@suse.com> Link: https://lore.kernel.org/r/8f315e92-7bda-c124-71cc-478ab9c5e610@suse.com Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'arch/x86/xen/vga.c')
-rw-r--r--arch/x86/xen/vga.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/xen/vga.c b/arch/x86/xen/vga.c
index 14ea32e734d5..d97adab8420f 100644
--- a/arch/x86/xen/vga.c
+++ b/arch/x86/xen/vga.c
@@ -9,10 +9,9 @@
#include "xen-ops.h"
-void __init xen_init_vga(const struct dom0_vga_console_info *info, size_t size)
+void __init xen_init_vga(const struct dom0_vga_console_info *info, size_t size,
+ struct screen_info *screen_info)
{
- struct screen_info *screen_info = &boot_params.screen_info;
-
/* This is drawn from a dump from vgacon:startup in
* standard Linux. */
screen_info->orig_video_mode = 3;