Changeset 570 for trunk/hal/tsar_mips32/core/hal_exception.c
- Timestamp:
- Oct 5, 2018, 12:08:35 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/core/hal_exception.c
r527 r570 35 35 #include <syscalls.h> 36 36 #include <shared_syscalls.h> 37 #include <remote_ spinlock.h>37 #include <remote_busylock.h> 38 38 #include <hal_kentry.h> 39 40 39 #include <hal_exception.h> 41 40 … … 340 339 error_t error ) 341 340 { 342 uint32_t save_sr;343 341 core_t * core = this->core; 344 342 process_t * process = this->process; … … 353 351 354 352 // get TXT0 lock in busy waiting mode 355 remote_ spinlock_lock_busy( lock_xp , &save_sr);353 remote_busylock_acquire( lock_xp ); 356 354 357 355 if( error == EXCP_USER_ERROR ) … … 366 364 } 367 365 368 nolock_printk(" local locks = %d / remote locks = %d / blocked_vector= %X\n\n",369 this-> local_locks, this->remote_locks, this->blocked);366 nolock_printk("busylocks = %d / blocked_vector = %X / flags = %X\n\n", 367 this->busylocks, this->blocked, this->flags ); 370 368 371 369 nolock_printk("c0_cr %X c0_epc %X c0_sr %X c0_th %X\n", … … 394 392 395 393 // release the lock 396 remote_ spinlock_unlock_busy( lock_xp , save_sr);394 remote_busylock_release( lock_xp ); 397 395 398 396 } // end hal_exception_dump()
Note: See TracChangeset
for help on using the changeset viewer.