RTEMS | bsps/i386: Refactor LAPIC code into shared apic.c module (!1121)

Gedare Bloom (@gedare) gitlab at rtems.org
Mon Jun 15 22:30:46 UTC 2026




Gedare Bloom started a new discussion on bsps/i386/pc386/start/smp-imps.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1121#note_152416

 >    unsigned bootaddr;
 >    unsigned bios_reset_vector = PHYS_TO_VIRTUAL(BIOS_RESET_VECTOR);
 >  
 > -  cpuid = imps_apic_cpu_map[apicid];
 > +  cpuid = i386_lapic_to_cpu_map[apicid];

same, could we replace these global variables with function calls to get/set these map values?

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


More information about the bugs mailing list