repo.or.cz
/
linux-ginger.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Full support for Ginger Console
[linux-ginger.git]
/
arch
/
arm
/
include
/
asm
/
vga.h
blob
250a4dd00630f135c09e3fb474092ed4b9ba1b04
1
#ifndef ASMARM_VGA_H
2
#define ASMARM_VGA_H
3
4
#include <linux/io.h>
5
#include <mach/hardware.h>
6
7
#define VGA_MAP_MEM(x,s) (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