Gedare Bloom started a new discussion on bsps/i386/shared/irq/apic.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1121#note_152420 > + > +static void wait_ipi(void) > +{ > + int to, send_status; > + to = 0; > + do { > + UDELAY(100); > + send_status = i386_lapic_base[LAPIC_REGISTER_ICR_LOW] & > LAPIC_ICR_STATUS_PEND; > + } while (send_status && (to++ < 1000)); > +} > + > +void > +lapic_clear_errors(void) > +{ > + i386_lapic_base[LAPIC_REGISTER_ESR] = 0; > + (void) i386_lapic_base[LAPIC_REGISTER_ESR]; what is this `(void)` line for? -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1121#note_152420 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
