spec/riscv: add MMU options and enable in build

Fixes #5540
This commit is contained in:
Gedare Bloom
2026-05-01 15:55:50 +00:00
parent 8c4bddaae7
commit 7fa05a688b
4 changed files with 38 additions and 0 deletions
+2
View File
@@ -32,6 +32,8 @@ links:
uid: abi
- role: build-dependency
uid: obj
- role: build-dependency
uid: objmmu
- role: build-dependency
uid: objsmp
- role: build-dependency
+17
View File
@@ -0,0 +1,17 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: objects
cflags: []
copyrights:
- Copyright (C) 2026 Gedare Bloom
cppflags: []
cxxflags: []
enabled-by: true
includes: []
install:
- destination: ${BSP_INCLUDEDIR}
source:
- include/bsp/riscv-mmu.h
links: []
source:
- bsps/riscv/shared/mmu/mmu-setup.c
type: build
+2
View File
@@ -57,6 +57,8 @@ links:
uid: optposix
- role: build-dependency
uid: optprofiling
- role: build-dependency
uid: optriscvmmuvirtualaddressbits
- role: build-dependency
uid: optriscvusesmode
- role: build-dependency
@@ -0,0 +1,17 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- define: null
build-type: option
copyrights:
- Copyright (C) 2026 Gedare Bloom
default:
- enabled-by: true
value: 0
description: |
TODO
enabled-by: riscv
format: '{}'
links: []
name: RISCV_MMU_VIRTUAL_ADDRESS_BITS
type: build