Changeset 279 for trunk/hal/tsar_mips32/drivers/soclib_nic.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_nic.c
r259 r279 107 107 108 108 // get command arguments 109 cmd = thread_ptr-> command.nic.cmd;110 buffer = thread_ptr-> command.nic.buffer;111 length = thread_ptr-> command.nic.length;112 dev_xp = thread_ptr-> command.nic.dev_xp;109 cmd = thread_ptr->nic_cmd.cmd; 110 buffer = thread_ptr->nic_cmd.buffer; 111 length = thread_ptr->nic_cmd.length; 112 dev_xp = thread_ptr->nic_cmd.dev_xp; 113 113 114 114 // get local pointer for device … … 212 212 { 213 213 // return chbuf writable 214 thread_ptr-> command.nic.status = true;214 thread_ptr->nic_cmd.status = true; 215 215 } 216 216 else // current container not writable … … 230 230 231 231 // return chbuf writable 232 thread_ptr-> command.nic.status = true;232 thread_ptr->nic_cmd.status = true; 233 233 } 234 234 else // next container full 235 235 { 236 236 // return chbuf non writable 237 thread_ptr-> command.nic.status = false;237 thread_ptr->nic_cmd.status = false; 238 238 } 239 239 } … … 256 256 { 257 257 // return chbuf readable 258 thread_ptr-> command.nic.status = true;258 thread_ptr->nic_cmd.status = true; 259 259 } 260 260 else // current container non readable … … 274 274 275 275 // return chbuf readable 276 thread_ptr-> command.nic.status = true;276 thread_ptr->nic_cmd.status = true; 277 277 } 278 278 else // next container empty 279 279 { 280 280 // return chbuf non readable 281 thread_ptr-> command.nic.status = false;281 thread_ptr->nic_cmd.status = false; 282 282 } 283 283 }
Note: See TracChangeset
for help on using the changeset viewer.