mem: Add check if SimpleDRAM nextReqEvent is scheduled
authorAndreas Hansson <andreas.hansson@arm.com>
Fri, 1 Mar 2013 18:20:33 +0000 (13:20 -0500)
committerAndreas Hansson <andreas.hansson@arm.com>
Fri, 1 Mar 2013 18:20:33 +0000 (13:20 -0500)
commite5bcb3075615d2dade3e51501d3f634178598428
treeec594725dd31281af0ab8f738120fa83ba3f92b8
parentda5356cccea52dfc49ce2adf07049b2ac9dea7b9
mem: Add check if SimpleDRAM nextReqEvent is scheduled

This check covers a case where a retry is called from the SimpleDRAM
causing a new request to appear before the DRAM itself schedules a
nextReqEvent. By adding this check, the event is not scheduled twice.
src/mem/simple_dram.cc