Yan Lee has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/67958?usp=email )
Change subject: mem: add extension mechanism into Request
......................................................................
mem: add extension mechanism into Request
Change-Id: Ie144e0cf243bab6d9ddbea79caf559c7e774a787
---
M src/mem/request.hh
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/src/mem/request.hh b/src/mem/request.hh
index be91c71..491aad0 100644
--- a/src/mem/request.hh
+++ b/src/mem/request.hh
@@ -58,6 +58,7 @@
#include "base/amo.hh"
#include "base/compiler.hh"
+#include "base/extensible.hh"
#include "base/flags.hh"
#include "base/types.hh"
#include "cpu/inst_seq.hh"
@@ -93,7 +94,7 @@
typedef std::shared_ptr<Request> RequestPtr;
typedef uint16_t RequestorID;
-class Request
+class Request : public Extensible<Request>
{
public:
typedef uint64_t FlagsType;
@@ -501,7 +502,8 @@
}
Request(const Request& other)
- : _paddr(other._paddr), _size(other._size),
+ : Extensible<Request>(other),
+ _paddr(other._paddr), _size(other._size),
_byteEnable(other._byteEnable),
_requestorId(other._requestorId),
_flags(other._flags),
--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/67958?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ie144e0cf243bab6d9ddbea79caf559c7e774a787
Gerrit-Change-Number: 67958
Gerrit-PatchSet: 1
Gerrit-Owner: Yan Lee <yan...@google.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org