]> Git Repo - linux.git/blob - arch/ia64/include/asm/vga.h
Merge tag 'mlx5-fixes-2019-03-11' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / arch / ia64 / include / asm / vga.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  *      Access to VGA videoram
4  *
5  *      (c) 1998 Martin Mares <[email protected]>
6  *      (c) 1999 Asit Mallick <[email protected]>
7  *      (c) 1999 Don Dugger <[email protected]>
8  */
9
10 #ifndef __ASM_IA64_VGA_H_
11 #define __ASM_IA64_VGA_H_
12
13 /*
14  * On the PC, we can just recalculate addresses and then access the
15  * videoram directly without any black magic.
16  */
17
18 extern unsigned long vga_console_iobase;
19 extern unsigned long vga_console_membase;
20
21 #define VGA_MAP_MEM(x,s)        ((unsigned long) ioremap_nocache(vga_console_membase + (x), s))
22
23 #define vga_readb(x)    (*(x))
24 #define vga_writeb(x,y) (*(y) = (x))
25
26 #endif /* __ASM_IA64_VGA_H_ */
This page took 0.02928 seconds and 4 git commands to generate.