Gedare Bloom started a new discussion on bsps/i386/shared/irq/apic.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1121#note_152422

 > +{
 > +  uint8_t target_lapic_id = i386_cpu_to_lapic_map[target_cpu_index];
 > +  send_ipi(target_lapic_id, isr_vector); 
 > +  wait_ipi();
 > +}
 > +
 > +void lapic_reset_and_start_ap(uint32_t cpu_index, uint8_t page_vector)
 > +{
 > +  uint8_t apicid = i386_cpu_to_lapic_map[cpu_index];
 > +
 > +  /* assert INIT IPI */
 > +  send_ipi(
 > +    apicid,
 > +    LAPIC_ICR_TM_LEVEL | LAPIC_ICR_LEVELASSERT | LAPIC_ICR_DM_INIT
 > +  );
 > +  UDELAY(10000);

Is there no way to check the status of the send? These magic delay values are 
not ideal IMO.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1121#note_152422
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

Reply via email to