From 9190940511b5783811bc6288dd4f22f8d18c9d26 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Mon, 27 Aug 2012 01:00:55 -0500 Subject: Ruby: Remove RubyEventQueue This patch removes RubyEventQueue. Consumer objects now rely on RubySystem or themselves for scheduling events. --- src/mem/ruby/system/RubyPort.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mem/ruby/system/RubyPort.cc') diff --git a/src/mem/ruby/system/RubyPort.cc b/src/mem/ruby/system/RubyPort.cc index c8580bb5c..b24f649a5 100644 --- a/src/mem/ruby/system/RubyPort.cc +++ b/src/mem/ruby/system/RubyPort.cc @@ -198,7 +198,7 @@ RubyPort::M5Port::recvTimingReq(PacketPtr pkt) // send next cycle ruby_port->pio_port.schedTimingReq(pkt, curTick() + - g_eventQueue_ptr->getClock()); + g_system_ptr->getClock()); return true; } @@ -651,7 +651,7 @@ RubyPort::M5Port::hitCallback(PacketPtr pkt) if (needsResponse) { DPRINTF(RubyPort, "Sending packet back over port\n"); // send next cycle - schedTimingResp(pkt, curTick() + g_eventQueue_ptr->getClock()); + schedTimingResp(pkt, curTick() + g_system_ptr->getClock()); } else { delete pkt; } -- cgit v1.2.3