diff options
| author | Bernard Xiong <[email protected]> | 2026-11-05 11:15:49 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-11-05 11:15:49 +0800 |
| commit | 2b69e18fc37126c8dd85b439858ae1fa25cd37ad (patch) | |
| tree | 807c4ff91c92d16a5b4c84bcfd3b34551c4bad25 /libcpu/Kconfig | |
| parent | b47754d44bb21955d272bd2ee09e68130050849f (diff) | |
[libcpu][riscv] 修复 Smart MMU 与用户异常处理 (#11892)
修正 RISC-V Smart 的地址映射、用户异常处理及玄铁平台配置。
Diffstat (limited to 'libcpu/Kconfig')
| -rw-r--r-- | libcpu/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libcpu/Kconfig b/libcpu/Kconfig index 7f3dfca11f..3b1edab250 100644 --- a/libcpu/Kconfig +++ b/libcpu/Kconfig @@ -288,6 +288,10 @@ config ARCH_RISCV64 select ARCH_CPU_64BIT bool +config ARCH_RISCV_XUANTIE + select ARCH_RISCV + bool + if ARCH_RISCV orsource "./risc-v/Kconfig" endif @@ -304,6 +308,14 @@ if ARCH_RISCV64 select ARCH_USING_NEW_CTX_SWITCH help Using the common64 implementation under ./libcpu/risc-v + +if RT_USING_SMART + config CONFIG_XUANTIE_SVPBMT + int + depends on ARCH_RISCV_XUANTIE + default 1 +endif + endif config ARCH_REMAP_KERNEL |
