diff options
Diffstat (limited to 'src/mem/request.hh')
-rw-r--r-- | src/mem/request.hh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mem/request.hh b/src/mem/request.hh index a064e0b05..799439f02 100644 --- a/src/mem/request.hh +++ b/src/mem/request.hh @@ -497,8 +497,14 @@ class Request } /** Accessor function for vaddr.*/ + bool + hasVaddr() const + { + return privateFlags.isSet(VALID_VADDR); + } + Addr - getVaddr() + getVaddr() const { assert(privateFlags.isSet(VALID_VADDR)); return _vaddr; |