From 8cc9b43f7c5f826b39af4b012ad89bb55faac29c Mon Sep 17 00:00:00 2001 From: "Peter A. G. Crosthwaite" Date: Fri, 1 Jun 2012 13:23:28 +1000 Subject: target-microblaze: lwx/swx: first implementation Signed-off-by: Peter A. G. Crosthwaite Signed-off-by: Edgar E. Iglesias --- target-microblaze/cpu.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'target-microblaze/cpu.h') diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h index 718d5bba8d..b0ba9fe296 100644 --- a/target-microblaze/cpu.h +++ b/target-microblaze/cpu.h @@ -243,6 +243,10 @@ struct CPUMBState { /* Stack protectors. Yes, it's a hw feature. */ uint32_t slr, shr; + /* lwx/swx reserved address */ +#define RES_ADDR_NONE 0xffffffff /* Use 0xffffffff to indicate no reservation */ + uint32_t res_addr; + /* Internal flags. */ #define IMM_FLAG 4 #define MSR_EE_FLAG (1 << 8) -- cgit v1.2.1