summaryrefslogtreecommitdiff
path: root/src/cpu/simple/atomic.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-04-19 04:50:07 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-04-19 04:50:07 -0700
commit1a8a765a5c2f7aeca0569ca8b7e7f653aaa9d8d7 (patch)
tree2156f16fab4fb55b07425b1c27001e0819175d80 /src/cpu/simple/atomic.hh
parent742c3f045eb1821392a789a000ec89e802d6a4fd (diff)
downloadgem5-1a8a765a5c2f7aeca0569ca8b7e7f653aaa9d8d7.tar.xz
CPUs: Make the atomic CPU support locked memory accesses.
Diffstat (limited to 'src/cpu/simple/atomic.hh')
-rw-r--r--src/cpu/simple/atomic.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/simple/atomic.hh b/src/cpu/simple/atomic.hh
index 190097637..2a66e9341 100644
--- a/src/cpu/simple/atomic.hh
+++ b/src/cpu/simple/atomic.hh
@@ -57,6 +57,7 @@ class AtomicSimpleCPU : public BaseSimpleCPU
TickEvent tickEvent;
const int width;
+ bool locked;
const bool simulate_data_stalls;
const bool simulate_inst_stalls;