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-ppc-devel

[XenPPC] [xenppc-unstable] [POWERPC] add missing vga components

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [xenppc-unstable] [POWERPC] add missing vga components
From: Xen patchbot-xenppc-unstable <patchbot-xenppc-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 18 Aug 2006 18:11:23 +0000
Delivery-date: Fri, 18 Aug 2006 11:14:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 227c65d72a657360a8373eeffaa602ee8a3cee8f
# Parent  4b028786b67e720e8b36b2d9dda0184a09b1f661
[POWERPC] add missing vga components
---
 xen/arch/powerpc/setup.c     |    1 +
 xen/include/asm-powerpc/io.h |    2 ++
 2 files changed, 3 insertions(+)

diff -r 4b028786b67e -r 227c65d72a65 xen/arch/powerpc/setup.c
--- a/xen/arch/powerpc/setup.c  Fri Aug 18 14:06:02 2006 -0400
+++ b/xen/arch/powerpc/setup.c  Fri Aug 18 14:06:58 2006 -0400
@@ -67,6 +67,7 @@ cpumask_t cpu_online_map; /* missing ifd
 cpumask_t cpu_online_map; /* missing ifdef in schedule.c */
 
 /* XXX get this from ISA node in device tree */
+void *vgabase;
 ulong isa_io_base;
 struct ns16550_defaults ns16550;
 
diff -r 4b028786b67e -r 227c65d72a65 xen/include/asm-powerpc/io.h
--- a/xen/include/asm-powerpc/io.h      Fri Aug 18 14:06:02 2006 -0400
+++ b/xen/include/asm-powerpc/io.h      Fri Aug 18 14:06:58 2006 -0400
@@ -40,6 +40,8 @@ extern ulong isa_io_base;
 #define readb(port) in_8((void *)(port))
 #define writeb(val, port) out_8((void *)(port), val)
 
+extern char *vgabase;
+#define vga_writeb(val, port) out_8((void *)((ulong)(port) + vgabase), val)
 
 extern u8 in_8(const volatile u8 *addr);
 extern void out_8(volatile u8 *addr, int val);

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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [xenppc-unstable] [POWERPC] add missing vga components, Xen patchbot-xenppc-unstable <=