projects
/
firefly-linux-kernel-4.4.55.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
KVM: ARM: Emulation framework and CP15 emulation
[firefly-linux-kernel-4.4.55.git]
/
arch
/
arm
/
include
/
asm
/
vga.h
1
#ifndef ASMARM_VGA_H
2
#define ASMARM_VGA_H
3
4
#include <linux/io.h>
5
6
extern unsigned long vga_base;
7
8
#define VGA_MAP_MEM(x,s) (vga_base + (x))
9
10
#define vga_readb(x) (*((volatile unsigned char *)x))
11
#define vga_writeb(x,y) (*((volatile unsigned char *)y) = (x))
12
13
#endif