Deleted Added
sdiff udiff text old ( 10764:b32578b2af99 ) new ( 10913:38dbdeea7f1f )
full compact
1/*
2 * Copyright (c) 2012-2013, 2015 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

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

87 std::vector<MSHR> registers;
88 /** Holds pointers to all allocated entries. */
89 MSHR::List allocatedList;
90 /** Holds pointers to entries that haven't been sent to the bus. */
91 MSHR::List readyList;
92 /** Holds non allocated entries. */
93 MSHR::List freeList;
94
95 /** Drain manager to inform of a completed drain */
96 DrainManager *drainManager;
97
98 MSHR::Iterator addToReadyList(MSHR *mshr);
99
100
101 public:
102 /** The number of allocated entries. */
103 int allocated;
104 /** The number of entries that have been forwarded to the bus. */
105 int inServiceEntries;

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

253 return readyList.front();
254 }
255
256 Tick nextMSHRReadyTime() const
257 {
258 return readyList.empty() ? MaxTick : readyList.front()->readyTime;
259 }
260
261 unsigned int drain(DrainManager *dm);
262};
263
264#endif //__MEM_CACHE_MSHR_QUEUE_HH__