Comments
Patch
@@ -165,6 +165,9 @@ static void cpu_reset_model_id(CPUARMState *env, uint32_t id)
/* JTAG_ID is ((id << 28) | 0x09265013) */
env->cp15.c0_cachetype = 0xd172172;
env->cp15.c1_sys = 0x00000078;
+#if defined (CONFIG_USER_ONLY)
+ env->cp15.c15_cpar = 0x00000001;
+#endif
break;
case ARM_CPUID_PXA270_A0:
case ARM_CPUID_PXA270_A1:
@@ -178,6 +181,9 @@ static void cpu_reset_model_id(CPUARMState *env, uint32_t id)
env->iwmmxt.cregs[ARM_IWMMXT_wCID] = 0x69051000 | 'Q';
env->cp15.c0_cachetype = 0xd172172;
env->cp15.c1_sys = 0x00000078;
+#if defined (CONFIG_USER_ONLY)
+ env->cp15.c15_cpar = 0x00000003;
+#endif
break;
default:
cpu_abort(env, "Bad CPU ID: %x\n", id);