From 8b4e8690b73f61ae0bb2cb052ec56f58d1d531e2 Mon Sep 17 00:00:00 2001 From: Lisa Hsu Date: Tue, 12 Jan 2010 10:53:02 -0800 Subject: cache: make tags->insertBlock() and tags->accessBlock() context aware so that the cache can make context-specific decisions within their various tag policy implementations. --- src/mem/cache/tags/iic.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 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 994f7b8f7..c96cdaf3e 100644 --- a/src/mem/cache/tags/iic.hh +++ b/src/mem/cache/tags/iic.hh @@ -422,7 +422,7 @@ class IIC : public BaseTags * @param lat The access latency. * @return A pointer to the block found, if any. */ - IICTag* accessBlock(Addr addr, int &lat); + IICTag* accessBlock(Addr addr, int &lat, int context_src); /** * Find the block, do not update the replacement data. @@ -440,7 +440,7 @@ class IIC : public BaseTags */ IICTag* findVictim(Addr addr, PacketList &writebacks); - void insertBlock(Addr addr, BlkType *blk); + void insertBlock(Addr addr, BlkType *blk, int context_src); /** * Called at end of simulation to complete average block reference stats. -- cgit v1.2.3