summaryrefslogtreecommitdiff
path: root/src/mem/ruby/slicc_interface
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/ruby/slicc_interface
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/ruby/slicc_interface')
-rw-r--r--src/mem/ruby/slicc_interface/RubyRequest.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mem/ruby/slicc_interface/RubyRequest.hh b/src/mem/ruby/slicc_interface/RubyRequest.hh
index 689d559ce..772441b5e 100644
--- a/src/mem/ruby/slicc_interface/RubyRequest.hh
+++ b/src/mem/ruby/slicc_interface/RubyRequest.hh
@@ -53,7 +53,7 @@ class RubyRequest : public Message
int m_Size;
PrefetchBit m_Prefetch;
uint8_t* data;
- PacketPtr pkt;
+ PacketPtr m_pkt;
ContextID m_contextId;
WriteMask m_writeMask;
DataBlock m_WTData;
@@ -76,7 +76,7 @@ class RubyRequest : public Message
m_Size(_len),
m_Prefetch(_pb),
data(_data),
- pkt(_pkt),
+ m_pkt(_pkt),
m_contextId(_core_id),
m_scope(_scope),
m_segment(_segment)
@@ -100,7 +100,7 @@ class RubyRequest : public Message
m_Size(_len),
m_Prefetch(_pb),
data(_data),
- pkt(_pkt),
+ m_pkt(_pkt),
m_contextId(_core_id),
m_writeMask(_wm_size,_wm_mask),
m_WTData(_Data),
@@ -128,7 +128,7 @@ class RubyRequest : public Message
m_Size(_len),
m_Prefetch(_pb),
data(_data),
- pkt(_pkt),
+ m_pkt(_pkt),
m_contextId(_core_id),
m_writeMask(_wm_size,_wm_mask,_atomicOps),
m_WTData(_Data),