fa_lru.hh (5717:6ed48cba2217) fa_lru.hh (5746:d7540fa81f1d)
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;

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

274 * @param tag The tag of the block.
275 * @param set The set the block belongs to.
276 * @return the block address.
277 */
278 Addr regenerateBlkAddr(Addr tag, int set) const
279 {
280 return (tag);
281 }
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;

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

274 * @param tag The tag of the block.
275 * @param set The set the block belongs to.
276 * @return the block address.
277 */
278 Addr regenerateBlkAddr(Addr tag, int set) const
279 {
280 return (tag);
281 }
282
283 /**
284 * Read the data out of the internal storage of a cache block. FALRU
285 * currently doesn't support data storage.
286 * @param blk The cache block to read.
287 * @param data The buffer to read the data into.
288 * @return The data from the cache block.
289 */
290 void readData(FALRUBlk *blk, uint8_t *data)
291 {
292 }
293
294 /**
295 * Write data into the internal storage of a cache block. FALRU
296 * currently doesn't support data storage.
297 * @param blk The cache block to be written.
298 * @param data The data to write.
299 * @param size The number of bytes to write.
300 * @param writebacks A list for any writebacks to be performed. May be
301 * needed when writing to a compressed block.
302 */
303 void writeData(FALRUBlk *blk, uint8_t *data, int size,
304 PacketList &writebacks)
305 {
306 }
307};
308
309#endif
282};
283
284#endif