Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 1.45 KB

sbi.adoc

File metadata and controls

28 lines (24 loc) · 1.45 KB

SBI Requirements

The RISC-V Supervisor Binary Interface Specification (SBI) cite:[SBI] defines an interface between the supervisor mode and the next higher privilege mode. This section defines the mandatory SBI version and extensions implemented by the higher privilege mode in order to be compatible with this specification.

ID# Rule

SBI_010

The SBI implementation MUST conform to SBI v2.0 or later.

SBI_020

The SBI implementation MUST implement the Hart State Management (HSM) extension.

HSM is used by an OS for starting up, stopping, suspending and querying the status of secondary harts.

Certain requirements are conditional on the presence of RISC-V ISA extensions or system features.

ID# Rule

SBI_030

The Timer Extension (TIME) MUST be implemented, if the RISC-V "stimecmp / vstimecmp" Extension (Sstc, cite:[Sstc]) is not available.

SBI_040

The S-Mode IPI Extension (sPI) MUST be implemented, if the Incoming MSI Controller (IMSIC, cite:[Aia]) is not available.

SBI_050

The RFENCE Extension (RFNC) extension MUST be implemented, if the Incoming MSI Controller (IMSIC, cite:[Aia]) is not available.

SBI_060

The Performance Monitoring Extension (PMU) MUST be implemented, if the counter delegation-related S-Mode ISA extensions (Sscsrind cite:[Sscsrind] and Ssccfg cite:[Smcdeleg]) are not present.