Changeset 440 for trunk/hal/tsar_mips32/drivers/soclib_hba.c
- Timestamp:
- May 3, 2018, 5:51:22 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/drivers/soclib_hba.c
r437 r440 104 104 // get client thread cluster and local pointer 105 105 cxy_t th_cxy = GET_CXY( th_xp ); 106 thread_t * th_ptr = (thread_t *)GET_PTR( th_xp );106 thread_t * th_ptr = GET_PTR( th_xp ); 107 107 108 108 // get command arguments and extended pointer on IOC device … … 115 115 // get IOC device cluster and local pointer 116 116 cxy_t dev_cxy = GET_CXY( dev_xp ); 117 chdev_t * dev_ptr = (chdev_t *)GET_PTR( dev_xp ); 118 119 // get extended pointer on SOCLIB-HBA peripheral 120 xptr_t hba_xp = hal_remote_lw( XPTR( dev_cxy , &dev_ptr->base ) ); 121 122 // get SOCLIB_HBA device cluster and local pointer 117 chdev_t * dev_ptr = GET_PTR( dev_xp ); 118 119 // get cluster and pointers for SOCLIB-HBA peripheral segment base 120 xptr_t hba_xp = (xptr_t)hal_remote_lwd( XPTR( dev_cxy , &dev_ptr->base ) ); 123 121 cxy_t hba_cxy = GET_CXY( hba_xp ); 124 uint32_t * hba_ptr = (uint32_t *)GET_PTR( hba_xp );122 uint32_t * hba_ptr = GET_PTR( hba_xp ); 125 123 126 124 // try to register the I/O operation in a free slot
Note: See TracChangeset
for help on using the changeset viewer.