Home
last modified time | relevance | path

Searched hist:a30b4486180bc87bf268e1b97e508dae996d5f55 (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/arch/riscv/
H A Driscv.mka30b4486180bc87bf268e1b97e508dae996d5f55 Tue Jan 23 02:07:02 UTC 2024 Alvin Chang <alvinga@andestech.com> core: riscv: Add CFG_RISCV_WITH_M_MODE_SM and dependency checking

OP-TEE may communicate with the untrusted domain by different solutions,
such as M-mode secure monitor based solution, or direct messaging based
solution. This commit adds CFG_RISCV_WITH_M_MODE_SM to indicate that
OP-TEE uses M-mode secure monitor based solution for the communication.

The CFG_RISCV_WITH_M_MODE_SM should depend on CFG_RISCV_S_MODE and
CFG_RISCV_SBI, since we are using "ecall" to trap into M-mode secure
monitor.

Signed-off-by: Alvin Chang <alvinga@andestech.com>
Reviewed-by: Marouene Boubakri <marouene.boubakri@nxp.com>