cache.hh (5699:ab3067124402) cache.hh (5706:2cc2387049bc)
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;

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

167 * return NULL if there are no replaceable blocks at the moment.
168 */
169 BlkType *allocateBlock(Addr addr, PacketList &writebacks);
170
171 /**
172 * Populates a cache block and handles all outstanding requests for the
173 * satisfied fill request. This version takes two memory requests. One
174 * contains the fill data, the other is an optional target to satisfy.
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;

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

167 * return NULL if there are no replaceable blocks at the moment.
168 */
169 BlkType *allocateBlock(Addr addr, PacketList &writebacks);
170
171 /**
172 * Populates a cache block and handles all outstanding requests for the
173 * satisfied fill request. This version takes two memory requests. One
174 * contains the fill data, the other is an optional target to satisfy.
175 * Used for Cache::probe.
176 * @param pkt The memory request with the fill data.
177 * @param blk The cache block if it already exists.
178 * @param writebacks List for any writebacks that need to be performed.
179 * @return Pointer to the new cache block.
180 */
181 BlkType *handleFill(PacketPtr pkt, BlkType *blk,
182 PacketList &writebacks);
183

--- 144 unchanged lines hidden ---
175 * @param pkt The memory request with the fill data.
176 * @param blk The cache block if it already exists.
177 * @param writebacks List for any writebacks that need to be performed.
178 * @return Pointer to the new cache block.
179 */
180 BlkType *handleFill(PacketPtr pkt, BlkType *blk,
181 PacketList &writebacks);
182

--- 144 unchanged lines hidden ---