cache.hh (2844:265f19c60d45) cache.hh (2855:5ca2cdb32521)
1/*
2 * Copyright (c) 2002-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;

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

170 */
171 virtual Packet * getPacket();
172
173 /**
174 * Was the request was sent successfully?
175 * @param req The request.
176 * @param success True if the request was sent successfully.
177 */
1/*
2 * Copyright (c) 2002-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;

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

170 */
171 virtual Packet * getPacket();
172
173 /**
174 * Was the request was sent successfully?
175 * @param req The request.
176 * @param success True if the request was sent successfully.
177 */
178 void sendResult(Packet * &pkt, bool success);
178 virtual void sendResult(Packet * &pkt, bool success);
179
180 /**
181 * Handles a response (cache line fill/write ack) from the bus.
182 * @param req The request being responded to.
183 */
184 void handleResponse(Packet * &pkt);
185
186 /**

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

197 * @param mshr The mshr being handled.
198 */
199 void handleCopy(Packet * &pkt, Addr addr, BlkType *blk, MSHR *mshr);
200
201 /**
202 * Selects a coherence message to forward to lower levels of the hierarchy.
203 * @return The coherence message to forward.
204 */
179
180 /**
181 * Handles a response (cache line fill/write ack) from the bus.
182 * @param req The request being responded to.
183 */
184 void handleResponse(Packet * &pkt);
185
186 /**

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

197 * @param mshr The mshr being handled.
198 */
199 void handleCopy(Packet * &pkt, Addr addr, BlkType *blk, MSHR *mshr);
200
201 /**
202 * Selects a coherence message to forward to lower levels of the hierarchy.
203 * @return The coherence message to forward.
204 */
205 Packet * getCoherenceReq();
205 virtual Packet * getCoherencePacket();
206
207 /**
208 * Snoops bus transactions to maintain coherence.
209 * @param req The current bus transaction.
210 */
211 void snoop(Packet * &pkt);
212
213 void snoopResponse(Packet * &pkt);

--- 55 unchanged lines hidden ---
206
207 /**
208 * Snoops bus transactions to maintain coherence.
209 * @param req The current bus transaction.
210 */
211 void snoop(Packet * &pkt);
212
213 void snoopResponse(Packet * &pkt);

--- 55 unchanged lines hidden ---