diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-08-20 11:46:12 -0700 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-08-20 11:46:12 -0700 |
commit | 808701a10c7d2b79feb3746c2b47c5faa3fca042 (patch) | |
tree | 7568c1ff50ad192134621f1e17e74e34154e69e7 /src/cpu/memtest/memtest.hh | |
parent | 64b2205992783b6b0268f18e1930a81b109600eb (diff) | |
download | gem5-808701a10c7d2b79feb3746c2b47c5faa3fca042.tar.xz |
memtest: Memtester support for DMA
This patch adds DMA testing to the Memtester and is inherits many changes from
Polina's old tester_dma_extension patch. Since Ruby does not work in atomic
mode, the atomic mode options are removed.
Diffstat (limited to 'src/cpu/memtest/memtest.hh')
-rw-r--r-- | src/cpu/memtest/memtest.hh | 7 |
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; |