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

SHIVAM DEOLANKAR (@D3athSkulll) gitlab at rtems.org
Fri Mar 27 00:01:52 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_147216

 >  
 >  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

I have renamed the amd64_lapic to bsp_lapic since I have moved the apic.h to include/bsp as a shared apic

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1111#note_147216
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/20260327/82727b20/attachment.htm>


More information about the bugs mailing list