[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 01/10] PPC: Make all e500 CPUs SVR aware
From: |
Alexander Graf |
Subject: |
[Qemu-ppc] [PATCH 01/10] PPC: Make all e500 CPUs SVR aware |
Date: |
Mon, 20 Jan 2014 00:44:28 +0100 |
Our pre-e500mc e500 CPU types didn't get instanciated with SVR information,
even though those systems do support the SVR register.
Spawn them with the SVR tag so that they don't get confused when someone tries
to read SPR_SVR.
Signed-off-by: Alexander Graf <address@hidden>
---
target-ppc/cpu-models.c | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/target-ppc/cpu-models.c b/target-ppc/cpu-models.c
index f6c9b3a..b12ad64 100644
--- a/target-ppc/cpu-models.c
+++ b/target-ppc/cpu-models.c
@@ -671,20 +671,20 @@
POWERPC_DEF_SVR("MPC8379E", "MPC8379E",
CPU_POWERPC_MPC837x, POWERPC_SVR_8379E, e300)
/* e500 family */
- POWERPC_DEF("e500_v10", CPU_POWERPC_e500v1_v10, e500v1,
- "PowerPC e500 v1.0 core")
- POWERPC_DEF("e500_v20", CPU_POWERPC_e500v1_v20, e500v1,
- "PowerPC e500 v2.0 core")
- POWERPC_DEF("e500v2_v10", CPU_POWERPC_e500v2_v10, e500v2,
- "PowerPC e500v2 v1.0 core")
- POWERPC_DEF("e500v2_v20", CPU_POWERPC_e500v2_v20, e500v2,
- "PowerPC e500v2 v2.0 core")
- POWERPC_DEF("e500v2_v21", CPU_POWERPC_e500v2_v21, e500v2,
- "PowerPC e500v2 v2.1 core")
- POWERPC_DEF("e500v2_v22", CPU_POWERPC_e500v2_v22, e500v2,
- "PowerPC e500v2 v2.2 core")
- POWERPC_DEF("e500v2_v30", CPU_POWERPC_e500v2_v30, e500v2,
- "PowerPC e500v2 v3.0 core")
+ POWERPC_DEF_SVR("e500_v10", "PowerPC e500 v1.0 core",
+ CPU_POWERPC_e500v1_v10, POWERPC_SVR_E500, e500v1);
+ POWERPC_DEF_SVR("e500_v20", "PowerPC e500 v2.0 core",
+ CPU_POWERPC_e500v1_v20, POWERPC_SVR_E500, e500v1);
+ POWERPC_DEF_SVR("e500v2_v10", "PowerPC e500v2 v1.0 core",
+ CPU_POWERPC_e500v2_v10, POWERPC_SVR_E500, e500v2);
+ POWERPC_DEF_SVR("e500v2_v20", "PowerPC e500v2 v2.0 core",
+ CPU_POWERPC_e500v2_v20, POWERPC_SVR_E500, e500v2);
+ POWERPC_DEF_SVR("e500v2_v21", "PowerPC e500v2 v2.1 core",
+ CPU_POWERPC_e500v2_v21, POWERPC_SVR_E500, e500v2);
+ POWERPC_DEF_SVR("e500v2_v22", "PowerPC e500v2 v2.2 core",
+ CPU_POWERPC_e500v2_v22, POWERPC_SVR_E500, e500v2);
+ POWERPC_DEF_SVR("e500v2_v30", "PowerPC e500v2 v3.0 core",
+ CPU_POWERPC_e500v2_v30, POWERPC_SVR_E500, e500v2);
POWERPC_DEF_SVR("e500mc", "e500mc",
CPU_POWERPC_e500mc, POWERPC_SVR_E500, e500mc)
#ifdef TARGET_PPC64
--
1.8.1.4
- Re: [Qemu-ppc] [PATCH 04/10] PPC: Add L1CFG1 SPR emulation, (continued)
- [Qemu-ppc] [PATCH 02/10] PPC: Add definitions for GIVORs, Alexander Graf, 2014/01/19
- [Qemu-ppc] [PATCH 08/10] PPC: e500: Expose kernel load address in dt, Alexander Graf, 2014/01/19
- [Qemu-ppc] [PATCH 10/10] PPC: e500: Move to u-boot as firmware, Alexander Graf, 2014/01/19
- [Qemu-ppc] [PATCH 07/10] PPC: guts: Add emulation of a few more registers, Alexander Graf, 2014/01/19
- [Qemu-ppc] [PATCH 06/10] PPC: Add dcbtls emulation, Alexander Graf, 2014/01/19
- [Qemu-ppc] [PATCH 03/10] PPC: Add stub emulation for HDBCR0, Alexander Graf, 2014/01/19
- [Qemu-ppc] [PATCH 05/10] PPC: Properly emulate L1CSR0 and L1CSR1, Alexander Graf, 2014/01/19
- [Qemu-ppc] [PATCH 01/10] PPC: Make all e500 CPUs SVR aware,
Alexander Graf <=
- [Qemu-ppc] [PATCH 09/10] PPC: Add u-boot firmware for e500, Alexander Graf, 2014/01/20