Ignore:
Timestamp:
Apr 28, 2019, 12:29:21 PM (7 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
3b2481f
Parents:
65870044
git-author:
Sebastian Huber <sebastian.huber@…> (04/28/19 12:29:21)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/20/19 06:49:39)
Message:

score: Add _SMP_Othercast_action()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/arm/shared/clock/clock-a9mpcore.c

    r65870044 r7fdf48a  
    103103static void a9mpcore_clock_secondary_action(void *arg)
    104104{
    105   if (!_Per_CPU_Is_boot_processor(_Per_CPU_Get())) {
    106     volatile a9mpcore_gt *gt = A9MPCORE_GT;
    107     a9mpcore_clock_init_data *init_data = arg;
     105  volatile a9mpcore_gt *gt = A9MPCORE_GT;
     106  a9mpcore_clock_init_data *init_data = arg;
    108107
    109     a9mpcore_clock_gt_init(gt, init_data->cmpval, init_data->interval);
    110     bsp_interrupt_vector_enable(A9MPCORE_IRQ_GT);
    111   }
     108  a9mpcore_clock_gt_init(gt, init_data->cmpval, init_data->interval);
     109  bsp_interrupt_vector_enable(A9MPCORE_IRQ_GT);
    112110}
    113111#endif
     
    125123  };
    126124
    127   _SMP_Broadcast_action(a9mpcore_clock_secondary_action, &init_data);
     125  _SMP_Othercast_action(a9mpcore_clock_secondary_action, &init_data);
    128126
    129127  if (cmpval - a9mpcore_clock_get_counter(gt) >= interval) {
Note: See TracChangeset for help on using the changeset viewer.