39a40
> #include "base/random.hh"
264,269c265,270
< unsigned cmd = random() % 100;
< unsigned offset = random() % size;
< unsigned base = random() % 2;
< uint64_t data = random();
< unsigned access_size = random() % 4;
< bool uncacheable = (random() % 100) < percentUncacheable;
---
> unsigned cmd = random_mt.random(0, 100);
> unsigned offset = random_mt.random<unsigned>(0, size - 1);
> unsigned base = random_mt.random(0, 1);
> uint64_t data = random_mt.random<uint64_t>();
> unsigned access_size = random_mt.random(0, 3);
> bool uncacheable = random_mt.random(0, 100) < percentUncacheable;
271c272
< unsigned dma_access_size = random() % 4;
---
> unsigned dma_access_size = random_mt.random(0, 3);
299c300,301
< bool do_functional = (random() % 100 < percentFunctional) && !uncacheable;
---
> bool do_functional = (random_mt.random(0, 100) < percentFunctional) &&
> !uncacheable;