Skip to contentSkip to conversation

[6231] target-ppc: move OpenBIOS machines type to ppc.h from hw/ ppc_oldworld.c

Qemu-devel Aurelien Jarno 1 participant 1 message Jan 8, 2009

lore
Share & tools
lore
#0 lore raw

Revision: 6231

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6231
Author:   aurel32
Date:     2009-01-08 16:01:23 +0000 (Thu, 08 Jan 2009)

Log Message:
-----------
target-ppc: move OpenBIOS machines type to ppc.h from hw/ppc_oldworld.c

Modified Paths:
--------------
trunk/hw/ppc.h
trunk/hw/ppc_oldworld.c

Modified: trunk/hw/ppc.h
===================================================================

hw/ppc.h +8 -0
@@ -33,3 +33,11 @@
 void ppc40x_irq_init (CPUState *env);
 void ppc6xx_irq_init (CPUState *env);
 void ppc970_irq_init (CPUState *env);
+
+/* PPC machines for OpenBIOS */
+enum {
+    ARCH_PREP = 0,
+    ARCH_MAC99,
+    ARCH_HEATHROW,
+};
+

Modified: trunk/hw/ppc_oldworld.c
===================================================================

hw/ppc_oldworld.c +0 -6
@@ -38,12 +38,6 @@
 #define VGA_BIOS_SIZE 65536
 #define CFG_ADDR 0xf0000510
 
-enum {
-    ARCH_PREP = 0,
-    ARCH_MAC99,
-    ARCH_HEATHROW,
-};
-
 /* temporary frame buffer OSI calls for the video.x driver. The right
    solution is to modify the driver to use VGA PCI I/Os */
 /* XXX: to be removed. This is no way related to emulation */