aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-08 16:01:23 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-08 16:01:23 +0000
commit5ce4aafd942d24d3fcde649f12636c9092c718c6 (patch)
treeee1c091ba1367ba5b849aef285b2f84785b6f950
parentd45952a0fcd5341ee4ade3654910f514afe95e5c (diff)
target-ppc: move OpenBIOS machines type to ppc.h from hw/ppc_oldworld.c
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6231 c046a42c-6fe2-441c-8c8c-71466251a162
-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 */