From 5ce4aafd942d24d3fcde649f12636c9092c718c6 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Thu, 8 Jan 2009 16:01:23 +0000 Subject: [PATCH] target-ppc: move OpenBIOS machines type to ppc.h from hw/ppc_oldworld.c Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6231 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/ppc.h | 8 ++++++++ hw/ppc_oldworld.c | 6 ------ 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 */