From 79b5ea9d1934db5c53e2c87070424e43064c74c3 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Fri, 6 Sep 2013 16:21:30 -0500 Subject: [PATCH] ruby: remove undefined message size type This message size type does not work well with one of the statistical variables. It also seems unnecessary. --- src/mem/protocol/RubySlicc_Exports.sm | 3 +-- src/mem/ruby/network/Network.cc | 3 --- 2 files changed, 1 insertion(+), 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: -- 2.30.2