Ignore:
Timestamp:
Aug 14, 2017, 6:31:25 PM (4 years ago)
Author:
alain
Message:

Remove the generic kernel/kern/do_exception files to handle exceptions in HAL.
The HAL call only the vmm_handle_page_fault() function if required.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/core.c

    r367 r380  
    7171                    uint32_t * tm_us )
    7272{
    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;
    7575}
    7676
     
    158158}
    159159
    160 
    161 /* deprecated [AG] july 20017
    162 ///////////////////////////////////////////////////
    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.