Ruby Memory Vector: Allow more than 4GB of memory
authorNilay Vaish <nilay@cs.wisc.edu>
Mon, 27 Aug 2012 06:00:54 +0000 (01:00 -0500)
committerNilay Vaish <nilay@cs.wisc.edu>
Mon, 27 Aug 2012 06:00:54 +0000 (01:00 -0500)
commit7122b83d8f92d77bccae432b4e90ba12f1babad5
tree60cb8d9ddaea5e6032a78ea1a1486fd0f0b1d5a2
parent1032bc72eda3026ac1c3ff4d3243efbb4f503ce6
Ruby Memory Vector: Allow more than 4GB of memory
The memory size variable was a 32-bit int. This meant that the size of the
memory was limited to 4GB. This patch changes the type of the variable to
64-bit to support larger memory sizes. Thanks to Raghuraman Balasubramanian
for bringing this to notice.
src/mem/ruby/system/MemoryVector.hh