From 640b415688f8942ee61ac26f8bbc538596df00a4 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Fri, 14 Nov 2008 14:14:35 -0800 Subject: Cache: get rid of obsolete Tag methods. I think readData() and writeData() were used for Erik's compression work, but that code is gone, these aren't called anymore, and they don't even really do what their names imply. --- src/mem/cache/tags/iic.hh | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'src/mem/cache/tags/iic.hh') diff --git a/src/mem/cache/tags/iic.hh b/src/mem/cache/tags/iic.hh index 984506a93..9e14dc119 100644 --- a/src/mem/cache/tags/iic.hh +++ b/src/mem/cache/tags/iic.hh @@ -439,29 +439,11 @@ class IIC : public BaseTags void insertBlock(Addr addr, BlkType *blk); - /** - * Read the data from the internal storage of the given cache block. - * @param blk The block to read the data from. - * @param data The buffer to read the data into. - * @return The cache block's data. - */ - void readData(IICTag *blk, uint8_t *data); - - /** - * Write the data into the internal storage of the given cache block. - * @param blk The block to write to. - * @param data The data to write. - * @param size The number of bytes to write. - * @param writebacks A list for any writebacks to be performed. May be - * needed when writing to a compressed block. - */ - void writeData(IICTag *blk, uint8_t *data, int size, - PacketList & writebacks); - /** * Called at end of simulation to complete average block reference stats. */ virtual void cleanupRefs(); + private: /** * Return the hash of the address. -- cgit v1.2.3