cache.hh (4665:9471921e5e08) cache.hh (4670:54ac1fb49a26)
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;

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

180 * @return Pointer to the new cache block.
181 */
182 BlkType *handleFill(PacketPtr pkt, BlkType *blk,
183 PacketList &writebacks);
184
185 void satisfyCpuSideRequest(PacketPtr pkt, BlkType *blk);
186 bool satisfyMSHR(MSHR *mshr, PacketPtr pkt, BlkType *blk);
187
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;

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

180 * @return Pointer to the new cache block.
181 */
182 BlkType *handleFill(PacketPtr pkt, BlkType *blk,
183 PacketList &writebacks);
184
185 void satisfyCpuSideRequest(PacketPtr pkt, BlkType *blk);
186 bool satisfyMSHR(MSHR *mshr, PacketPtr pkt, BlkType *blk);
187
188 void doTimingSupplyResponse(PacketPtr req_pkt, uint8_t *blk_data);
188 void doTimingSupplyResponse(PacketPtr req_pkt, uint8_t *blk_data,
189 bool already_copied);
189
190 /**
191 * Sets the blk to the new state.
192 * @param blk The cache block being snooped.
193 * @param new_state The new coherence state for the block.
194 */
190
191 /**
192 * Sets the blk to the new state.
193 * @param blk The cache block being snooped.
194 * @param new_state The new coherence state for the block.
195 */
195 void handleSnoop(PacketPtr ptk, BlkType *blk, bool is_timing);
196 void handleSnoop(PacketPtr ptk, BlkType *blk,
197 bool is_timing, bool is_deferred);
196
197 /**
198 * Create a writeback request for the given block.
199 * @param blk The block to writeback.
200 * @return The writeback request for the block.
201 */
202 PacketPtr writebackBlk(BlkType *blk);
203

--- 129 unchanged lines hidden ---
198
199 /**
200 * Create a writeback request for the given block.
201 * @param blk The block to writeback.
202 * @return The writeback request for the block.
203 */
204 PacketPtr writebackBlk(BlkType *blk);
205

--- 129 unchanged lines hidden ---