RubyPort.cc (10886:fdd4a895f325) RubyPort.cc (10910:32f3d1c454ec)
1/*
2 * Copyright (c) 2012-2013 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 435 unchanged lines hidden (view full) ---

444 //
445 unsigned int child_drain_count = getChildDrainCount(dm);
446
447 // Set status
448 if (need_drain) {
449 drainManager = dm;
450
451 DPRINTF(Drain, "RubyPort not drained\n");
1/*
2 * Copyright (c) 2012-2013 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 435 unchanged lines hidden (view full) ---

444 //
445 unsigned int child_drain_count = getChildDrainCount(dm);
446
447 // Set status
448 if (need_drain) {
449 drainManager = dm;
450
451 DPRINTF(Drain, "RubyPort not drained\n");
452 setDrainState(Drainable::Draining);
452 setDrainState(DrainState::Draining);
453 return child_drain_count + 1;
454 }
455
456 drainManager = NULL;
453 return child_drain_count + 1;
454 }
455
456 drainManager = NULL;
457 setDrainState(Drainable::Drained);
457 setDrainState(DrainState::Drained);
458 return child_drain_count;
459}
460
461void
462RubyPort::MemSlavePort::hitCallback(PacketPtr pkt)
463{
464 bool needsResponse = pkt->needsResponse();
465

--- 105 unchanged lines hidden ---
458 return child_drain_count;
459}
460
461void
462RubyPort::MemSlavePort::hitCallback(PacketPtr pkt)
463{
464 bool needsResponse = pkt->needsResponse();
465

--- 105 unchanged lines hidden ---