Also, probe doesn't currently support compressed data, but will as soon as I encapsulate the calls more.
cpu/memtest/memtest.cc:
Change memtest to not do probes on uncacheables.
--HG--
extra : convert_revision :
28ca4f793562e55da75e8b7fc3852bb5b1328ea9
uint64_t data = random();
unsigned access_size = random() % 4;
unsigned cacheable = rand() % 100;
- unsigned probe = rand() % 2;
MemReqPtr req = new MemReq();
} else {
req->paddr = ((base) ? baseAddr1 : baseAddr2) + offset1;
}
+ bool probe = (rand() % 2 == 1) && !req->isUncacheable();
req->size = 1 << access_size;
req->data = new uint8_t[req->size];