Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Releases: rustsbi/sbi-spec

SBI-Spec version 0.0.7-alpha.1

07 Dec 06:53
Compare
Choose a tag to compare
Pre-release

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 in PMU

SBI-Spec version 0.0.6

04 Apr 03:29
Compare
Choose a tag to compare

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

18 Feb 06:39
Compare
Choose a tag to compare

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 in pmu module for RV32 systems
  • SBI DBCN extension support
  • Result-like documents to SbiRet

Modified

  • style: add period to docs

SBI-Spec version 0.0.4

09 Oct 16:35
Compare
Choose a tag to compare

This release includes:

Added

  • Various convenient functions to SbiRet structure
  • Add documents on whole sbi-rt crate to comply with deny(missing_docs)
  • Feature legacy to gate legacy SBI extension

Modified

  • Rename SbiRet::ok to SbiRet::success
  • Rename SbiSpecVersion to struct Version

SBI-Spec version 0.0.3

06 Oct 08:19
Compare
Choose a tag to compare

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 to GET_SBI_SPEC_VERSION
  • rename impl_id::IMPL_XXX to impl_id::XXX

Removed

  • default target to RISC-V

sbi-spec version 0.0.1

11 Jul 07:17
Compare
Choose a tag to compare

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