From: Nilay Vaish Date: Fri, 6 Sep 2013 21:21:30 +0000 (-0500) Subject: ruby: remove undefined message size type X-Git-Tag: stable_2014_02_15~143 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=79b5ea9d1934db5c53e2c87070424e43064c74c3;p=gem5.git ruby: remove undefined message size type This message size type does not work well with one of the statistical variables. It also seems unnecessary. --- 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: