Shaunak Datar commented on a discussion on bsps/aarch64/raspberrypi/dma/raspberrypi-dma.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/662#note_129049 > + > + 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 ) There are alignment restrictions- I have added a check for them and updated the doxygen for it likewise -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/662#note_129049 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list bugs@rtems.org http://lists.rtems.org/mailman/listinfo/bugs