RTEMS | bsp/aarch64:SMP improvement on aarch64 (!113)
xiaojun zheng (@zhengxiaojun)
gitlab at rtems.org
Thu Sep 19 00:48:46 UTC 2024
xiaojun zheng commented on a discussion on bsps/aarch64/shared/start/start.S: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/113#note_112204
> _el1_start:
>
> #ifdef RTEMS_SMP
> - /* Read MPIDR and get current processor index */
> - mrs x7, mpidr_el1
> - and x7, x7, #0xff
> + ldr x3, =aarch64_cpu_boot_params
I think it can not simplify the implementation. The default implementation is simple. But if the hwid is 0x100 ..., The map should be setup before `_el1_start:`. I think the setup may be complex(if I want ot load the hwid from dts, etc), because the runtime environment has not been established yet.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/113#note_112204
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/20240919/45b69f07/attachment-0001.htm>
More information about the bugs
mailing list