From 33c904e0a560be8c5f9aedaba9940ad0df52d81c Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Tue, 18 Sep 2012 22:49:12 -0500 Subject: ruby: eliminate typedef integer_t --- src/mem/ruby/common/Address.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mem/ruby/common/Address.cc') diff --git a/src/mem/ruby/common/Address.cc b/src/mem/ruby/common/Address.cc index cc87f4ece..d3f678863 100644 --- a/src/mem/ruby/common/Address.cc +++ b/src/mem/ruby/common/Address.cc @@ -55,10 +55,10 @@ Address::makeNextStrideAddress(int stride) + RubySystem::getBlockSizeBytes()*stride; } -integer_t +Index Address::memoryModuleIndex() const { - integer_t index = + Index index = bitSelect(RubySystem::getBlockSizeBits() + RubySystem::getMemorySizeBits(), ADDRESS_WIDTH); assert (index >= 0); -- cgit v1.2.3