mirror of
https://github.com/apache/nuttx.git
synced 2026-08-05 06:10:27 +00:00
Summary: This commit removes the riscv_mhartid function and replaces all its usages with up_cpu_index. The functionality is consolidated into up_cpu_index which provides a more consistent API for getting the current CPU/hart ID across different execution modes (machine/supervisor). Impact: - Removes riscv_mhartid.S and its references from build systems - Updates all arch-specific code to use up_cpu_index instead - Adds more detailed documentation for up_cpu_index behavior - Changes the implementation of up_cpu_index to use percpu scratch register in supervisor mode Signed-off-by: Huang Qi <huangqi3@xiaomi.com> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| avr | ||
| ceva | ||
| dummy | ||
| hc | ||
| mips | ||
| misoc | ||
| or1k | ||
| renesas | ||
| risc-v | ||
| sim | ||
| sparc | ||
| tricore | ||
| x86 | ||
| x86_64 | ||
| xtensa | ||
| z16 | ||
| z80 | ||
| CMakeLists.txt | ||
| Kconfig | ||