Gedare Bloom started a new discussion on bsps/i386/include/bsp/apic.h: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1121#note_152412

 > +/**
 > + * @brief Resets the Application Processor that corresponds to cpu_index.
 > + * 
 > + * For older APIC versions, the AP does not need SIPIs to start, so only an 
 > INIT IPI is sent to reset the AP.
 > + *
 > + * @param cpu_index The processor to be reset.
 > + */
 > +void lapic_reset_ap(uint32_t cpu_index);
 > +
 > +#endif
 > +
 > +/**
 > + * @brief Retrieves the Local APIC ID of the current processor.
 > + * @return The Local APIC ID of the current processor.
 > + */
 > +static inline uint8_t lapic_get_id(void)

I would make these proper function calls, and get rid of the global variable.

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