[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v6 16/19] mac_newworld: Deprecate mac99 with G5 CPU
From: |
BALATON Zoltan |
Subject: |
[PATCH v6 16/19] mac_newworld: Deprecate mac99 with G5 CPU |
Date: |
Fri, 28 Oct 2022 13:56:32 +0200 (CEST) |
Besides resolving the confusing behaviour mentioned in previous commit
this might also allow unifying qemu-system-ppc and qemu-system-ppc64
in the future.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
---
hw/ppc/mac_newworld.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/hw/ppc/mac_newworld.c b/hw/ppc/mac_newworld.c
index 50b783d851..2bba29686d 100644
--- a/hw/ppc/mac_newworld.c
+++ b/hw/ppc/mac_newworld.c
@@ -165,6 +165,12 @@ static void ppc_core99_init(MachineState *machine)
qemu_register_reset(ppc_core99_reset, cpu);
}
+ if (object_property_find(OBJECT(machine), "via")) {
+ if (PPC_INPUT(env) == PPC_FLAGS_INPUT_970) {
+ warn_report("mac99 with G5 CPU is deprecated, "
+ "use powermac7_3 instead");
+ }
+ }
/* allocate RAM */
if (machine->ram_size > 2 * GiB) {
error_report("RAM size more than 2 GiB is not supported");
--
2.30.6
- [PATCH v6 00/19] Misc ppc/mac machines clean up, BALATON Zoltan, 2022/10/28
- [PATCH v6 01/19] mac_newworld: Drop some variables, BALATON Zoltan, 2022/10/28
- [PATCH v6 03/19] mac_{old|new}world: Set tbfreq at declaration, BALATON Zoltan, 2022/10/28
- [PATCH v6 02/19] mac_oldworld: Drop some more variables, BALATON Zoltan, 2022/10/28
- [PATCH v6 04/19] mac_{old|new}world: Avoid else branch by setting default value, BALATON Zoltan, 2022/10/28
- [PATCH v6 06/19] mac_{old|new}world: Reduce number of QOM casts, BALATON Zoltan, 2022/10/28
- [PATCH v6 05/19] mac_newworld: Clean up creation of Uninorth devices, BALATON Zoltan, 2022/10/28
- [PATCH v6 14/19] mac_newworld: Turn CORE99_VIA_CONFIG defines into an enum, BALATON Zoltan, 2022/10/28
- [PATCH v6 16/19] mac_newworld: Deprecate mac99 with G5 CPU,
BALATON Zoltan <=
- [PATCH v6 18/19] mac_newworld: Document deprecation, BALATON Zoltan, 2022/10/28
- [PATCH v6 09/19] hw/ppc/mac.h: Move grackle-pcihost type declaration out to a header, BALATON Zoltan, 2022/10/28
- [PATCH v6 12/19] mac_nvram: Use NVRAM_SIZE constant, BALATON Zoltan, 2022/10/28
- [PATCH v6 10/19] hw/ppc/mac.h: Move PROM and KERNEL defines to board code, BALATON Zoltan, 2022/10/28
- [PATCH v6 15/19] mac_newworld: Add machine types for different mac99 configs, BALATON Zoltan, 2022/10/28
- [PATCH v6 19/19] mac_{old, new}world: Pass MacOS VGA NDRV in card ROM instead of fw_cfg, BALATON Zoltan, 2022/10/28
- [PATCH v6 17/19] mac_newworld: Deprecate mac99 "via" option, BALATON Zoltan, 2022/10/28
- [PATCH v6 07/19] hw/ppc/mac.h: Move newworld specific parts out from shared header, BALATON Zoltan, 2022/10/28
- [PATCH v6 11/19] hw/ppc/mac.h: Rename to include/hw/nvram/mac_nvram.h, BALATON Zoltan, 2022/10/28
- [PATCH v6 13/19] mac_{old|new}world: Code style fix adding missing braces to if-s, BALATON Zoltan, 2022/10/28