memtest: move check on outstanding requests
authorNilay Vaish <nilay@cs.wisc.edu>
Mon, 15 Oct 2012 22:27:17 +0000 (17:27 -0500)
committerNilay Vaish <nilay@cs.wisc.edu>
Mon, 15 Oct 2012 22:27:17 +0000 (17:27 -0500)
commit07ce90f7aa28a507493da905ba1881972250bb3a
treed22dbac1eeeef2479d23e383362a09de1984553c
parent61434a9943236e8586d9ac772cfe3de3145abb78
memtest: move check on outstanding requests
The Memtest tester allows for only one request to be outstanding for a
particular physical address. The check has been written separately for
reads and writes. This patch moves the check earlier than its current
position so that it need not be written separately for reads and writes.
src/cpu/testers/memtest/memtest.cc
src/cpu/testers/memtest/memtest.hh