Deleted Added
sdiff udiff text old ( 3349:fec4a86fa212 ) new ( 3862:ec47e4243107 )
full compact
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;

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

168 * Return true if the address is found in the cache.
169 * @param asid The address space ID.
170 * @param addr The address to look for.
171 * @return True if the address is in the cache.
172 */
173 bool probe(Addr addr) const;
174
175 /**
176 * Invalidate a cache block.
177 * @param blk The block to invalidate.
178 */
179 void invalidateBlk(BlkType *blk);
180
181 /**
182 * Find the block in the cache and update the replacement data. Returns
183 * the access latency and the in cache flags as a side effect
184 * @param addr The address to look for.
185 * @param asid The address space ID.
186 * @param lat The latency of the access.
187 * @param inCache The FALRUBlk::inCache flags.
188 * @return Pointer to the cache block.
189 */
190 FALRUBlk* findBlock(Addr addr, int &lat, int *inCache = 0);
191
192 /**
193 * Find the block in the cache, do not update the replacement data.
194 * @param addr The address to look for.
195 * @param asid The address space ID.
196 * @return Pointer to the cache block.
197 */
198 FALRUBlk* findBlock(Addr addr) const;
199
200 /**

--- 116 unchanged lines hidden ---