Changeset 279 for trunk/hal/tsar_mips32/drivers/soclib_dma.c
- Timestamp:
- Jul 27, 2017, 12:23:29 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/drivers/soclib_dma.c
r261 r279 57 57 58 58 // get command arguments and extended pointer on DMA device 59 dev_xp = (xptr_t)hal_remote_lwd( XPTR( thread_cxy , &thread_ptr-> command.dma.dev_xp ) );60 dst_xp = (xptr_t)hal_remote_lwd( XPTR( thread_cxy , &thread_ptr-> command.dma.dst_xp ) );61 src_xp = (xptr_t)hal_remote_lwd( XPTR( thread_cxy , &thread_ptr-> command.dma.src_xp ) );62 size = hal_remote_lw ( XPTR( thread_cxy , &thread_ptr-> command.dma.size ) );59 dev_xp = (xptr_t)hal_remote_lwd( XPTR( thread_cxy , &thread_ptr->dma_cmd.dev_xp ) ); 60 dst_xp = (xptr_t)hal_remote_lwd( XPTR( thread_cxy , &thread_ptr->dma_cmd.dst_xp ) ); 61 src_xp = (xptr_t)hal_remote_lwd( XPTR( thread_cxy , &thread_ptr->dma_cmd.src_xp ) ); 62 size = hal_remote_lw ( XPTR( thread_cxy , &thread_ptr->dma_cmd.size ) ); 63 63 64 64 // get DMA device cluster and local pointer … … 124 124 // set operation status in command 125 125 error_t error = ( status != DMA_SUCCESS ); 126 hal_remote_sw( XPTR( client_cxy , &client_ptr-> command.dma.error ) , error );126 hal_remote_sw( XPTR( client_cxy , &client_ptr->dma_cmd.error ) , error ); 127 127 128 128 // unblock server thread
Note: See TracChangeset
for help on using the changeset viewer.