From 4d7ca41e8aa606b503d380c8e8fa6f52dacf7e63 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Wed, 7 Jan 2009 23:38:59 +0000 Subject: [PATCH] target-ppc: Switch ppc_oldworld.c to G3 beige The G3 B&W is a new world machine. The machine currently implemented is actually closer to a G3 beige. Also swith the MacIO from Paddigton (new world) to Heathrow (old world). Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6228 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/ppc_oldworld.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/ppc_oldworld.c b/hw/ppc_oldworld.c index 9318be4..1d5e9d6 100644 --- a/hw/ppc_oldworld.c +++ b/hw/ppc_oldworld.c @@ -1,5 +1,5 @@ /* - * QEMU OldWorld PowerMac (currently ~G3 B&W) hardware System Emulator + * QEMU OldWorld PowerMac (currently ~G3 Beige) hardware System Emulator * * Copyright (c) 2004-2007 Fabrice Bellard * Copyright (c) 2007 Jocelyn Mayer @@ -355,7 +355,7 @@ static void ppc_heathrow_init (ram_addr_t ram_size, int vga_ram_size, dbdma_init(&dbdma_mem_index); - macio_init(pci_bus, 0x0017, 1, pic_mem_index, dbdma_mem_index, + macio_init(pci_bus, 0x0010, 1, pic_mem_index, dbdma_mem_index, cuda_mem_index, nvr, 2, ide_mem_index); if (usb_enabled) { @@ -388,7 +388,7 @@ static void ppc_heathrow_init (ram_addr_t ram_size, int vga_ram_size, } QEMUMachine heathrow_machine = { - .name = "g3bw", + .name = "g3beige", .desc = "Heathrow based PowerMAC", .init = ppc_heathrow_init, .ram_require = BIOS_SIZE + VGA_BIOS_SIZE + VGA_RAM_SIZE, -- 2.7.4