ia64/xen-unstable

view linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/vga.h @ 13341:3040ba0f2d3d

When booting via xm, only run the bootloader if it's in non-interactive mode:
otherwise we lose the user's named kernel and try to bootload the temporary
file pygrub returned.

Signed-off-by: John Levon <john.levon@sun.com>
author Tim Deegan <Tim.Deegan@xensource.com>
date Tue Jan 09 13:24:45 2007 +0000 (2007-01-09)
parents fd9b2c1bb577
children 3adf00179a63
line source
1 /*
2 * Access to VGA videoram
3 *
4 * (c) 1998 Martin Mares <mj@ucw.cz>
5 */
7 #ifndef _LINUX_ASM_VGA_H_
8 #define _LINUX_ASM_VGA_H_
10 /*
11 * On the PC, we can just recalculate addresses and then
12 * access the videoram directly without any black magic.
13 */
15 #define VGA_MAP_MEM(x) (unsigned long)isa_bus_to_virt(x)
17 #define vga_readb(x) (*(x))
18 #define vga_writeb(x,y) (*(y) = (x))
20 #endif