RTEMS | bsp/aarch64/raspberrypi: Add support for DMA (!662)
Kinsey Moore (@opticron)
gitlab at rtems.org
Mon Aug 18 17:12:42 UTC 2025
Kinsey Moore started a new discussion on bsps/aarch64/raspberrypi/dma/raspberrypi-dma.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/662#note_128956
> +
> + if ( ( channel >= DMA4_CHANNEL_11 ) && ( channel <= DMA4_CHANNEL_14 ) ) {
> + uint32_t original_addr = cb_addr_reg;
> + control_block = (void*)(uintptr_t)original_addr;
> + } else {
> + control_block = (void*)(uintptr_t)cb_addr_reg;
> + }
> +
> + if (control_block != NULL) {
> + free(control_block);
> + }
> +
> + return RTEMS_SUCCESSFUL;
> +}
> +
> +rtems_status_code rpi_dma_mem_to_mem_init( rpi_dma_channel channel, void *source_address, void *destination_address, uint32_t transfer_length )
I don't see any alignment checking for source and destination. Are there alignment restrictions that apply to these inputs?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/662#note_128956
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/3a5a8861/attachment-0001.htm>
More information about the bugs
mailing list