Magellan Linux

Contents of /alx-src/tags/kernel26-2.6.12-alx-r9/include/asm-arm/vga.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 630 - (show annotations) (download)
Wed Mar 4 11:03:09 2009 UTC (15 years, 3 months ago) by niro
File MIME type: text/plain
File size: 259 byte(s)
Tag kernel26-2.6.12-alx-r9
1 #ifndef ASMARM_VGA_H
2 #define ASMARM_VGA_H
3
4 #include <asm/hardware.h>
5 #include <asm/io.h>
6
7 #define VGA_MAP_MEM(x) (PCIMEM_BASE + (x))
8
9 #define vga_readb(x) (*((volatile unsigned char *)x))
10 #define vga_writeb(x,y) (*((volatile unsigned char *)y) = (x))
11
12 #endif