aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/ppc.h8
-rw-r--r--hw/ppc_oldworld.c6
2 files changed, 8 insertions, 6 deletions
diff --git a/hw/ppc.h b/hw/ppc.h
index 297f55060f..75eb11a328 100644
--- a/hw/ppc.h
+++ b/hw/ppc.h
@@ -33,3 +33,11 @@ void PPC_debug_write (void *opaque, uint32_t addr, uint32_t val);
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,
+};
+
diff --git a/hw/ppc_oldworld.c b/hw/ppc_oldworld.c
index 6de3b35341..37f7646293 100644
--- a/hw/ppc_oldworld.c
+++ b/hw/ppc_oldworld.c
@@ -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 */