Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef ASMARM_VGA_H
0003 #define ASMARM_VGA_H
0004 
0005 #include <linux/io.h>
0006 
0007 extern unsigned long vga_base;
0008 
0009 #define VGA_MAP_MEM(x,s)    (vga_base + (x))
0010 
0011 #define vga_readb(x)    (*((volatile unsigned char *)x))
0012 #define vga_writeb(x,y) (*((volatile unsigned char *)y) = (x))
0013 
0014 #endif