summaryrefslogtreecommitdiff
path: root/src/cpu/memtest/memtest.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/memtest/memtest.hh')
-rw-r--r--src/cpu/memtest/memtest.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cpu/memtest/memtest.hh b/src/cpu/memtest/memtest.hh
index 907659f69..bb71da355 100644
--- a/src/cpu/memtest/memtest.hh
+++ b/src/cpu/memtest/memtest.hh
@@ -132,6 +132,11 @@ class MemTest : public MemObject
PacketPtr retryPkt;
bool accessRetry;
+
+ //
+ // The dmaOustanding flag enforces only one dma at a time
+ //
+ bool dmaOutstanding;
unsigned size; // size of testing memory region
@@ -139,6 +144,8 @@ class MemTest : public MemObject
unsigned percentFunctional; // target percentage of functional accesses
unsigned percentUncacheable;
+ bool issueDmas;
+
int id;
std::set<unsigned> outstandingAddrs;