Sebastian Huber started a new discussion on cpukit/score/cpu/aarch64/include/rtems/score/cpu.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/229#note_112284 > > - static inline uint32_t _CPU_SMP_Get_current_processor( void ) > - { > - uint32_t mpidr; > - > - __asm__ volatile ( > - "mrs %[mpidr], mpidr_el1\n" > - : [mpidr] "=&r" (mpidr) > - ); > - > - return mpidr & 0xffU; > - } > + /** > + * The function depends on _CPU_Get_current_per_CPU_control(), > + * it can not be used before the TPIDR_EL1 is initialized. > + * @brief Returns the index of the current processor. The `@brief` should be the first line. Then a blank line. `... _CPU_Get_current_per_CPU_control(). It shall not ...`. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/229#note_112284 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
