History

xen/x86: obtain upper 32 bits of video frame buffer address for Dom0

The hypervisor has been supplying this information for a couple of major releases. Make use of it. The need to set a flag in the capabilities field also points out that the prior setting of that field from the hypervisor interface's gbl_caps one was wrong, so that code gets deleted (there's also no equivalent of this in native boot code). Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>

Jan Beulich committed 4 years ago

Commit 335e4dd1 parent ce2f46f2 files · +11 −4Browse files

Showing the changes to include/xen/interface (1 of 2 files). Show all

Unified · Split

include/xen/interface/xen.h+3−0
@@ -722,6 +722,9 @@ struct dom0_vga_console_info { · 721 unmodified lines
722 uint32_t gbl_caps;722 uint32_t gbl_caps;
723 /* Mode attributes (offset 0x0, VESA command 0x4f01). */723 /* Mode attributes (offset 0x0, VESA command 0x4f01). */
724 uint16_t mode_attrs;724 uint16_t mode_attrs;
725 uint16_t pad;
726 /* high 32 bits of lfb_base */
727 uint32_t ext_lfb_base;
725 } vesa_lfb;728 } vesa_lfb;
726 } u;729 } u;
727};730};