no1wudi opened a new pull request, #15537: URL: https://github.com/apache/nuttx/pull/15537
## Summary - Separated CPU index functionality from CPU ID mapping configuration - Moved CPU ID mapping functions to new riscv_cpuidmap.c file - Made up_cpu_index() implementation dependent on ARCH_USE_S_MODE - Updated build system to handle new file organization ## Impact - Improves code organization by separating concerns between basic CPU index functionality and advanced CPU ID mapping features - Makes CPU index functionality available independently of CPU ID mapping - Reduces conditional compilation complexity in header files - Better aligns with RISC-V architecture modes (M-mode vs S-mode) ## Testing GitHub CI and local testing -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org