]> Git Repo - qemu.git/blobdiff - target/xtensa/cpu.c
target/xtensa: implement exclusive access option
[qemu.git] / target / xtensa / cpu.c
index a54dbe42602d71e7c57e8e6756bc672a498c3e7d..54c834228a91de4c1d716e47744d3dc4834849a6 100644 (file)
@@ -78,11 +78,11 @@ static void xtensa_cpu_reset(CPUState *s)
     env->sregs[VECBASE] = env->config->vecbase;
     env->sregs[IBREAKENABLE] = 0;
     env->sregs[MEMCTL] = MEMCTL_IL0EN & env->config->memctl_mask;
-    env->sregs[CACHEATTR] = 0x22222222;
     env->sregs[ATOMCTL] = xtensa_option_enabled(env->config,
             XTENSA_OPTION_ATOMCTL) ? 0x28 : 0x15;
     env->sregs[CONFIGID0] = env->config->configid[0];
     env->sregs[CONFIGID1] = env->config->configid[1];
+    env->exclusive_addr = -1;
 
 #ifndef CONFIG_USER_ONLY
     reset_mmu(env);
This page took 0.024636 seconds and 4 git commands to generate.