[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH] target/ppc: Remove unused POWERPC_FAMILY(POWER)
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [PATCH] target/ppc: Remove unused POWERPC_FAMILY(POWER) |
Date: |
Tue, 31 Jan 2017 13:46:45 +1100 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
On Tue, Jan 24, 2017 at 11:55:07AM +0100, Thomas Huth wrote:
> We do not support POWER1 CPUs in QEMU, so it does not make sense
> to keep this stub around.
>
> Signed-off-by: Thomas Huth <address@hidden>
Merged to ppc-for-2.9, thanks.
> ---
> target/ppc/translate_init.c | 22 ----------------------
> 1 file changed, 22 deletions(-)
>
> diff --git a/target/ppc/translate_init.c b/target/ppc/translate_init.c
> index 19ef250..70333c5 100644
> --- a/target/ppc/translate_init.c
> +++ b/target/ppc/translate_init.c
> @@ -5217,28 +5217,6 @@ POWERPC_FAMILY(e5500)(ObjectClass *oc, void *data)
>
> /* Non-embedded PowerPC
> */
>
> -/* POWER : same as 601, without mfmsr, mfsr
> */
> -POWERPC_FAMILY(POWER)(ObjectClass *oc, void *data)
> -{
> - DeviceClass *dc = DEVICE_CLASS(oc);
> - PowerPCCPUClass *pcc = POWERPC_CPU_CLASS(oc);
> -
> - dc->desc = "POWER";
> - /* pcc->insns_flags = XXX_TODO; */
> - /* POWER RSC (from RAD6000) */
> - pcc->msr_mask = (1ull << MSR_EE) |
> - (1ull << MSR_PR) |
> - (1ull << MSR_FP) |
> - (1ull << MSR_ME) |
> - (1ull << MSR_FE0) |
> - (1ull << MSR_SE) |
> - (1ull << MSR_DE) |
> - (1ull << MSR_AL) |
> - (1ull << MSR_EP) |
> - (1ull << MSR_IR) |
> - (1ull << MSR_DR);
> -}
> -
> #define POWERPC_MSRR_601 (0x0000000000001040ULL)
>
> static void init_proc_601 (CPUPPCState *env)
--
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