Changeset 565 for trunk/kernel/devices/dev_pic.c
- Timestamp:
- Oct 4, 2018, 11:48:51 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_pic.c
r483 r565 28 28 #include <string.h> 29 29 #include <thread.h> 30 #include <remote_busylock.h> 30 31 #include <hal_drivers.h> 31 32 #include <dev_pic.h> … … 216 217 } 217 218 218 ///////////////////////////// 219 /////////////////////////////////// 219 220 void dev_pic_inputs_display( void ) 220 221 { 221 222 uint32_t k; 222 uint32_t save_sr;223 223 224 224 // get pointers on TXT0 chdev … … 231 231 232 232 // get TXT0 lock in busy waiting mode 233 remote_ spinlock_lock_busy( lock_xp , &save_sr);233 remote_busylock_acquire( lock_xp ); 234 234 235 235 nolock_printk("\n***** iopic_inputs\n"); … … 253 253 254 254 // release TXT0 lock 255 remote_ spinlock_unlock_busy( lock_xp , save_sr);256 } 257 258 255 remote_busylock_release( lock_xp ); 256 } 257 258
Note: See TracChangeset
for help on using the changeset viewer.