nuttx/arch
Inochi Amaoto caeb1757f6 arch/risc-v: Improve the SBI function handle
To simplify processing, the existed SBI function code is just
invoking the ecall and return the error value. This omits
potential return value in "a1", which is defined in SBI doc.
Add the "sbiret" struct so it can handle all the return value.

In addition, there are some minor improvement:
1. move the SBI related interface to a separate file to make it clean.
2. add all necessary SBI ecall interface macro until version 2.0.
3. add an utilty function to convert sbi error numner to standard
error number.

Signed-off-by: Inochi Amaoto <inochiama@outlook.com>
2024-06-19 20:55:10 +08:00
..
arm arch/xmc4 uart driver fix 2024-06-18 00:17:07 +08:00
arm64 arch/arm64: make sure regs_context is aligned to 16 2024-06-19 02:04:12 +08:00
avr Add basic support for locales in order to C++ streams to build and work for simple cases (POSIX / C locale). 2024-04-29 17:34:10 +08:00
ceva Add basic support for locales in order to C++ streams to build and work for simple cases (POSIX / C locale). 2024-04-29 17:34:10 +08:00
dummy
hc
mips up_putc: int up_putc, enter_critical_section may be called 2024-05-09 13:45:02 +08:00
misoc fix nxstyle 2024-05-13 22:24:36 +02:00
or1k up_putc: int up_putc, enter_critical_section may be called 2024-05-09 13:45:02 +08:00
renesas
risc-v arch/risc-v: Improve the SBI function handle 2024-06-19 20:55:10 +08:00
sim sim/net: Support to set the MTU of the sim netdevice. 2024-06-02 09:31:37 -03:00
sparc up_putc: int up_putc, enter_critical_section may be called 2024-05-09 13:45:02 +08:00
tricore arch/tricore: update the function prototype as mainline 2024-06-12 23:36:11 +08:00
x86
x86_64 cmake:bugfix CMake compilation options settings should not use strings 2024-05-30 10:02:10 -03:00
xtensa ESP32S3 bootloader.mk file has a typo error. In the file CONFIG_ESP32S2_MCUBOOT_VERSION config variable is declared, while the correct config variable for esp32s3 bootloader.mk file is CONFIG_ESP32S3_MCUBOOT_VERSION which is defined in the .config file when the config is generated for ESP32S3-devkit board. 2024-06-16 23:36:54 +08:00
z16 up_putc: int up_putc, enter_critical_section may be called 2024-05-09 13:45:02 +08:00
z80 up_putc: int up_putc, enter_critical_section may be called 2024-05-09 13:45:02 +08:00
CMakeLists.txt
Kconfig Kconfig: move LTO options to Build Setup menu 2024-06-02 09:26:35 -03:00