nuttx/arch
Inochi Amaoto 49b3f52db1 arch/riscv/qemu-rv: replace M-mode init code with SBI in kernel build
The qemu-rv use a small init code for M mode in kernel build.
It is hard-coding and is difficult to change. Due to the fact,
introduce a already mature SBI implement (e.g OpenSBI) to
replace existing code is a better choice.

This patch introduce some change for qemu-rv:
1. use SSTC to provide time interrupt in kernel build
2. remove uncessary M mode trap.

For simplicity, this patch does not add support for booting
nuttx for any core, but force boot core to start core 0 and
let core 0 do the initialization.

Signed-off-by: Inochi Amaoto <inochiama@outlook.com>
2024-04-27 22:09:22 -03:00
..
arm arch/nrf91: enable FPU 2024-04-28 08:49:46 +08:00
arm64 imx9_clockconfig: Add way to set PLL frequencies 2024-04-25 19:24:16 -03:00
avr fix nxstyle 2024-04-15 15:33:17 -03:00
ceva stack: update up_get_intstackbase API to support cpu id 2024-04-09 16:59:00 -03:00
dummy
hc stack: update up_get_intstackbase API to support cpu id 2024-04-09 16:59:00 -03:00
mips stack: update up_get_intstackbase API to support cpu id 2024-04-09 16:59:00 -03:00
misoc comments/docs: fix typos in comments 2024-03-06 13:31:50 +08:00
or1k stack: update up_get_intstackbase API to support cpu id 2024-04-09 16:59:00 -03:00
renesas stack: update up_get_intstackbase API to support cpu id 2024-04-09 16:59:00 -03:00
risc-v arch/riscv/qemu-rv: replace M-mode init code with SBI in kernel build 2024-04-27 22:09:22 -03:00
sim simwifi:change script path from absolute path to soft link 2024-04-17 19:46:42 +08:00
sparc arch: Remove xxx_intstack_top and xxx_intstack_alloc 2024-04-09 16:59:00 -03:00
tricore arch/tricore: add spinlock support 2024-03-21 18:47:14 +08:00
x86 stack: update up_get_intstackbase API to support cpu id 2024-04-09 16:59:00 -03:00
x86_64 x86_64_acpi.c: avoid debug messages in acpi_init() 2024-04-24 12:55:58 -03:00
xtensa esp32s3: use common espressif code instead of chip-specific. 2024-04-25 13:43:15 +08:00
z16 comments/docs: fix typos in comments 2024-03-06 13:31:50 +08:00
z80 comments/docs: fix typos in comments 2024-03-06 13:31:50 +08:00
CMakeLists.txt build/cmake: add initial KERNEL mode support 2024-03-15 16:21:23 +08:00
Kconfig arch/x86_64: enable CUSTOMOPT 2024-04-26 23:32:58 +08:00