summaryrefslogtreecommitdiff
path: root/include/asm-xtensa/vga.h
diff options
context:
space:
mode:
authorChris Zankel <czankel@tensilica.com>2005-06-24 05:01:26 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-24 07:05:22 (GMT)
commit9a8fd5589902153a134111ed7a40f9cca1f83254 (patch)
tree6f7a06de25bdf0b2d94623794c2cbbc66b5a77f6 /include/asm-xtensa/vga.h
parent3f65ce4d141e435e54c20ed2379d983d362a2cb5 (diff)
downloadlinux-9a8fd5589902153a134111ed7a40f9cca1f83254.tar.xz
[PATCH] xtensa: Architecture support for Tensilica Xtensa Part 6
The attached patches provides part 6 of an architecture implementation for the Tensilica Xtensa CPU series. Signed-off-by: Chris Zankel <chris@zankel.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-xtensa/vga.h')
-rw-r--r--include/asm-xtensa/vga.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/asm-xtensa/vga.h b/include/asm-xtensa/vga.h
new file mode 100644
index 0000000..23d82f6
--- /dev/null
+++ b/include/asm-xtensa/vga.h
@@ -0,0 +1,19 @@
+/*
+ * include/asm-xtensa/vga.h
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
+ * Copyright (C) 2001 - 2005 Tensilica Inc.
+ */
+
+#ifndef _XTENSA_VGA_H
+#define _XTENSA_VGA_H
+
+#define VGA_MAP_MEM(x) (unsigned long)phys_to_virt(x)
+
+#define vga_readb(x) (*(x))
+#define vga_writeb(x,y) (*(y) = (x))
+
+#endif