summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Hallnor <ehallnor@umich.edu>2003-11-06 18:39:26 -0500
committerErik Hallnor <ehallnor@umich.edu>2003-11-06 18:39:26 -0500
commitaead4c315b2f52566249a09c13bcee3378f7af32 (patch)
tree7dae5e814098cac68396bdc2cf6dd5d4c48b15fc
parent29474bdf027fe3396e0be2f6acbe2a6b89136bc2 (diff)
downloadgem5-aead4c315b2f52566249a09c13bcee3378f7af32.tar.xz
Various fixes to memory code.
cpu/memtest/memtest.cc: Disable probes until the work in all cases util/rundiff: Comment out Algorithm::Diff since its not needed. --HG-- extra : convert_revision : 40e76ae8926650986a170a0ba6ef331519aceb19
-rw-r--r--cpu/memtest/memtest.cc1
-rwxr-xr-xutil/rundiff6
2 files changed, 4 insertions, 3 deletions
diff --git a/cpu/memtest/memtest.cc b/cpu/memtest/memtest.cc
index b6224996e..db24bb507 100644
--- a/cpu/memtest/memtest.cc
+++ b/cpu/memtest/memtest.cc
@@ -223,6 +223,7 @@ MemTest::tick()
req->paddr = ((base) ? baseAddr1 : baseAddr2) + offset1;
}
bool probe = (rand() % 2 == 1) && !req->isUncacheable();
+ probe = false;
req->size = 1 << access_size;
req->data = new uint8_t[req->size];
diff --git a/util/rundiff b/util/rundiff
index 4aed9200e..732b84d21 100755
--- a/util/rundiff
+++ b/util/rundiff
@@ -49,9 +49,9 @@ use strict;
# and generally quite adequate algorithm will be used instead.
my $use_complexdiff = 0;
-if ($use_complexdiff) {
- use Algorithm::Diff qw(traverse_sequences);
-};
+#if ($use_complexdiff) {
+# use Algorithm::Diff qw(traverse_sequences);
+#};
my $lookahead_lines = 200;
my $precontext_lines = 3;