Changeset 679 for trunk/hal/tsar_mips32/drivers/soclib_nic.c
- Timestamp:
- Nov 20, 2020, 12:30:31 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/drivers/soclib_nic.c
r658 r679 268 268 269 269 // check calling thread == client thread 270 assert( (thread_xp == XPTR( local_cxy , this )), "calling thread must be the client thread");270 assert( __FUNCTION__, (thread_xp == XPTR( local_cxy , this )), "calling thread must be the client thread"); 271 271 272 272 // get command type … … 286 286 287 287 // check chdev is local 288 assert( (dev_cxy == local_cxy), "illegal cluster for a WRITE command");288 assert( __FUNCTION__, (dev_cxy == local_cxy), "illegal cluster for a WRITE command"); 289 289 290 290 // get command arguments … … 293 293 294 294 // check packet length 295 assert( (length <= 2040), "packet length too large");295 assert( __FUNCTION__, (length <= 2040), "packet length too large"); 296 296 297 297 // get chbuf descriptor pointer … … 377 377 378 378 // check chdev is local 379 assert( (dev_cxy == local_cxy), "illegal cluster for a READ command");379 assert( __FUNCTION__, (dev_cxy == local_cxy), "illegal cluster for a READ command"); 380 380 381 381 // get target buffer … … 604 604 default: 605 605 { 606 assert( false, "Unknown command <%x>\n", type );606 assert( __FUNCTION__, false, "Unknown command <%x>\n", type ); 607 607 } 608 608 }
Note: See TracChangeset
for help on using the changeset viewer.