summaryrefslogtreecommitdiff
path: root/target-microblaze/cpu.h
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2013-10-23 16:54:31 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2013-10-24 22:32:56 +0200
commit11a7621763e7c91fef5169942a90e30bfd66a837 (patch)
treef83e7a0882d5f9f696ada55c71210dfe04493ade /target-microblaze/cpu.h
parent4a536270454cc6e59960857a4e4a7c1ebb7fdd4b (diff)
downloadqemu-11a7621763e7c91fef5169942a90e30bfd66a837.tar.gz
qemu-11a7621763e7c91fef5169942a90e30bfd66a837.tar.bz2
qemu-11a7621763e7c91fef5169942a90e30bfd66a837.zip
microblaze: At swx, check that the reserved word is unmodified
This improves the reservation check for system emulation, making it possible to catch stores that modify reserved word. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-microblaze/cpu.h')
-rw-r--r--target-microblaze/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h
index 7508cf5a06..e1415f043c 100644
--- a/target-microblaze/cpu.h
+++ b/target-microblaze/cpu.h
@@ -246,6 +246,7 @@ struct CPUMBState {
/* lwx/swx reserved address */
#define RES_ADDR_NONE 0xffffffff /* Use 0xffffffff to indicate no reservation */
uint32_t res_addr;
+ uint32_t res_val;
/* Internal flags. */
#define IMM_FLAG 4