summaryrefslogtreecommitdiff
path: root/target-microblaze/cpu.c
diff options
context:
space:
mode:
authorPeter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>2012-06-01 13:23:28 +1000
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2012-06-04 10:19:46 +0200
commit8cc9b43f7c5f826b39af4b012ad89bb55faac29c (patch)
tree91df24721384fd897840172e0af0d8507c66b60c /target-microblaze/cpu.c
parent9c92bf7f6c3f675e60b8ba8a5287bb88ea1eac36 (diff)
downloadqemu-8cc9b43f7c5f826b39af4b012ad89bb55faac29c.tar.gz
target-microblaze: lwx/swx: first implementation
Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-microblaze/cpu.c')
-rw-r--r--target-microblaze/cpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-microblaze/cpu.c b/target-microblaze/cpu.c
index 9c3b74ea8a..34b3a9bfdc 100644
--- a/target-microblaze/cpu.c
+++ b/target-microblaze/cpu.c
@@ -39,6 +39,7 @@ static void mb_cpu_reset(CPUState *s)
mcc->parent_reset(s);
memset(env, 0, offsetof(CPUMBState, breakpoints));
+ env->res_addr = RES_ADDR_NONE;
tlb_flush(env, 1);
/* Disable stack protector. */