ruby: expose access permission to replacement policies
authorDavid Hashe <david.hashe@amd.com>
Mon, 20 Jul 2015 14:15:18 +0000 (09:15 -0500)
committerDavid Hashe <david.hashe@amd.com>
Mon, 20 Jul 2015 14:15:18 +0000 (09:15 -0500)
commitc4ffd4989c35a4afea1097fec97ac5bcd52974b3
tree04796c3fd4ba631f20d47f17906b47c7bbb84a59
parent967cfa939afca4a5752ce9c1d64d5c51092e7f1a
ruby: expose access permission to replacement policies

This patch adds support that allows the replacement policy to identify each
cache block's access permission.  This information can be useful when making
replacement decisions.
src/mem/ruby/structures/AbstractReplacementPolicy.hh
src/mem/ruby/structures/CacheMemory.cc
src/mem/ruby/structures/CacheMemory.hh