From: aurel32 Date: Thu, 8 Jan 2009 16:01:23 +0000 (+0000) Subject: target-ppc: move OpenBIOS machines type to ppc.h from hw/ppc_oldworld.c X-Git-Tag: xen-3.4.0-rc2~71^2^2~103 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=5ce4aafd942d24d3fcde649f12636c9092c718c6;p=qemu-xen-4.1-testing.git 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 --- diff --git a/hw/ppc.h b/hw/ppc.h index 297f55060..75eb11a32 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 6de3b3534..37f764629 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 */