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
--- 200 unchanged lines hidden (view full) ---
209 if (!mshr->inService) {
210 assert(mshr == *(mshr->readyIter));
211 readyList.erase(mshr->readyIter);
212 mshr->readyIter = readyList.insert(readyList.begin(), mshr);
213 }
214}
215
216void
217MSHRQueue::markInService(MSHR *mshr, bool pending_dirty_resp)
218{
219 if (mshr->markInService(pending_dirty_resp)) {
220 deallocate(mshr);
221 } else {
222 readyList.erase(mshr->readyIter);
223 inServiceEntries += 1;
224 }
225}
226
227void
--- 66 unchanged lines hidden ---
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
--- 200 unchanged lines hidden (view full) ---
209 if (!mshr->inService) {
210 assert(mshr == *(mshr->readyIter));
211 readyList.erase(mshr->readyIter);
212 mshr->readyIter = readyList.insert(readyList.begin(), mshr);
213 }
214}
215
216void
217MSHRQueue::markInService(MSHR *mshr, bool pending_dirty_resp)
218{
219 if (mshr->markInService(pending_dirty_resp)) {
220 deallocate(mshr);
221 } else {
222 readyList.erase(mshr->readyIter);
223 inServiceEntries += 1;
224 }
225}
226
227void
--- 66 unchanged lines hidden ---