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:
parent
29474bdf02
commit
aead4c315b
2 changed files with 4 additions and 3 deletions
|
@ -223,6 +223,7 @@ MemTest::tick()
|
||||||
req->paddr = ((base) ? baseAddr1 : baseAddr2) + offset1;
|
req->paddr = ((base) ? baseAddr1 : baseAddr2) + offset1;
|
||||||
}
|
}
|
||||||
bool probe = (rand() % 2 == 1) && !req->isUncacheable();
|
bool probe = (rand() % 2 == 1) && !req->isUncacheable();
|
||||||
|
probe = false;
|
||||||
|
|
||||||
req->size = 1 << access_size;
|
req->size = 1 << access_size;
|
||||||
req->data = new uint8_t[req->size];
|
req->data = new uint8_t[req->size];
|
||||||
|
|
|
@ -49,9 +49,9 @@ use strict;
|
||||||
# and generally quite adequate algorithm will be used instead.
|
# and generally quite adequate algorithm will be used instead.
|
||||||
my $use_complexdiff = 0;
|
my $use_complexdiff = 0;
|
||||||
|
|
||||||
if ($use_complexdiff) {
|
#if ($use_complexdiff) {
|
||||||
use Algorithm::Diff qw(traverse_sequences);
|
# use Algorithm::Diff qw(traverse_sequences);
|
||||||
};
|
#};
|
||||||
|
|
||||||
my $lookahead_lines = 200;
|
my $lookahead_lines = 200;
|
||||||
my $precontext_lines = 3;
|
my $precontext_lines = 3;
|
||||||
|
|
Loading…
Reference in a new issue