diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-06-20 11:57:19 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-06-20 12:09:11 +0000 |
commit | 8515a092948584ce112b90030edcef344c6a0f90 (patch) | |
tree | 470a6f467845f018b8bdf70601f7b380b18f7518 /target-arm/cpu.c | |
parent | 2771db274193420b82f988b995282820631cdd99 (diff) | |
download | qemu-8515a092948584ce112b90030edcef344c6a0f90.zip qemu-8515a092948584ce112b90030edcef344c6a0f90.tar.gz qemu-8515a092948584ce112b90030edcef344c6a0f90.tar.bz2 |
target-arm: Convert cp15 crn=0 crm={1,2} feature registers
Convert the cp15 crn=0 crm={1,2} features registers to
the new cp reg framework.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm/cpu.c')
-rw-r--r-- | target-arm/cpu.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/target-arm/cpu.c b/target-arm/cpu.c index d84db53..f9b3046 100644 --- a/target-arm/cpu.c +++ b/target-arm/cpu.c @@ -77,20 +77,6 @@ static void arm_cpu_reset(CPUState *s) env->vfp.xregs[ARM_VFP_MVFR0] = cpu->mvfr0; env->vfp.xregs[ARM_VFP_MVFR1] = cpu->mvfr1; env->cp15.c0_cachetype = cpu->ctr; - env->cp15.c0_c1[0] = cpu->id_pfr0; - env->cp15.c0_c1[1] = cpu->id_pfr1; - env->cp15.c0_c1[2] = cpu->id_dfr0; - env->cp15.c0_c1[3] = cpu->id_afr0; - env->cp15.c0_c1[4] = cpu->id_mmfr0; - env->cp15.c0_c1[5] = cpu->id_mmfr1; - env->cp15.c0_c1[6] = cpu->id_mmfr2; - env->cp15.c0_c1[7] = cpu->id_mmfr3; - env->cp15.c0_c2[0] = cpu->id_isar0; - env->cp15.c0_c2[1] = cpu->id_isar1; - env->cp15.c0_c2[2] = cpu->id_isar2; - env->cp15.c0_c2[3] = cpu->id_isar3; - env->cp15.c0_c2[4] = cpu->id_isar4; - env->cp15.c0_c2[5] = cpu->id_isar5; env->cp15.c0_clid = cpu->clidr; memcpy(env->cp15.c0_ccsid, cpu->ccsidr, ARRAY_SIZE(cpu->ccsidr)); |