Linux 5.7.7
[linux/fpc-iii.git] / arch / arm / include / asm / vga.h
blob7c0bee57855ab6ac71d954eb8bdda6e028536d07
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ASMARM_VGA_H
3 #define ASMARM_VGA_H
5 #include <linux/io.h>
7 extern unsigned long vga_base;
9 #define VGA_MAP_MEM(x,s) (vga_base + (x))
11 #define vga_readb(x) (*((volatile unsigned char *)x))
12 #define vga_writeb(x,y) (*((volatile unsigned char *)y) = (x))
14 #endif