dev: Remove zero-time loop in DMA timing send
authorAndreas Hansson <andreas.hansson@arm.com>
Tue, 23 Oct 2012 08:49:33 +0000 (04:49 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Tue, 23 Oct 2012 08:49:33 +0000 (04:49 -0400)
commit69e82539fd81299751e1000c0dac49f2eddbbdb6
tree90a4d9e4bb2cbf51fbb1340d5faf35cad34b4ebc
parent37ded2c2cc2523d43cb2a4ae6a421ddba5f22919
dev: Remove zero-time loop in DMA timing send

This patch removes the zero-time loop used to send items from the DMA
port transmit list. Instead of having a loop, the DMA port now uses an
event to schedule sending of a single packet.

Ultimately this patch serves to ease the transition to a blocking
4-phase handshake.

A follow-on patch will update the regression statistics.
src/dev/dma_device.cc
src/dev/dma_device.hh