diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2013-09-06 16:21:30 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2013-09-06 16:21:30 -0500 |
commit | 79b5ea9d1934db5c53e2c87070424e43064c74c3 (patch) | |
tree | 06a64b3b5b95cb86da7e95155fc8fcb032ad6f44 /src | |
parent | 0280997fbfa3b762a269d9ad97e14aca57316976 (diff) | |
download | gem5-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')
-rw-r--r-- | src/mem/protocol/RubySlicc_Exports.sm | 3 | ||||
-rw-r--r-- | src/mem/ruby/network/Network.cc | 3 |
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: |