From: Giacomo Gabrielli Date: Fri, 24 Jan 2014 21:29:30 +0000 (-0600) Subject: mem: Add flag to request if it was generated by a page table walk X-Git-Tag: stable_2014_08_26~202 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d3444c6603afe38b00036292a854f52069b90a80;p=gem5.git mem: Add flag to request if it was generated by a page table walk --- 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__