diff options
author | Derek Hower <drh5@cs.wisc.edu> | 2009-07-18 18:20:03 -0500 |
---|---|---|
committer | Derek Hower <drh5@cs.wisc.edu> | 2009-07-18 18:20:03 -0500 |
commit | 7cd2d8f687bd6909b92da5301a2d305f1fc33601 (patch) | |
tree | f72b072981915ec07b20d08f0d280292efe3f8d2 /src/mem/ruby/common/Address.hh | |
parent | 4bd7fe4c53471e4aa404f4b5e1d2dad68e3514f6 (diff) | |
download | gem5-7cd2d8f687bd6909b92da5301a2d305f1fc33601.tar.xz |
ruby: removed all refs to old RubyConfig
Diffstat (limited to 'src/mem/ruby/common/Address.hh')
-rw-r--r-- | src/mem/ruby/common/Address.hh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/mem/ruby/common/Address.hh b/src/mem/ruby/common/Address.hh index b6899d1ac..c48152354 100644 --- a/src/mem/ruby/common/Address.hh +++ b/src/mem/ruby/common/Address.hh @@ -107,16 +107,6 @@ private: inline Address line_address(const Address& addr) { Address temp(addr); temp.makeLineAddress(); return temp; } -/* -inline -Address next_stride_address(const Address& addr, int stride) { - Address temp = addr; - temp.makeNextStrideAddress(stride); - temp.setAddress(temp.maskHighOrderBits(ADDRESS_WIDTH-RubyConfig::memorySizeBits())); // surpress wrap-around problem - return temp; -} -*/ - // Output operator declaration ostream& operator<<(ostream& out, const Address& obj); // comparison operator declaration @@ -207,17 +197,6 @@ integer_t Address::memoryModuleIndex() const { integer_t index = bitSelect(RubySystem::getBlockSizeBits()+RubySystem::getMemorySizeBits(), ADDRESS_WIDTH); assert (index >= 0); - /* - if (index >= RubyConfig::memoryModuleBlocks()) { - cerr << " memoryBits: " << RubySystem::getMemorySizeBits() << " memorySizeBits: " << RubySystem::getMemorySizeBits() - << " Address: " << "[" << hex << "0x" << m_address << "," << " line 0x" << maskLowOrderBits(RubySystem::getBlockSizeBits()) << dec << "]" << flush - << "error: limit exceeded. " << - " getDataBlockBits: " << RubySystem::getBlockSizeBits() << - " memoryModuleBlocks: " << RubyConfig::memoryModuleBlocks() << - " index: " << index << endl; - } - assert (index < RubyConfig::memoryModuleBlocks()); - */ return index; // Index indexHighPortion = address.bitSelect(MEMORY_SIZE_BITS-1, PAGE_SIZE_BITS+NUMBER_OF_MEMORY_MODULE_BITS); |