base.hh (7461:5a07045d0af2) | base.hh (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; --- 156 unchanged lines hidden (view full) --- 165 166 if (requestBus) { 167 requestMemSideBus((RequestCause)mq->index, time); 168 } 169 170 return mshr; 171 } 172 | 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; --- 156 unchanged lines hidden (view full) --- 165 166 if (requestBus) { 167 requestMemSideBus((RequestCause)mq->index, time); 168 } 169 170 return mshr; 171 } 172 |
173 void markInServiceInternal(MSHR *mshr) | 173 void markInServiceInternal(MSHR *mshr, PacketPtr pkt) |
174 { 175 MSHRQueue *mq = mshr->queue; 176 bool wasFull = mq->isFull(); | 174 { 175 MSHRQueue *mq = mshr->queue; 176 bool wasFull = mq->isFull(); |
177 mq->markInService(mshr); | 177 mq->markInService(mshr, pkt); |
178 if (wasFull && !mq->isFull()) { 179 clearBlocked((BlockedCause)mq->index); 180 } 181 } 182 183 /** Block size of this cache */ 184 const unsigned blkSize; 185 --- 358 unchanged lines hidden --- | 178 if (wasFull && !mq->isFull()) { 179 clearBlocked((BlockedCause)mq->index); 180 } 181 } 182 183 /** Block size of this cache */ 184 const unsigned blkSize; 185 --- 358 unchanged lines hidden --- |