- Timestamp:
- Jul 4, 2017, 2:50:11 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/do_interrupt.c
r16 r140 1 1 /* 2 * do_interrupt.c - architecture independ ant interrupt handler.3 * 2 * do_interrupt.c - architecture independent interrupt handler. 3 * 4 4 * Author Alain Greiner (2016) 5 5 * … … 27 27 #include <dev_icu.h> 28 28 29 30 29 //////////////////////////////////// 31 30 void do_interrupt( thread_t * this ) 32 31 { 33 // update user time 34 32 // update user time 33 thread_user_time_update( this ); 35 34 36 35 // access ICU device to call the relevant ISR 37 36 dev_icu_irq_handler(); 38 37 39 38 // handle pending signals for interrupted thread 40 39 thread_signals_handle( this ); 41 40 42 43 41 // update kernel time 42 thread_kernel_time_update( this ); 44 43 }
Note: See TracChangeset
for help on using the changeset viewer.