WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-merge

[Xen-merge] [PATCH 20/23] vga subarch headers

To: xen-merge@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-merge] [PATCH 20/23] vga subarch headers
From: Chris Wright <chrisw@xxxxxxxx>
Date: Mon, 08 Aug 2005 00:02:56 -0700
Delivery-date: Mon, 08 Aug 2005 07:06:34 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-merge-request@lists.xensource.com?subject=help>
List-id: xen-merge <xen-merge.lists.xensource.com>
List-post: <mailto:xen-merge@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-merge>, <mailto:xen-merge-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-merge>, <mailto:xen-merge-request@lists.xensource.com?subject=unsubscribe>
References: <20050808070236.231405000@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-merge-bounces@xxxxxxxxxxxxxxxxxxx
--- linux-2.6.12-xen0-arch.orig/include/asm-i386/vga.h
+++ linux-2.6.12-xen0-arch/include/asm-i386/vga.h
@@ -11,8 +11,7 @@
  *     On the PC, we can just recalculate addresses and then
  *     access the videoram directly without any black magic.
  */
-
-#define VGA_MAP_MEM(x) (unsigned long)phys_to_virt(x)
+#include <mach_vga.h>
 
 #define vga_readb(x) (*(x))
 #define vga_writeb(x,y) (*(y) = (x))
--- /dev/null
+++ linux-2.6.12-xen0-arch/include/asm-i386/mach-default/mach_vga.h
@@ -0,0 +1,6 @@
+#ifndef _ASM_MACH_VGA_H_
+#define _ASM_MACH_VGA_H_
+
+#define VGA_MAP_MEM(x) (unsigned long)phys_to_virt(x)
+
+#endif
--- linux-2.6.12-xen0/include/asm-i386/mach-xen/mach_vga.h      1969-12-31 
16:00:00.000000000 -0800
+++ linux-2.6.12-xen0-arch/include/asm-i386/mach-xen/mach_vga.h 2005-08-02 
00:48:36.000000000 -0700
@@ -0,0 +1,6 @@
+#ifndef _ASM_MACH_VGA_H_
+#define _ASM_MACH_VGA_H_
+
+#define VGA_MAP_MEM(x) (unsigned long)isa_bus_to_virt(x)
+
+#endif

--


_______________________________________________
Xen-merge mailing list
Xen-merge@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-merge