31,33d30
< #include "base/trace.hh"
< #include "debug/RubyCache.hh"
<
54,75d50
<
< void
< AbstractCacheEntry::setLocked(int context)
< {
< DPRINTF(RubyCache, "Setting Lock for addr: %x to %d\n", m_Address, context);
< m_locked = context;
< }
<
< void
< AbstractCacheEntry::clearLocked()
< {
< DPRINTF(RubyCache, "Clear Lock for addr: %x\n", m_Address);
< m_locked = -1;
< }
<
< bool
< AbstractCacheEntry::isLocked(int context) const
< {
< DPRINTF(RubyCache, "Testing Lock for addr: %llx cur %d con %d\n",
< m_Address, m_locked, context);
< return m_locked == context;
< }