cache.hh (10563:755b18321206) cache.hh (10679:204a0f53035e)
1/*
2 * Copyright (c) 2012-2014 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

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

370 /**
371 * Selects an outstanding request to service. Called when the
372 * cache gets granted the downstream bus in timing mode.
373 * @return The request to service, NULL if none found.
374 */
375 PacketPtr getTimingPacket();
376
377 /**
1/*
2 * Copyright (c) 2012-2014 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

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

370 /**
371 * Selects an outstanding request to service. Called when the
372 * cache gets granted the downstream bus in timing mode.
373 * @return The request to service, NULL if none found.
374 */
375 PacketPtr getTimingPacket();
376
377 /**
378 * Marks a request as in service (sent on the bus). This can have side
379 * effect since storage for no response commands is deallocated once they
380 * are successfully sent.
381 * @param pkt The request that was sent on the bus.
378 * Marks a request as in service (sent on the bus). This can have
379 * side effect since storage for no response commands is
380 * deallocated once they are successfully sent. Also remember if
381 * we are expecting a dirty response from another cache,
382 * effectively making this MSHR the ordering point.
382 */
383 */
383 void markInService(MSHR *mshr, PacketPtr pkt = NULL);
384 void markInService(MSHR *mshr, bool pending_dirty_resp);
384
385 /**
386 * Return whether there are any outstanding misses.
387 */
388 bool outstandingMisses() const
389 {
390 return mshrQueue.allocated != 0;
391 }

--- 35 unchanged lines hidden ---
385
386 /**
387 * Return whether there are any outstanding misses.
388 */
389 bool outstandingMisses() const
390 {
391 return mshrQueue.allocated != 0;
392 }

--- 35 unchanged lines hidden ---