From 67e93a5846dd05eff8a31990e3b18f4d9caf3496 Mon Sep 17 00:00:00 2001 From: Matthew Poremba Date: Tue, 26 Apr 2016 12:07:51 -0400 Subject: 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. --- src/mem/protocol/RubySlicc_Types.sm | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mem/protocol') 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") { -- cgit v1.2.3