rt-thread-official/libcpu
Shell c78a19ed26 feat: libcpu/risc-v: unify low-level bringups
This patch consolidates the separated architecture-specific code for
rv64 (virt64 and c906) under a more unified approach. The changes
aim to enhance maintainability and code reuse, reducing duplication
between these two architectures while adding small improvements in
porting compatibility.

Changes:
- Modified build scripts (SConscript) for both virt64 and c906 to
  remove ASID and vector dependencies when not required.
- Updated c906's sbi.c and sbi.h to use standard integer types
  (uint32_t) and include the missing <stdint.h> header.
- Unified inline function declaration for `sbi_call` across both
  c906 and virt64 using `rt_inline`.
- Disabled FPU and vector in c906's startup assembly file, aligning it
  with the virt64 handling.
- Corrected syscall handler type definitions in c906 for consistency.

Signed-off-by: Shell <smokewood@qq.com>
2024-09-11 18:06:51 -04:00
..
aarch64 [DM] Extended drivers MISC interface 2024-09-06 17:45:03 -04:00
arc [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
arm add readme files 2024-08-29 11:58:52 +08:00
avr32 [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
blackfin [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
c-sky [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
ia32 [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
m16c [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
mips [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
nios [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
ppc [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
risc-v feat: libcpu/risc-v: unify low-level bringups 2024-09-11 18:06:51 -04:00
rx [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
sim [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
sparc-v8 [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
ti-dsp [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
unicore32 [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
v850 [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
xilinx [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
Kconfig feat: libcpu/risc-v: unify context on c906, virt64 2024-09-11 18:06:51 -04:00
SConscript [libcpu] Fix the build directory issue 2019-03-26 13:36:01 +00:00