diff options
author | Nathan Binkert <nate@binkert.org> | 2010-03-31 16:56:45 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2010-03-31 16:56:45 -0700 |
commit | be10204729c107b41d5d7487323c732e9fa09df5 (patch) | |
tree | 5c8f4001c490c4d777e8756e536cd2f2340c9ebb /src/mem/ruby/common/Address.hh | |
parent | 60ae1d2b10002bb73b420fce91c4b74397c55457 (diff) | |
download | gem5-be10204729c107b41d5d7487323c732e9fa09df5.tar.xz |
style: another ruby style pass
Diffstat (limited to 'src/mem/ruby/common/Address.hh')
-rw-r--r-- | src/mem/ruby/common/Address.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/ruby/common/Address.hh b/src/mem/ruby/common/Address.hh index 73327e617..c495f8d86 100644 --- a/src/mem/ruby/common/Address.hh +++ b/src/mem/ruby/common/Address.hh @@ -171,7 +171,7 @@ Address::bitRemove(int small, int big) const { physical_address_t mask; assert((unsigned)big >= (unsigned)small); - + if (small >= ADDRESS_WIDTH - 1) { return m_address; } else if (big >= ADDRESS_WIDTH - 1) { @@ -228,7 +228,7 @@ inline integer_t Address::memoryModuleIndex() const { integer_t index = - bitSelect(RubySystem::getBlockSizeBits() + + bitSelect(RubySystem::getBlockSizeBits() + RubySystem::getMemorySizeBits(), ADDRESS_WIDTH); assert (index >= 0); return index; |