Files
OrangePi_CM5/arch/arm/include/asm/vga.h
T

13 lines
266 B
C
Raw Normal View History

2005-04-16 15:20:36 -07:00
#ifndef ASMARM_VGA_H
#define ASMARM_VGA_H
2008-09-06 12:10:45 +01:00
#include <linux/io.h>
2005-04-16 15:20:36 -07:00
2011-06-28 21:22:40 -05:00
extern unsigned long vga_base;
#define VGA_MAP_MEM(x,s) (vga_base + (x))
2005-04-16 15:20:36 -07:00
#define vga_readb(x) (*((volatile unsigned char *)x))
#define vga_writeb(x,y) (*((volatile unsigned char *)y) = (x))
#endif