diff options
author | Iru Cai <mytbk920423@gmail.com> | 2019-02-28 17:07:16 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2019-03-11 13:34:03 +0800 |
commit | 156b2eaa59f063e53e3fa9ea82632821f999352e (patch) | |
tree | 8fba561f7e4402271bd86afe6e0d21276bbf022e /src/mem/request.hh | |
parent | f1b7d0afe93497ef55e857cdd7ae9e168970bd65 (diff) | |
download | gem5-156b2eaa59f063e53e3fa9ea82632821f999352e.tar.xz |
invisispec-1.0 source
Diffstat (limited to 'src/mem/request.hh')
-rw-r--r-- | src/mem/request.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mem/request.hh b/src/mem/request.hh index 5cb08ca39..f912a0a6c 100644 --- a/src/mem/request.hh +++ b/src/mem/request.hh @@ -149,6 +149,9 @@ class Request MEM_SWAP = 0x00400000, MEM_SWAP_COND = 0x00800000, + /** [InvisiSpec] it is a spec request */ + SPEC = 0x00004000, + /** The request is a prefetch. */ PREFETCH = 0x01000000, /** The request should be prefetched into the exclusive state. */ @@ -784,6 +787,7 @@ class Request bool isStrictlyOrdered() const { return _flags.isSet(STRICT_ORDER); } bool isInstFetch() const { return _flags.isSet(INST_FETCH); } bool isPrefetch() const { return _flags.isSet(PREFETCH); } + bool isSpec() const { return _flags.isSet(SPEC); } bool isLLSC() const { return _flags.isSet(LLSC); } bool isPriv() const { return _flags.isSet(PRIVILEGED); } bool isLockedRMW() const { return _flags.isSet(LOCKED_RMW); } |