summaryrefslogtreecommitdiff
path: root/src/mem/protocol
diff options
context:
space:
mode:
authorMatthew Poremba <matthew.poremba@amd.com>2016-04-26 12:07:51 -0400
committerMatthew Poremba <matthew.poremba@amd.com>2016-04-26 12:07:51 -0400
commit67e93a5846dd05eff8a31990e3b18f4d9caf3496 (patch)
tree0f3163b81f25990d60979633c49913612e27c7d0 /src/mem/protocol
parent8845aae4da8dd39880a4072a48a58c4c613e6bce (diff)
downloadgem5-67e93a5846dd05eff8a31990e3b18f4d9caf3496.tar.xz
ruby: Rename pkt to m_pkt so it may be accessed via SLICC
Allow usage of packet class in ruby for convenience purposes. This may be used to access members of the packet/request class (e.g., via helper functions) and/or push protocol specific information to the packets SenderState without needing to modify SLICC types and protocols in multiple locations.
Diffstat (limited to 'src/mem/protocol')
-rw-r--r--src/mem/protocol/RubySlicc_Types.sm1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/protocol/RubySlicc_Types.sm b/src/mem/protocol/RubySlicc_Types.sm
index b8d284725..e8a739eb4 100644
--- a/src/mem/protocol/RubySlicc_Types.sm
+++ b/src/mem/protocol/RubySlicc_Types.sm
@@ -171,6 +171,7 @@ structure(RubyRequest, desc="...", interface="Message", external="yes") {
int wfid, desc="Writethrough wavefront";
HSAScope scope, desc="HSA scope";
HSASegment segment, desc="HSA segment";
+ PacketPtr pkt, desc="Packet associated with this request";
}
structure(AbstractEntry, primitive="yes", external = "yes") {