Issue created by SHIVAM DEOLANKAR: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5832



## Summary

The APIC refactoring in attached MR introduced SMP build failures for the 
`i386/pc686` BSP due to outdated LAPIC register accesses and incompatibilities 
with the new i386 APIC interface. This issue aims to adapt the PC686 SMP 
implementation to the refactored APIC API while preserving existing processor 
discovery and startup functionality.

**Related merge request:** **Related merge request:** [!1111 – Standardize APIC 
definitions across x86 
BSPs](https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1111)

## Steps to reproduce

1. Check out the branch containing the changes from MR !1111.
2. Configure RTEMS with `RTEMS_SMP = True` and enable the `i386/pc686` BSP in 
`config.ini`.
3. Configure the build:

   `./waf configure --rtems-bsps=i386/pc686`
4. Build RTEMS:

   `./waf`
5. Observe compilation failures in the PC386 SMP implementation, including 
references to undeclared `bsp_lapic_base`, `imps_apic_cpu_map`, and `UDELAY`, 
as well as incompatible APIC register definitions.

## Expected Behaviour

The `i386/pc686` BSP should build successfully with SMP enabled using the 
refactored i386 APIC interface.

The APIC refactoring should remain compatible with:

* `i386/pc386` with SMP and non-SMP configurations.
* `i386/pc686` with SMP and non-SMP configurations.
* `x86_64/amd64` with SMP and non-SMP configurations.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5832
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/namespace/49/sent_notifications/6-dnn5hbfe7nonggunwqkzkbduf-1d/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to