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 |
---|---|
|
The SBI implementation MUST conform to SBI v2.0 or later. |
|
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 |
---|---|
|
The Timer Extension (TIME) MUST be implemented, if the RISC-V "stimecmp / vstimecmp" Extension (Sstc, cite: [Sstc]) is not available. |
|
The S-Mode IPI Extension (sPI) MUST be implemented, if the Incoming MSI Controller (IMSIC, cite: [Aia]) is not available. |
|
The RFENCE Extension (RFNC) extension MUST be implemented, if the Incoming MSI Controller (IMSIC, cite: [Aia]) is not available. |
|
The Performance Monitoring Extension (PMU) MUST be implemented, if the counter delegation-related S-Mode ISA extensions (Sscsrind cite: [Sscsrind], Ssccfg cite: [Smcdeleg]) are not present. |
NOTE: The PMU extension is currently being developed by the performance analysis TG cite: [PerfAnalysis]. |