|
|
|
|
|
|
|
|
|
|
xen-ppc-devel
[XenPPC] [xenppc-unstable] [POWERPC] add missing vga components
# 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 <=
|
|
|
|
|