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_128955

 > +  }
 > +
 > +  cb->source_addr      = (uint32_t) ADDRESS_LOW( source_address );
 > +  cb->source_info      = SI_SRC_INC | ADDRESS_HIGH( source_address );
 > +  cb->destination_addr = (uint32_t) ADDRESS_LOW( destination_address );
 > +  cb->destination_info = DI_DEST_INC | ADDRESS_HIGH( destination_address );
 > +  cb->transfer_length  = transfer_length;
 > +  cb->transfer_info    = 0;
 > +  cb->next_cb          = 0;
 > +  cb->reserved         = 0;
 > +
 > +  return cb;
 > +}
 > +
 > +
 > +void *rpi_unaligned_mem_to_mem_dma( rpi_dma_channel channel, void *src, 
 > uint32_t length )

I assume this was the initial proof of concept code. Copying to a location not 
controlled by the user is not particularly useful, so I think this function can 
be removed.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/662#note_128955
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

Reply via email to