From d3444c6603afe38b00036292a854f52069b90a80 Mon Sep 17 00:00:00 2001 From: Giacomo Gabrielli Date: Fri, 24 Jan 2014 15:29:30 -0600 Subject: [PATCH] mem: Add flag to request if it was generated by a page table walk --- src/mem/request.hh | 3 +++ 1 file changed, 3 insertions(+) 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__ -- 2.30.2