diff options
| author | Shell <[email protected]> | 2024-09-02 18:03:21 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2024-09-11 18:06:51 -0400 |
| commit | c78a19ed264adf9a5f90180148d3d7cf441f95b1 (patch) | |
| tree | c33f4c65318daa3fb5b7b6585e84cb7f3adc13f8 /components/net/netdev/src | |
| parent | e244c196c4f1f5a867891df303476947a7769876 (diff) | |
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 <[email protected]>
Diffstat (limited to 'components/net/netdev/src')
0 files changed, 0 insertions, 0 deletions
