[PATCH v6 5/8] Minor cosmetic changes in SBI section of OS/A-base platform
We don't need a table for required SBI extensions and UEFI interfaces
implemented by UEFI firmware.
Signed-off-by: Anup Patel <anup.patel@...>
Reviewed-by: Alistair Francis <alistair.francis@...>
Reviewed-by: Atish Patra <atish.patra@...>
riscv-platform-spec.adoc | 49 ++++++++++++++++++----------------------
1 file changed, 22 insertions(+), 27 deletions(-)
diff --git a/riscv-platform-spec.adoc b/riscv-platform-spec.adoc
index 5d50630..b6a0695 100644
@@ -451,35 +451,32 @@ mentioned in the requirements.
==== Runtime Services
-- Required SBI spec version is 0.3 or higher.
-- Required SBI extensions -
-[cols="1,2", width=80%, align="left", options="header"]
-|EXTENSION | CONDITIONS
-|SBI TIME | if **stimecmp** CSR not available
-|SBI IPI |
-|SBI RFENCE |
-|SBI HSM |
-|SBI SRST |
-|SBI PMU |
-- Required responsibilities of M-Mode runtime also includes -
- ** Interrupt and Exception Delegation
- ** Misaligned Load & Stores handling
- ** Missing CSRs emulation
- ** PMP Configuration
-- Wherever applicable firmware must implement UEFI interfaces over similar
-interfaces and services present in the SBI specification. For example, UEFI
-runtime services must implement ResetSystem() via SBI Reset extension.
+* The M-mode runtime must implement SBI specification version 0.3
+ or higher
+* Required SBI extensions include:
+** SBI TIME
+** SBI IPI
+** SBI RFENCE
+** SBI HSM
+** SBI SRST
+** SBI PMU
+* Required features of the M-Mode runtime also includes
+** Delegate interrupts and exceptions to S-mode
+** Handle misaligned load and store
+** Emulate missing CSRs
+** Configure PMP CSRs
-- OS should prioritize calling the UEFI interfaces before the SBI or Platform
+* Wherever applicable UEFI firmware must implement UEFI interfaces over
+ similar interfaces and services present in the SBI specification. For
+ example, the UEFI ResetSystem() service must be implemented via the
+ SBI System Reset Extension.
+* The operating system should prioritize calling the UEFI interfaces before
+ the SBI or platform specific mechanisms.
==== Software and ABIs
The platform specification mandates the following requirements for
@@ -689,8 +686,6 @@ process.
===== Runtime services
The UEFI run time services listed below are required to be implemented.