diff options
author | Keir Fraser <keir@xensource.com> | 2007-06-10 15:58:08 +0100 |
---|---|---|
committer | Keir Fraser <keir@xensource.com> | 2007-06-10 15:58:08 +0100 |
commit | 08f2039517e1c3b178e167153e6b10ec53966a8b (patch) | |
tree | d141a39d6a87fab61b7b30da8f25231a0525f755 /xen/include/xen/vga.h | |
parent | 0da9d71b9c5e5c3dde20e246989fb942476aee8b (diff) | |
download | xen-08f2039517e1c3b178e167153e6b10ec53966a8b.tar.gz xen-08f2039517e1c3b178e167153e6b10ec53966a8b.tar.bz2 xen-08f2039517e1c3b178e167153e6b10ec53966a8b.zip |
x86: Allow selection of graphical video modes during boot.
The 'vga=' boot option is extended as follows:
----------
'vga=<mode-specifier>[,keep]' where <mode-specifier> is one of:
'vga=ask':
display a vga menu of available modes
'vga=text-80x<rows>':
text mode, where <rows> is one of {25,28,30,34,43,50,60}
'vga=gfx-<width>x<height>x<depth>':
graphics mode, e.g., vga=gfx-1024x768x16
'vga=mode-<mode>:
specifies a mode as specified in 'vga=ask' menu
(NB. menu modes are displayed in hex, so mode numbers here must
be prefixed with '0x' (e.g., 'vga=mode-0x0318'))
The option 'keep' causes Xen to continue to print to the VGA console even
after domain 0 starts to boot. The default behaviour is to relinquish
control of the console to domain 0.
----------
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/vga.h')
-rw-r--r-- | xen/include/xen/vga.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/xen/vga.h b/xen/include/xen/vga.h index 3431d625f7..e0737659c1 100644 --- a/xen/include/xen/vga.h +++ b/xen/include/xen/vga.h @@ -12,6 +12,7 @@ #include <xen/config.h> #ifdef CONFIG_VGA +extern struct xen_vga_console_info vga_console_info; void vga_init(void); void vga_endboot(void); void vga_putchar(int c); |