RTEMS | bsp/aarch64/raspberrypi: Add support for DMA (!662)
Kinsey Moore (@opticron)
gitlab at rtems.org
Mon Aug 18 16:36:56 UTC 2025
Kinsey Moore started a new discussion on bsps/aarch64/raspberrypi/include/bsp/raspberrypi-dma.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/662#note_128948
> + DMA_CHANNEL_4,
> + DMA_CHANNEL_5,
> + DMA_CHANNEL_6,
> + DMA_LITE_CHANNEL_7,
> + DMA_LITE_CHANNEL_8,
> + DMA_LITE_CHANNEL_9,
> + DMA_LITE_CHANNEL_10,
> + DMA4_CHANNEL_11,
> + DMA4_CHANNEL_12,
> + DMA4_CHANNEL_13,
> + DMA4_CHANNEL_14,
> +} rpi_dma_channel;
> +
> +void* rpi_unaligned_mem_to_mem_dma( rpi_dma_channel channel, void *src, uint32_t length );
> +rtems_status_code rpi_dma_mem_to_mem_start_transfer( rpi_dma_channel channel );
> +rtems_status_code rpi_dma_mem_to_mem_wait( rpi_dma_channel channel );
_start_transfer and _wait don't need to be transfer-type-specific because they can reference the internal control block which is configured in the transfer-type-specific init. Then additional init types can be added later and use the the same generic start and wait functions.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/662#note_128948
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250818/d69a32e9/attachment-0001.htm>
More information about the bugs
mailing list