aboutsummaryrefslogtreecommitdiff
path: root/target-tilegx/cpu.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2015-08-24 07:55:47 -0700
committerRichard Henderson <rth@twiddle.net>2015-09-15 07:45:34 -0700
commit0583b2332355dadb2d4681fe5a4eca882eb5b889 (patch)
treee0fa40969603242b560ba1630a9535ea7d75c4a5 /target-tilegx/cpu.h
parent03b217b168edfb45501146e98f60a6aea6bbb943 (diff)
downloadqemu-arm-0583b2332355dadb2d4681fe5a4eca882eb5b889.tar.gz
target-tilegx: Handle atomic instructions
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-tilegx/cpu.h')
-rw-r--r--target-tilegx/cpu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/target-tilegx/cpu.h b/target-tilegx/cpu.h
index 3a62d20106..b9f5082b95 100644
--- a/target-tilegx/cpu.h
+++ b/target-tilegx/cpu.h
@@ -87,7 +87,9 @@ typedef struct CPUTLGState {
uint64_t pc; /* Current pc */
#if defined(CONFIG_USER_ONLY)
- uint32_t excparam; /* exception parameter */
+ uint64_t atomic_srca; /* Arguments to atomic "exceptions" */
+ uint64_t atomic_srcb;
+ uint32_t atomic_dstr;
uint64_t excaddr; /* exception address */
#endif