changeset 45779e2f844b in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=45779e2f844b
description:
mem: Add flag to request if it was generated by a page table walk
diffstat:
src/mem/request.hh | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (20 lines):
diff -r fb8c44de891a -r 45779e2f844b src/mem/request.hh
--- a/src/mem/request.hh Fri Jan 24 15:29:30 2014 -0600
+++ b/src/mem/request.hh Fri Jan 24 15:29:30 2014 -0600
@@ -142,6 +142,8 @@
/** 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 @@
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__
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev