Releases: rustsbi/sbi-spec
SBI-Spec version 0.0.7-alpha.1
sbi-spec
crate now supports RISC-V SBI version 2.0-rc7 (we will release 0.0.7 when RISC-V SBI 2.0.0 got ratified).
Added
- Support to PMU events in Chapter 11
- Support
NACL
extension in Chapter 15 - Support
STA
extension in Chapter 16 - Add new SBI error
NoShmem
- binary: add
SharedPtr
struct to represent shared memory range feature.
Modified
- Rearrange
HSM
constants into modules.
Fixed
- Remove redundant prefixes in
PMU
- Add new function id
SNAPSHOT_SET_SHMEM
inPMU
SBI-Spec version 0.0.6
This release adapts second part of RISC-V SBI v2.0-rc1 extension support; it adds SBI System Suspend and SBI CPPC extension. Additionally, it includes shared physical address range structure by Physical
, as is defined in chapter 3, RISC-V SBI specification.
Added
Physical
shared memory physical address range with type annotation in Chapter 3- Support to RISC-V SBI System Suspend extension
- Support to CPPC extension
SBI-Spec version 0.0.5
This release adapts RISC-V SBI 2.0-rc1 to SBI-Spec. Now users may use SBI 2.0-rc1 features by using this crate, including Debug Console extension, pmu_counter_fw_read_hi
and minor document fixes on HSM extension.
Added
- Adapt to RISC-V SBI specification version 2.0-rc1
PMU_COUNTER_FW_READ_HI
function inpmu
module for RV32 systems- SBI DBCN extension support
Result
-like documents toSbiRet
Modified
- style: add period to docs
SBI-Spec version 0.0.4
This release includes:
Added
- Various convenient functions to
SbiRet
structure - Add documents on whole
sbi-rt
crate to comply withdeny(missing_docs)
- Feature
legacy
to gate legacy SBI extension
Modified
- Rename
SbiRet::ok
toSbiRet::success
- Rename
SbiSpecVersion
to structVersion
SBI-Spec version 0.0.3
Welcome to SBI-Spec crate! This crate is a list of constants and structures which is useful to develop RISC-V supervisor environments as well as kernels in it. In another word, it's designed to be use in:
- Kernels written in Rust
- Bare-metal environments, like RustSBI implementations
- Hypervisors
- Software emulators for RISC-V
... and all other softwares you may imagine!
In this version, we:
Added
- deps: static_assertions
check implementations during compilation, and provide an item list for developers - denied: warnings and unsafe code
- a github workflow to check building
SbiSpecVersion
type defination for sbi base
Modified
- rename
GET_SPEC_VERSION
toGET_SBI_SPEC_VERSION
- rename
impl_id::IMPL_XXX
toimpl_id::XXX
Removed
- default target to RISC-V
sbi-spec version 0.0.1
This is the first release of sbi-spec
crate. This crate includes definition of RISC-V Supervisor Binary Interface (SBI) including structures and constants. This crate adapts to RISC-V SBI specification version 1.0.0 ratified.
Full Changelog: https://github.com/rustsbi/sbi-spec/commits/v0.0.1