diff options
Diffstat (limited to 'src/mem/ruby/system/DirectoryMemory.cc')
-rw-r--r-- | src/mem/ruby/system/DirectoryMemory.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/ruby/system/DirectoryMemory.cc b/src/mem/ruby/system/DirectoryMemory.cc index 93f537090..7fb9b44a0 100644 --- a/src/mem/ruby/system/DirectoryMemory.cc +++ b/src/mem/ruby/system/DirectoryMemory.cc @@ -110,7 +110,7 @@ DirectoryMemory::printGlobalConfig(ostream & out) if (m_num_directories > 1) { out << " number of selection bits: " << m_num_directories_bits << endl << " selection bits: " << m_numa_high_bit - << "-" << m_numa_high_bit-m_num_directories_bits + << "-" << m_numa_high_bit-m_num_directories_bits << endl; } out << " total memory size bytes: " << m_total_size_bytes << endl; @@ -216,7 +216,7 @@ DirectoryMemory::invalidateBlock(PhysAddress address) assert(isPresent(address)); Index index = address.memoryModuleIndex(); - + if (index < 0 || index > m_size) { ERROR_MSG("Directory Memory Assertion: " "accessing memory out of range."); |