RTEMS | aarch64: Add _AArch64_Get_current_processor_for_system_start() (!233)

Sebastian Huber (@sebhub) gitlab at rtems.org
Fri Sep 20 05:27:08 UTC 2024




Sebastian Huber commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/233#note_112362


No, I mean your new code block in start.S. This could be simply:
```
FUNCTION_ENTRY(_AArch64_Get_current_processor_for_system_start)

  ldr x0, =aarch64_cpu_boot_params
  ldr x0, [x0, #BOOT_PARAM_CPUN_OFFSET]
  ret

FUNCTION_END(_AArch64_Get_current_processor_for_system_start)
```

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/233#note_112362
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/20240920/95f952b9/attachment.htm>


More information about the bugs mailing list