diff options
author | Lisa Hsu <Lisa.Hsu@amd.com> | 2010-01-12 10:53:02 -0800 |
---|---|---|
committer | Lisa Hsu <Lisa.Hsu@amd.com> | 2010-01-12 10:53:02 -0800 |
commit | 8b4e8690b73f61ae0bb2cb052ec56f58d1d531e2 (patch) | |
tree | 34001c05d1ff8c1a6d30a0356ff2623c49e16a0b /src/mem/cache/tags/iic.hh | |
parent | 9f635484784a9a523fc356df9e55922660d13d8f (diff) | |
download | gem5-8b4e8690b73f61ae0bb2cb052ec56f58d1d531e2.tar.xz |
cache: make tags->insertBlock() and tags->accessBlock() context aware so that the cache can make context-specific decisions within their various tag policy implementations.
Diffstat (limited to 'src/mem/cache/tags/iic.hh')
-rw-r--r-- | src/mem/cache/tags/iic.hh | 4 |
1 files changed, 2 insertions, 2 deletions
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. |