RTEMS | bsps/raspberrypi5: Add SMP support (!1072)
Kinsey Moore (@opticron)
gitlab at rtems.org
Mon Feb 23 15:20:01 UTC 2026
Kinsey Moore started a new discussion on bsps/aarch64/raspberrypi5/start/bspstartmmu.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1072#note_143291
> +
> +/*
> + * Make weak and let the user override.
> + */
> +BSP_START_TEXT_SECTION void
> +raspberrypi5_setup_secondary_cpu_mmu_and_cache( void ) __attribute__ ((weak));
> +
> +BSP_START_TEXT_SECTION void
> +raspberrypi5_setup_secondary_cpu_mmu_and_cache( void )
> +{
> + aarch64_mmu_control *control = &aarch64_mmu_instance;
> +
> + aarch64_mmu_setup();
> +
> + /* Use the existing root page table already configured by CPU0 */
> + _AArch64_Write_ttbr0_el1( (uintptr_t) bsp_translation_table_base );
This is not necessary since it is already done by `aarch64_mmu_enable( control )`.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1072#note_143291
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/20260223/f9020795/attachment.htm>
More information about the bugs
mailing list