mshr_queue.hh (10622:0b969a35781f) | mshr_queue.hh (10679:204a0f53035e) |
---|---|
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 --- 169 unchanged lines hidden (view full) --- 178 * Moves the MSHR to the front of the pending list if it is not 179 * in service. 180 * @param mshr The entry to move. 181 */ 182 void moveToFront(MSHR *mshr); 183 184 /** 185 * Mark the given MSHR as in service. This removes the MSHR from the | 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 --- 169 unchanged lines hidden (view full) --- 178 * Moves the MSHR to the front of the pending list if it is not 179 * in service. 180 * @param mshr The entry to move. 181 */ 182 void moveToFront(MSHR *mshr); 183 184 /** 185 * Mark the given MSHR as in service. This removes the MSHR from the |
186 * readyList. Deallocates the MSHR if it does not expect a response. | 186 * readyList or deallocates the MSHR if it does not expect a response. 187 * |
187 * @param mshr The MSHR to mark in service. | 188 * @param mshr The MSHR to mark in service. |
189 * @param pending_dirty_resp Whether we expect a dirty response 190 * from another cache |
|
188 */ | 191 */ |
189 void markInService(MSHR *mshr, PacketPtr pkt); | 192 void markInService(MSHR *mshr, bool pending_dirty_resp); |
190 191 /** 192 * Mark an in service entry as pending, used to resend a request. 193 * @param mshr The MSHR to resend. 194 */ 195 void markPending(MSHR *mshr); 196 197 /** --- 60 unchanged lines hidden --- | 193 194 /** 195 * Mark an in service entry as pending, used to resend a request. 196 * @param mshr The MSHR to resend. 197 */ 198 void markPending(MSHR *mshr); 199 200 /** --- 60 unchanged lines hidden --- |