mshr_queue.cc (11278:18411ccc4f3c) mshr_queue.cc (11284:b3926db25371)
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

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

195 if (!mshr->inService) {
196 assert(mshr == *(mshr->readyIter));
197 readyList.erase(mshr->readyIter);
198 mshr->readyIter = readyList.insert(readyList.begin(), mshr);
199 }
200}
201
202void
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

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

195 if (!mshr->inService) {
196 assert(mshr == *(mshr->readyIter));
197 readyList.erase(mshr->readyIter);
198 mshr->readyIter = readyList.insert(readyList.begin(), mshr);
199 }
200}
201
202void
203MSHRQueue::markInService(MSHR *mshr, bool pending_dirty_resp)
203MSHRQueue::markInService(MSHR *mshr, bool pending_modified_resp)
204{
204{
205 if (mshr->markInService(pending_dirty_resp)) {
205 if (mshr->markInService(pending_modified_resp)) {
206 deallocate(mshr);
207 } else {
208 readyList.erase(mshr->readyIter);
209 inServiceEntries += 1;
210 }
211}
212
213void

--- 33 unchanged lines hidden ---
206 deallocate(mshr);
207 } else {
208 readyList.erase(mshr->readyIter);
209 inServiceEntries += 1;
210 }
211}
212
213void

--- 33 unchanged lines hidden ---