Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329183
b: refs/heads/master
c: aa387d6
h: refs/heads/master
i:
  329181: f042168
  329179: e1715e5
  329175: ff15ede
  329167: 2d6896b
  329151: 6064570
v: v3
  • Loading branch information
Jan Beulich authored and Konrad Rzeszutek Wilk committed Sep 24, 2012
1 parent c01eebc commit a3fe2d7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ffb8b233c2261b7978dc3bd759aaa19bd1a7fadf
refs/heads/master: aa387d630cfed1a694a9c8c61fba3877ba8d4f07
7 changes: 7 additions & 0 deletions trunk/arch/x86/xen/vga.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ void __init xen_init_vga(const struct dom0_vga_console_info *info, size_t size)
info->u.text_mode_3.font_height;
break;

case XEN_VGATYPE_EFI_LFB:
case XEN_VGATYPE_VESA_LFB:
if (size < offsetof(struct dom0_vga_console_info,
u.vesa_lfb.gbl_caps))
Expand All @@ -54,6 +55,12 @@ void __init xen_init_vga(const struct dom0_vga_console_info *info, size_t size)
screen_info->blue_pos = info->u.vesa_lfb.blue_pos;
screen_info->rsvd_size = info->u.vesa_lfb.rsvd_size;
screen_info->rsvd_pos = info->u.vesa_lfb.rsvd_pos;

if (info->video_type == XEN_VGATYPE_EFI_LFB) {
screen_info->orig_video_isVGA = VIDEO_TYPE_EFI;
break;
}

if (size >= offsetof(struct dom0_vga_console_info,
u.vesa_lfb.gbl_caps)
+ sizeof(info->u.vesa_lfb.gbl_caps))
Expand Down
1 change: 1 addition & 0 deletions trunk/include/xen/interface/xen.h
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ struct dom0_vga_console_info {
uint8_t video_type;
#define XEN_VGATYPE_TEXT_MODE_3 0x03
#define XEN_VGATYPE_VESA_LFB 0x23
#define XEN_VGATYPE_EFI_LFB 0x70

union {
struct {
Expand Down

0 comments on commit a3fe2d7

Please sign in to comment.