1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Access to VGA videoram
5 * (c) 1998 Martin Mares <mj@ucw.cz>
6 * (c) 1999 Asit Mallick <asit.k.mallick@intel.com>
7 * (c) 1999 Don Dugger <don.dugger@intel.com>
10 #ifndef __ASM_IA64_VGA_H_
11 #define __ASM_IA64_VGA_H_
14 * On the PC, we can just recalculate addresses and then access the
15 * videoram directly without any black magic.
18 extern unsigned long vga_console_iobase
;
19 extern unsigned long vga_console_membase
;
21 #define VGA_MAP_MEM(x,s) ((unsigned long) ioremap(vga_console_membase + (x), s))
23 #define vga_readb(x) (*(x))
24 #define vga_writeb(x,y) (*(y) = (x))
26 #endif /* __ASM_IA64_VGA_H_ */