|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-merge
[Xen-merge] [PATCH 20/23] vga subarch headers
 
--- 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
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-merge] [PATCH 00/23] i386 subarch (broken down patches), Chris Wright
- [Xen-merge] [PATCH 21/23] Xen subarch headers, Chris Wright
 
- [Xen-merge] [PATCH 20/23] vga subarch headers,
Chris Wright <=
 
- [Xen-merge] [PATCH 16/23] setup subarch headers, Chris Wright
 
- [Xen-merge] [PATCH 15/23] segment subarch headers, Chris Wright
 
- [Xen-merge] [PATCH 04/23] dma-mapping subarch headers, Chris Wright
 
- [Xen-merge] [PATCH 22/23] add asm-i386/synch_bitops, Chris Wright
 
- [Xen-merge] [PATCH 17/23] spinlock subarch headers, Chris Wright
 
- [Xen-merge] [PATCH 07/23] highmem subarch headers, Chris Wright
 
- [Xen-merge] [PATCH 14/23] processor subarch headers, Chris Wright
 
- [Xen-merge] [PATCH 23/23] Xen subarch (largely copied files still), Chris Wright
 
- [Xen-merge] [PATCH 11/23] page subarch headers, Chris Wright
 
- [Xen-merge] [PATCH 10/23] mmu subarch headers, Chris Wright
 
 
 
 
 |  
  
 | 
    | 
  
  
    |   | 
    |