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

Releases: rustsbi/sbi-rt

SBI-Rt version v0.0.2

09 Oct 16:41
Compare
Choose a tag to compare

In this version we changed API style to trait based type parameters, which would make it easier to
check parameter types at runtime to reduce errors. If user choose to use integer-impls feature,
it would fall back to older style functions using integer types.

Added

  • Trait based type parameter for all extensions
  • Feature integer-impls to allow fast prototyping with sbi-rt crate
  • Feature legacy to gate SBI legacy extension
  • Documents on various functions

Modified

  • Update sbi-spec to version 0.0.4, re-export Version structure
  • Function probe_extension now returns an ExtensionInfo value
  • Function pmu_num_counters returns a usize value

SBI-Rt version v0.0.1

06 Oct 08:22
Compare
Choose a tag to compare

Welcome to SBI-Rt crate! This crate is an adapter to RISC-V SBI (Supervisor Binary Interface), which will allow you to use environment calls without having to remember function signature and constants in it.

In this version we have fully adapted to RISC-V SBI specification version 1.0.0 ratified, including:

  • §3
  • §4
  • §5
  • §6
  • §7
  • §8
  • §9
  • §10
  • §11