114,116c114,123
< typedef std::unordered_map<Addr, FALRUBlk *, std::hash<Addr> > hash_t;
< /** Iterator into the address hash table. */
< typedef hash_t::const_iterator tagIterator;
---
> struct PairHash
> {
> template <class T1, class T2>
> std::size_t operator()(const std::pair<T1, T2> &p) const
> {
> return std::hash<T1>()(p.first) ^ std::hash<T2>()(p.second);
> }
> };
> typedef std::pair<Addr, bool> TagHashKey;
> typedef std::unordered_map<TagHashKey, FALRUBlk *, PairHash> TagHash;
119c126
< hash_t tagHash;
---
> TagHash tagHash;
122,128d128
< * Find the cache block for the given address.
< * @param addr The address to find.
< * @return The cache block of the address, if any.
< */
< FALRUBlk * hashLookup(Addr addr) const;
<
< /**