From: Daniel R. Carvalho <odanrc@yahoo.com.br> Date: Sat, 7 Sep 2019 10:17:04 +0000 (+0200) Subject: mem-ruby: Remove inexistent functions from Util X-Git-Tag: v19.0.0.0~502 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7cb5a3210ecf039be58d639e7cae5bed45b20c2b;p=gem5.git mem-ruby: Remove inexistent functions from Util Remove forward declaration of inexistent functions from RubySlicc_Util.sm. Change-Id: I548bd75cb570371fbdaccf914c5eb9a7b92313d1 Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21086 Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com> Maintainer: Jason Lowe-Power <jason@lowepower.com> Tested-by: kokoro <noreply+kokoro@google.com> --- diff --git a/src/mem/ruby/protocol/RubySlicc_Util.sm b/src/mem/ruby/protocol/RubySlicc_Util.sm index 848f8c2c9..f509d09ad 100644 --- a/src/mem/ruby/protocol/RubySlicc_Util.sm +++ b/src/mem/ruby/protocol/RubySlicc_Util.sm @@ -31,16 +31,12 @@ void error(std::string msg); void assert(bool condition); -int random(int number); Cycles zero_time(); NodeID intToID(int nodenum); int IDToInt(NodeID id); int addressToInt(Addr addr); Addr intToAddress(int addr); -void procProfileCoherenceRequest(NodeID node, bool needCLB); -void dirProfileCoherenceRequest(NodeID node, bool needCLB); int max_tokens(); -Addr setOffset(Addr addr, int offset); Addr makeLineAddress(Addr addr); int getOffset(Addr addr); int mod(int val, int mod);