summaryrefslogtreecommitdiff
path: root/src/mem/ruby/common
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2012-09-18 22:49:12 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2012-09-18 22:49:12 -0500
commit33c904e0a560be8c5f9aedaba9940ad0df52d81c (patch)
tree54aa24329761e607c750c4b8d6a39ad241159261 /src/mem/ruby/common
parent86b1c0fd540b57c1e7bba948ad0417f22f90eb41 (diff)
downloadgem5-33c904e0a560be8c5f9aedaba9940ad0df52d81c.tar.xz
ruby: eliminate typedef integer_t
Diffstat (limited to 'src/mem/ruby/common')
-rw-r--r--src/mem/ruby/common/Address.cc4
-rw-r--r--src/mem/ruby/common/TypeDefines.hh2
2 files changed, 2 insertions, 4 deletions
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);
diff --git a/src/mem/ruby/common/TypeDefines.hh b/src/mem/ruby/common/TypeDefines.hh
index 9596b07b5..b031a62d3 100644
--- a/src/mem/ruby/common/TypeDefines.hh
+++ b/src/mem/ruby/common/TypeDefines.hh
@@ -34,8 +34,6 @@ typedef unsigned long long uint64;
typedef long long int64;
-typedef long long integer_t;
-
typedef int64 Time;
typedef uint64 physical_address_t;