Changeset 279 for trunk/hal/tsar_mips32/drivers/soclib_hba.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_hba.c
r211 r279 107 107 108 108 // get command arguments and extended pointer on IOC device 109 cmd_type = hal_remote_lw ( XPTR( th_cxy , &th_ptr-> command.ioc.type ) );110 lba = hal_remote_lw ( XPTR( th_cxy , &th_ptr-> command.ioc.lba ) );111 count = hal_remote_lw ( XPTR( th_cxy , &th_ptr-> command.ioc.count ) );112 buf_xp = (xptr_t)hal_remote_lwd( XPTR( th_cxy , &th_ptr-> command.ioc.buf_xp ) );113 dev_xp = (xptr_t)hal_remote_lwd( XPTR( th_cxy , &th_ptr-> command.ioc.dev_xp ) );109 cmd_type = hal_remote_lw ( XPTR( th_cxy , &th_ptr->ioc_cmd.type ) ); 110 lba = hal_remote_lw ( XPTR( th_cxy , &th_ptr->ioc_cmd.lba ) ); 111 count = hal_remote_lw ( XPTR( th_cxy , &th_ptr->ioc_cmd.count ) ); 112 buf_xp = (xptr_t)hal_remote_lwd( XPTR( th_cxy , &th_ptr->ioc_cmd.buf_xp ) ); 113 dev_xp = (xptr_t)hal_remote_lwd( XPTR( th_cxy , &th_ptr->ioc_cmd.dev_xp ) ); 114 114 115 115 // get IOC device cluster and local pointer … … 225 225 if( error && (fault_id == cmd_id) ) 226 226 { 227 hal_remote_sw( XPTR( th_cxy , &th_ptr-> command.ioc.error ) , 1 );227 hal_remote_sw( XPTR( th_cxy , &th_ptr->ioc_cmd.error ) , 1 ); 228 228 } 229 229 else 230 230 { 231 hal_remote_sw( XPTR( th_cxy , &th_ptr-> command.ioc.error ) , 0 );231 hal_remote_sw( XPTR( th_cxy , &th_ptr->ioc_cmd.error ) , 0 ); 232 232 } 233 233 … … 281 281 if( error && (iter == fault_id ) ) 282 282 { 283 hal_remote_sw( XPTR( client_cxy , &client_ptr-> command.ioc.error ) , 1 );283 hal_remote_sw( XPTR( client_cxy , &client_ptr->ioc_cmd.error ) , 1 ); 284 284 } 285 285 else 286 286 { 287 hal_remote_sw( XPTR( client_cxy , &client_ptr-> command.ioc.error ) , 0 );287 hal_remote_sw( XPTR( client_cxy , &client_ptr->ioc_cmd.error ) , 0 ); 288 288 } 289 289
Note: See TracChangeset
for help on using the changeset viewer.