RTEMS | bsps/i386: Refactor LAPIC code into shared apic.c module (!1121)

Gedare Bloom (@gedare) gitlab at rtems.org
Fri Jun 26 19:23:41 UTC 2026




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

 > +{
 > +  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);

No, I do not know. This can be turned into an issue to investigate it further.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1121#note_153361
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-2lza8zuhlpj3n450u3pjylj2o-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260626/218cda15/attachment.htm>


More information about the bugs mailing list