Changeset c954003 in rtems


Ignore:
Timestamp:
May 31, 2020, 2:22:56 PM (9 months ago)
Author:
Jan Sommer <jan.sommer@…>
Branches:
5, master
Children:
208cd6b
Parents:
5d4a1edc
git-author:
Jan Sommer <jan.sommer@…> (05/31/20 14:22:56)
git-committer:
Chris Johns <chrisj@…> (06/11/20 03:29:18)
Message:

bsps/pc386: Fix Clock_isr for SMP

  • Do not forward Clock_isr through Clock_driver_support_at_tick as this

will cause every processor to send IPIs with Clock_isr therby creating
an infinie loop

  • Instead the processor handling the clock interrupt causes all other

processors to call rtems_timecounter_tick to update their tick count

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/i386/pc386/clock/ckinit.c

    r5d4a1edc rc954003  
    7474    _Processor_mask_Assign(&targets, _SMP_Get_online_processors()); \
    7575    _Processor_mask_Clear(&targets, _SMP_Get_current_processor());  \
    76     _SMP_Multicast_action(&targets, Clock_isr, NULL);               \
     76    _SMP_Multicast_action(&targets, rtems_timecounter_tick, NULL);               \
    7777  } while (0)
    7878#endif
Note: See TracChangeset for help on using the changeset viewer.