walnux/libs/libc/machine/risc-v
Huang Qi bac2df6bc8 risc-v: replace fence.i with __ISB for instruction sync
Summary:
- Replace direct use of `fence.i` instruction with `__ISB()` macro for instruction synchronization
- This change improves portability while maintaining the same functionality

Impact:
- No functional changes - both `fence.i` and `__ISB()` ensure instruction
synchronization on RISC-V
- Makes the code more maintainable by using the architecture abstraction
layer

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2025-01-17 09:04:45 +08:00
..
common libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
gnu libc/machine:Add prefixes to libc functions implemented by arch 2024-10-31 18:11:16 +08:00
rv32 libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
rv64 libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
arch_elf.c risc-v: replace fence.i with __ISB for instruction sync 2025-01-17 09:04:45 +08:00
CMakeLists.txt cmake:init RISC-V cmake qemu-rv build 2023-10-26 21:01:46 +08:00
Kconfig arm64/gnu:Set arch_* optimizations to be on by default. 2023-08-19 18:43:08 +08:00
Make.defs libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00