RTEMS | bsps/i386: Standardize APIC register definitions with x86_64 BSP (!1111)

SHIVAM DEOLANKAR (@D3athSkulll) gitlab at rtems.org
Thu Mar 19 17:37:26 UTC 2026




SHIVAM DEOLANKAR commented on a discussion on bsps/i386/pc386/start/bspsmp.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1111#note_146277

 >  
 >  uint32_t _CPU_SMP_Get_current_processor( void )
 >  {
 > -  return imps_apic_cpu_map[APIC_ID(IMPS_LAPIC_READ(LAPIC_ID))];
 > +  return imps_apic_cpu_map[
 > +    amd64_lapic_base[LAPIC_REGISTER_ID] >> 24

what is the best course of action here then?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1111#note_146277
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/20260319/749148c3/attachment.htm>


More information about the bugs mailing list