mem-ruby: fix hex print in CacheMemory (#561)

Update print in CacheMemory about clearing the lock to properly print in
hex.
This commit is contained in:
Matt Sinclair
2023-11-13 16:34:33 -06:00
committed by GitHub
parent 3642bc4892
commit f312804364

View File

@@ -288,7 +288,7 @@ CacheMemory::allocate(Addr address, AbstractCacheEntry *entry)
set[i] = entry; // Init entry
set[i]->m_Address = address;
set[i]->m_Permission = AccessPermission_Invalid;
DPRINTF(RubyCache, "Allocate clearing lock for addr: %x\n",
DPRINTF(RubyCache, "Allocate clearing lock for addr: 0x%x\n",
address);
set[i]->m_locked = -1;
m_tag_index[address] = i;