[PATCH 1/1] Handling of unsupported EIDs and FIDs

Heinrich Schuchardt

Up to now the SBI specification does not define how unsupported EIDs and
FIDs shall be handled. Require returning error code SBI_ERR_NOT_SUPPORTED.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@...>
riscv-sbi.adoc | 3 +++
1 file changed, 3 insertions(+)

diff --git a/riscv-sbi.adoc b/riscv-sbi.adoc
index d7401fa..262248f 100644
=2D-- a/riscv-sbi.adoc
+++ b/riscv-sbi.adoc
@@ -112,6 +112,9 @@ Standard SBI error codes are listed below

+An `ECALL` with an unsupported SBI extension ID (*EID*) or an unsupported=
+function ID (*FID*) must return the error code `SBI_ERR_NOT_SUPPORTED`.
Every SBI function should prefer `unsigned long` as the data type. It kee=
the specification simple and easily adaptable for all RISC-V ISA types (i=
RV32, RV64 and RV128). In case the data is defined as 32bit wide, higher