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