summaryrefslogtreecommitdiff
path: root/src/mem/request.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/request.hh')
-rw-r--r--src/mem/request.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mem/request.hh b/src/mem/request.hh
index 64f6ad053..8809b0bd1 100644
--- a/src/mem/request.hh
+++ b/src/mem/request.hh
@@ -75,7 +75,12 @@ class Request : public FastAlloc
static const FlagsType NO_FAULT = 0x00002000;
/** The request should not cause a memory access. */
static const FlagsType NO_ACCESS = 0x00004000;
- /** This request will lock or unlock the accessed memory. */
+ /** This request will lock or unlock the accessed memory. When used with
+ * a load, the access locks the particular chunk of memory. When used
+ * with a store, it unlocks. The rule is that locked accesses have to be
+ * made up of a locked load, some operation on the data, and then a locked
+ * store.
+ */
static const FlagsType LOCKED = 0x00008000;
/** The request should be prefetched into the exclusive state. */
static const FlagsType PF_EXCLUSIVE = 0x00010000;