RTEMS | bsps/i386: Refactor LAPIC code into shared apic.c module (!1121)
Gedare Bloom (@gedare)
gitlab at rtems.org
Mon Jun 15 22:31:01 UTC 2026
Gedare Bloom started a new discussion on bsps/i386/shared/irq/apic.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1121#note_152421
> +
> + /* Deassert INIT IPI */
> + send_ipi(
> + apicid,
> + LAPIC_ICR_TM_LEVEL | LAPIC_ICR_DM_INIT
> + );
> + UDELAY(10000);
> +
> + /*
> + * Send Startup IPIs.
> + */
> + int i;
> + for (i = 1; i <= 2; i++) {
> + send_ipi(apicid, LAPIC_ICR_DM_SIPI | page_vector);
> + wait_ipi();
> + UDELAY(1000);
why is a UDELAY needed after `wait_ipi`?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1121#note_152421
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260615/c411022d/attachment-0001.htm>
More information about the bugs
mailing list