Changeset 438 for trunk/kernel/libk/remote_spinlock.c
- Timestamp:
- Apr 4, 2018, 2:49:02 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/libk/remote_spinlock.c
r436 r438 38 38 hal_remote_sw ( XPTR( cxy , &ptr->taken ) , 0 ); 39 39 40 #if CONFIG_DEBUG_REMOTE_SPINLOCKS40 #if DEBUG_REMOTE_SPINLOCKS 41 41 hal_remote_swd( XPTR( cxy , &ptr->owner ) , XPTR_NULL ); 42 42 xlist_entry_init( XPTR( cxy , &ptr->list ) ); … … 75 75 thread_ptr->remote_locks++; 76 76 77 #if CONFIG_DEBUG_REMOTE_SPINLOCKS77 #if DEBUG_REMOTE_SPINLOCKS 78 78 hal_remote_swd( XPTR( lock_cxy , &lock_ptr->owner ) , 79 79 XPTR( local_cxy , thread_ptr) ); … … 120 120 thread_ptr->remote_locks++; 121 121 122 #if CONFIG_DEBUG_REMOTE_SPINLOCKS122 #if DEBUG_REMOTE_SPINLOCKS 123 123 hal_remote_swd( XPTR( lock_cxy , &lock_ptr->owner ) , 124 124 XPTR( local_cxy , thread_ptr) ); … … 143 143 thread_t * thread_ptr = CURRENT_THREAD; 144 144 145 #if CONFIG_DEBUG_REMOTE_SPINLOCKS145 #if DEBUG_REMOTE_SPINLOCKS 146 146 hal_remote_swd( XPTR( lock_cxy , &lock_ptr->owner ) , XPTR_NULL ); 147 147 xlist_unlink( XPTR( lock_cxy , &lock_ptr->list ) ); … … 196 196 thread_ptr->remote_locks++; 197 197 198 #if CONFIG_DEBUG_REMOTE_SPINLOCKS198 #if DEBUG_REMOTE_SPINLOCKS 199 199 hal_remote_swd( XPTR( lock_cxy , &lock_ptr->owner ), 200 200 XPTR( local_cxy , thread_ptr) ); … … 222 222 thread_t * thread_ptr = CURRENT_THREAD; 223 223 224 #if CONFIG_DEBUG_REMOTE_SPINLOCKS224 #if DEBUG_REMOTE_SPINLOCKS 225 225 hal_remote_swd( XPTR( lock_cxy , &lock_ptr->owner ) , XPTR_NULL ); 226 226 xlist_unlink( XPTR( lock_cxy , &lock_ptr->list ) );
Note: See TracChangeset
for help on using the changeset viewer.