Changeset 380 for trunk/kernel/kern/core.c
- Timestamp:
- Aug 14, 2017, 6:31:25 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/core.c
r367 r380 71 71 uint32_t * tm_us ) 72 72 { 73 *tm_s = (core->ticks_nr*CONFIG_SCHED_TICK_ PERIOD)/1000;74 *tm_us = (core->ticks_nr*CONFIG_SCHED_TICK_ PERIOD*1000)%1000000;73 *tm_s = (core->ticks_nr*CONFIG_SCHED_TICK_MS_PERIOD)/1000; 74 *tm_us = (core->ticks_nr*CONFIG_SCHED_TICK_MS_PERIOD*1000)%1000000; 75 75 } 76 76 … … 158 158 } 159 159 160 161 /* deprecated [AG] july 20017162 ///////////////////////////////////////////////////163 void core_set_irq_vector_entry( core_t * core,164 uint32_t irq_type,165 uint32_t irq_id,166 chdev_t * chdev )167 {168 if ( irq_type == WTI_TYPE ) core->wti_vector[irq_id] = chdev;169 else if( irq_type == HWI_TYPE ) core->hwi_vector[irq_id] = chdev;170 else core->pti_vector[irq_id] = chdev;171 }172 */
Note: See TracChangeset
for help on using the changeset viewer.