2005-04-17 06:20:36 +08:00
|
|
|
#ifndef ASMARM_VGA_H
|
|
|
|
#define ASMARM_VGA_H
|
|
|
|
|
2008-09-06 19:10:45 +08:00
|
|
|
#include <linux/io.h>
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2011-06-29 10:22:40 +08:00
|
|
|
extern unsigned long vga_base;
|
|
|
|
|
|
|
|
#define VGA_MAP_MEM(x,s) (vga_base + (x))
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
#define vga_readb(x) (*((volatile unsigned char *)x))
|
|
|
|
#define vga_writeb(x,y) (*((volatile unsigned char *)y) = (x))
|
|
|
|
|
|
|
|
#endif
|