dev: Add a DmaCallback class to DmaDevice
authorMichael LeBeane <michael.lebeane@amd.com>
Wed, 14 Sep 2016 03:14:24 +0000 (23:14 -0400)
committerMichael LeBeane <michael.lebeane@amd.com>
Wed, 14 Sep 2016 03:14:24 +0000 (23:14 -0400)
commit6e4c51fa99ec14c5f1dc41fc308a666e59f9ec9c
tree2d83d6fe3f9f808a04d16345d9a94dd22c6fb724
parentf17a5faf44b01a07a2f97ff98fad01f974ec427b
dev: Add a DmaCallback class to DmaDevice
This patch introduces the DmaCallback helper class, which registers a callback
to fire after a sequence of (potentially non-contiguous) DMA transfers on a
DmaPort completes.
src/dev/dma_device.hh