direct-io.hg

view linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/vga.h @ 11509:2e6c10dc7c0b

[POWERPC][XEN] make sure put_domain() is called in case of allocate_rma() failuer

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Jimi Xenidis <jimix@watson.ibm.com>
date Tue Sep 12 10:53:46 2006 -0400 (2006-09-12)
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