From 8421362cc23a6341e44ce59f2c4f578438fd8a55 Mon Sep 17 00:00:00 2001 From: Sean Wilson Date: Wed, 7 Jun 2017 15:02:52 -0500 Subject: mem: Replace EventWrapper use with EventFunctionWrapper NOTE: With this change there is a possibility for `DRAMCtrl::Rank`s event names to not properly match the rank they were generated by. This could occur if the public rank member is modified after the Rank's construction. A patch would mean refactoring Rank and `DRAMCtrl`b to privatize many of the members of Rank behind getters. Change-Id: I7b8bd15086f4ffdfd3f40be4aeddac5e786fd78e Signed-off-by: Sean Wilson Reviewed-on: https://gem5-review.googlesource.com/3745 Reviewed-by: Jason Lowe-Power Reviewed-by: Anthony Gutierrez Reviewed-by: Nikos Nikoleris Maintainer: Nikos Nikoleris --- src/mem/bridge.hh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/mem/bridge.hh') diff --git a/src/mem/bridge.hh b/src/mem/bridge.hh index ad3585997..f2cc44501 100644 --- a/src/mem/bridge.hh +++ b/src/mem/bridge.hh @@ -156,8 +156,7 @@ class Bridge : public MemObject void trySendTiming(); /** Send event for the response queue. */ - EventWrapper sendEvent; + EventFunctionWrapper sendEvent; public: @@ -255,8 +254,7 @@ class Bridge : public MemObject void trySendTiming(); /** Send event for the request queue. */ - EventWrapper sendEvent; + EventFunctionWrapper sendEvent; public: -- cgit v1.2.3