From 11a7621763e7c91fef5169942a90e30bfd66a837 Mon Sep 17 00:00:00 2001 From: "Edgar E. Iglesias" Date: Wed, 23 Oct 2013 16:54:31 +0200 Subject: 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 --- target-microblaze/cpu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'target-microblaze/cpu.h') 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 -- cgit v1.2.3