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