summaryrefslogtreecommitdiff
path: root/src/mem/request.hh
diff options
context:
space:
mode:
authorGiacomo Gabrielli <Giacomo.Gabrielli@arm.com>2014-01-24 15:29:30 -0600
committerGiacomo Gabrielli <Giacomo.Gabrielli@arm.com>2014-01-24 15:29:30 -0600
commitd3444c6603afe38b00036292a854f52069b90a80 (patch)
treef55ed76ead15d7b209c7b077657f149d18064f4f /src/mem/request.hh
parentaefe9cc624902fe26535028f86ba3a45f555bcf0 (diff)
downloadgem5-d3444c6603afe38b00036292a854f52069b90a80.tar.xz
mem: Add flag to request if it was generated by a page table walk
Diffstat (limited to 'src/mem/request.hh')
-rw-r--r--src/mem/request.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mem/request.hh b/src/mem/request.hh
index ade7a75df..ebf0ebb58 100644
--- a/src/mem/request.hh
+++ b/src/mem/request.hh
@@ -142,6 +142,8 @@ class Request
/** The request targets the secure memory space. */
static const FlagsType SECURE = 0x10000000;
+ /** The request is a page table walk */
+ static const FlagsType PT_WALK = 0x20000000;
/** These flags are *not* cleared when a Request object is reused
(assigned a new address). */
@@ -616,6 +618,7 @@ class Request
bool isMmappedIpr() const { return _flags.isSet(MMAPPED_IPR); }
bool isClearLL() const { return _flags.isSet(CLEAR_LL); }
bool isSecure() const { return _flags.isSet(SECURE); }
+ bool isPTWalk() const { return _flags.isSet(PT_WALK); }
};
#endif // __MEM_REQUEST_HH__