Gedare Bloom commented on a discussion on bsps/riscv/riscv/start/bspsmp.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1108#note_145060 > { > Per_CPU_Control *cpu; > > - cpu = _Per_CPU_Get_by_index(target_processor_index); > #ifdef RISCV_USE_S_MODE > - /* TODO: Add IPI call. */ > + uint32_t hartid; > + unsigned long hart_mask; > (void) cpu; > + > + hartid = _RISCV_Map_cpu_index_to_hartid(target_processor_index); > + hart_mask = 1UL << hartid; > + sbi_send_ipi(&hart_mask); > #else > + cpu = _Per_CPU_Get_by_index(target_processor_index); I changed this, but maybe we want to open an issue to discuss if we want to follow any particular standard way of handling these situations. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1108#note_145060 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
