summaryrefslogtreecommitdiff
path: root/src/mem
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2013-09-06 16:21:30 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2013-09-06 16:21:30 -0500
commit79b5ea9d1934db5c53e2c87070424e43064c74c3 (patch)
tree06a64b3b5b95cb86da7e95155fc8fcb032ad6f44 /src/mem
parent0280997fbfa3b762a269d9ad97e14aca57316976 (diff)
downloadgem5-79b5ea9d1934db5c53e2c87070424e43064c74c3.tar.xz
ruby: remove undefined message size type
This message size type does not work well with one of the statistical variables. It also seems unnecessary.
Diffstat (limited to 'src/mem')
-rw-r--r--src/mem/protocol/RubySlicc_Exports.sm3
-rw-r--r--src/mem/ruby/network/Network.cc3
2 files changed, 1 insertions, 5 deletions
diff --git a/src/mem/protocol/RubySlicc_Exports.sm b/src/mem/protocol/RubySlicc_Exports.sm
index e0371f896..4162800c5 100644
--- a/src/mem/protocol/RubySlicc_Exports.sm
+++ b/src/mem/protocol/RubySlicc_Exports.sm
@@ -169,8 +169,7 @@ enumeration(MemoryControlRequestType, desc="...", default="MemoryControlRequestT
}
// MessageSizeType
-enumeration(MessageSizeType, default="MessageSizeType_Undefined", desc="...") {
- Undefined, desc="Undefined";
+enumeration(MessageSizeType, desc="...") {
Control, desc="Control Message";
Data, desc="Data Message";
Request_Control, desc="Request";
diff --git a/src/mem/ruby/network/Network.cc b/src/mem/ruby/network/Network.cc
index c90f27c35..d39e6e1e8 100644
--- a/src/mem/ruby/network/Network.cc
+++ b/src/mem/ruby/network/Network.cc
@@ -71,9 +71,6 @@ uint32_t
Network::MessageSizeType_to_int(MessageSizeType size_type)
{
switch(size_type) {
- case MessageSizeType_Undefined:
- panic("Can't convert Undefined MessageSizeType to integer");
- break;
case MessageSizeType_Control:
case MessageSizeType_Request_Control:
case MessageSizeType_Reissue_Control: