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
This commit is contained in:
Erik Hallnor 2003-11-06 18:39:26 -05:00
parent 29474bdf02
commit aead4c315b
2 changed files with 4 additions and 3 deletions

View file

@ -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];

View file

@ -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;