mshr_queue.cc (5715:e8c1d4e669a7) mshr_queue.cc (7667:aa8fd8f6a495)
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

192 if (!mshr->inService) {
193 assert(mshr == *(mshr->readyIter));
194 readyList.erase(mshr->readyIter);
195 mshr->readyIter = readyList.insert(readyList.begin(), mshr);
196 }
197}
198
199void
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

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

--- 37 unchanged lines hidden ---
203 deallocate(mshr);
204 } else {
205 readyList.erase(mshr->readyIter);
206 inServiceEntries += 1;
207 }
208}
209
210void

--- 37 unchanged lines hidden ---