nuttx/arch/risc-v/src
Yanfeng Liu ea8682572c build/cmake: add initial KERNEL mode support
Currently only FLAT mode development can enjoy cmake build system. This
patch tries to add initial kernel mode support. It can build NuttX kernel
and libproxies.a, the latter will be further checked though.

This can already help to build an AMP remote node image as it can share
userland apps living in the AMP master node.

Major changes:

- in top folder:
  - CMakeLists.txt    adjust for KERNEL mode, separate from PROTECTED mode.
- in `syscall`:
  - CMakeLists.txt    add mksyscall target for stubs/proxies generation
- in `syscall/stubs`:
  - CMakeLists.txt    use dependency to mksyscall
- in `syscall/proxies`:
  - CMakeLists.txt    use dependency to mksyscall
- in `arch`:
  - CMakeLists.txt    separate KERNEL from PROTECTED mode.
- in `arch/risc-v/src`:
  - CMakeLists.txt    separate from PROTECTED mode, add sub folders.
- in `arch/risc-v/common`:
  - CMakeLists.txt    add sources and sub-folders for KERNEL mode.
- in `arch/risc-v/k230`:
  - CMakeLists.txt    add sources for KERNEL mode.
- in `boards/risc-v/k230/canmv230/src`:
  - CMakeLists.txt    adjust k230 specific scripts for kernel mode.

New additions:

- in `arch/risc-v/src/nuttsbi/`           add CMakeLists.txt
- in `arch/risc-v/src/common/supervisor/` add CMakeLists.txt

Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
2024-03-15 16:21:23 +08:00
..
bl602 nuttx/list: rename container_of to list_container_of from public header 2024-02-29 19:44:54 +08:00
bl808 risc-v/common: add param to mmu_flush_cache interface 2024-02-03 22:05:42 -08:00
c906 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
cmake Use C++ standard lib from toolchain 2024-03-06 08:42:44 +08:00
common build/cmake: add initial KERNEL mode support 2024-03-15 16:21:23 +08:00
esp32c3 risc-v/espressif: Add SPI Flash support 2024-02-21 07:19:51 -08:00
esp32c3-legacy Replace PRIxPTR with %p and remove the cast of (uintptr_t) 2024-03-07 09:59:42 -03:00
esp32c6 esp32c6/scripts: Add simpleboot support for esp32c6 2024-03-09 11:53:47 +08:00
esp32h2 esp32h2/scripts: Add simpleboot support for esp32h2 2024-03-09 11:53:47 +08:00
fe310 drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
hpm6000 Add support for hpm6360evk 2024-02-18 09:17:56 -08:00
hpm6750 Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
jh7110 arch/risc-v: Add support for StarFive JH7110 SoC 2023-08-03 22:55:55 -07:00
k210 arch: k210: Fix k210 timer on QEMU 6.1 or later 2023-04-06 00:54:08 -07:00
k230 build/cmake: add initial KERNEL mode support 2024-03-15 16:21:23 +08:00
litex arch/risc-v/litex/litex-emac: Add support for phy interrupts. 2023-10-26 09:02:23 +08:00
mpfs Replace PRIxPTR with %p and remove the cast of (uintptr_t) 2024-03-07 09:59:42 -03:00
nuttsbi build/cmake: add initial KERNEL mode support 2024-03-15 16:21:23 +08:00
opensbi risc-v/mpfs/opensbi: update opensbi to version 1.3.1 2023-11-21 04:04:47 -08:00
qemu-rv risc-v/rv-virt: revise mstatus operations 2024-01-06 04:04:33 -08:00
rv32m1 nuttx/list: rename container_of to list_container_of from public header 2024-02-29 19:44:54 +08:00
.gitignore
CMakeLists.txt build/cmake: add initial KERNEL mode support 2024-03-15 16:21:23 +08:00
Makefile use apps-or-nuttx-Make.defs for archs 2024-03-01 12:59:16 -03:00