* about framebuffer support in xen domain 0
@ 2007-03-08 8:09 qiang.wang
2007-03-08 8:17 ` Keir Fraser
0 siblings, 1 reply; 2+ messages in thread
From: qiang.wang @ 2007-03-08 8:09 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 1979 bytes --]
Hi, list,
I have a problem after moving the bootsplash patch into the domain 0
kernel. It doesn't work.
After digging the source code, I found that the kernel data "struct
screen_info screen_info" is set to a specific value in
arch/i386/kernel/setup-xen.c. And the info->video_type is
XEN_VGATYPE_TEXT_MODE_3, so it doesn't support framebuffer in domain 0
and the bootsplash either.
void __init setup_arch(char **cmdline_p)
{
...
if (is_initial_xendomain()) {
/* This is drawn from a dump from vgacon:startup in
* standard Linux. */
screen_info.orig_video_mode = 3;
screen_info.orig_video_isVGA = 1;
screen_info.orig_video_lines = 25;
screen_info.orig_video_cols = 80;
screen_info.orig_video_ega_bx = 3;
screen_info.orig_video_points = 16;
screen_info.orig_y = screen_info.orig_video_lines - 1;
if (xen_start_info->console.dom0.info_size >=
sizeof(struct dom0_vga_console_info)) {
//const struct dom0_vga_console_info *info =
struct dom0_vga_console_info *info =
(struct dom0_vga_console_info *)(
(char *)xen_start_info +
xen_start_info-
>console.dom0.info_off);
// wangqiang
//info->video_type = XEN_VGATYPE_VESA_LFB;
dom0_init_screen_info(info);
}
xen_start_info->console.domU.mfn = 0;
xen_start_info->console.domU.evtchn = 0;
} else
screen_info.orig_video_isVGA = 0;
...
}
it seems that the initial dom0_vga_console_info is set by
fill_console_start_info() in xen/drivers/video/vga.c
My question is that is there a particular reason to assign the
dom0_vga_console_info a specific value?
[-- Attachment #1.2: Type: text/html, Size: 4694 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-08 8:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-08 8:09 about framebuffer support in xen domain 0 qiang.wang
2007-03-08 8:17 ` Keir Fraser
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.