://github.com/ppisa/rtems/commit/640071d0e16f0a29019e09c0308a364373b4b0e1
with changes in alignment and padding which I have described
in review
[PATCH] DMA : Added DMA API for Raspberrypi
https://github.com/ppisa/rtems/commit/d1f1ed30f918789b3ed91771ab743c7a1e6bf649
I have added
Brief API Description
rpi_dma_init -> Initializes the channel structure
and its members for that particular channel, gets
the physical address of the control block structure
and installs the interrupt handler.
rpi_dma_allocate -> Allocates the channel if it is
not busy
rpi_dma_setup_dst &