[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH 02/19] uninorth: remove second set of uninorth tok
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [PATCH 02/19] uninorth: remove second set of uninorth token registers |
Date: |
Wed, 7 Mar 2018 15:11:27 +1100 |
User-agent: |
Mutt/1.9.2 (2017-12-15) |
On Tue, Mar 06, 2018 at 08:30:46PM +0000, Mark Cave-Ayland wrote:
> Commit 593c181160: "PPC: Newworld: Add second uninorth control register set"
> added a second set of uninorth registers at 0xf3000000.
>
> Testing MacOS 9.2 to MacOS X 10.4 reveals no accesses to this address and I
> can't find any reference to it in Apple's Core99.cpp source so I'm assuming
> that this was the result of another bug that has now been fixed.
>
> Signed-off-by: Mark Cave-Ayland <address@hidden>
Applied, thanks.
> ---
> hw/ppc/mac_newworld.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/hw/ppc/mac_newworld.c b/hw/ppc/mac_newworld.c
> index a749e2565d..1eba79d54b 100644
> --- a/hw/ppc/mac_newworld.c
> +++ b/hw/ppc/mac_newworld.c
> @@ -148,7 +148,6 @@ static void ppc_core99_init(MachineState *machine)
> qemu_irq *pic, **openpic_irqs;
> MemoryRegion *isa = g_new(MemoryRegion, 1);
> MemoryRegion *unin_memory = g_new(MemoryRegion, 1);
> - MemoryRegion *unin2_memory = g_new(MemoryRegion, 1);
> int linux_boot, i, j, k;
> MemoryRegion *ram = g_new(MemoryRegion, 1), *bios = g_new(MemoryRegion,
> 1);
> hwaddr kernel_base, initrd_base, cmdline_base = 0;
> @@ -283,9 +282,6 @@ static void ppc_core99_init(MachineState *machine)
> memory_region_init_io(unin_memory, NULL, &unin_ops, token, "unin",
> 0x1000);
> memory_region_add_subregion(get_system_memory(), 0xf8000000,
> unin_memory);
>
> - memory_region_init_io(unin2_memory, NULL, &unin_ops, token, "unin",
> 0x1000);
> - memory_region_add_subregion(get_system_memory(), 0xf3000000,
> unin2_memory);
> -
> openpic_irqs = g_malloc0(smp_cpus * sizeof(qemu_irq *));
> openpic_irqs[0] =
> g_malloc0(smp_cpus * sizeof(qemu_irq) * OPENPIC_OUTPUT_NB);
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature
- [Qemu-ppc] [PATCH 00/19] uninorth fixes/mac_newworld board wiring improvements, Mark Cave-Ayland, 2018/03/06
- [Qemu-ppc] [PATCH 04/19] uninorth: remove stray PCIBus realize from mac_newworld.c, Mark Cave-Ayland, 2018/03/06
- [Qemu-ppc] [PATCH 02/19] uninorth: remove second set of uninorth token registers, Mark Cave-Ayland, 2018/03/06
- Re: [Qemu-ppc] [PATCH 02/19] uninorth: remove second set of uninorth token registers,
David Gibson <=
- [Qemu-ppc] [PATCH 01/19] uninorth: trivial style fixups, Mark Cave-Ayland, 2018/03/06
- [Qemu-ppc] [PATCH 03/19] uninorth: QOMify PCI and AGP host bridges, Mark Cave-Ayland, 2018/03/06
- [Qemu-ppc] [PATCH 05/19] uninorth: move uninorth definitions into uninorth.h, Mark Cave-Ayland, 2018/03/06
- [Qemu-ppc] [PATCH 06/19] uninorth: alter pci_pmac_init() and pci_pmac_u3_init() to return uninorth device, Mark Cave-Ayland, 2018/03/06