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

Commit

Permalink
base: re-export Version struct from sbi-spec
Browse files Browse the repository at this point in the history
  • Loading branch information
luojia65 committed Oct 9, 2022
1 parent 3d2ec70 commit 75140cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

### Modified

- Update `sbi-spec` to version 0.0.4
- 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

Expand Down
5 changes: 3 additions & 2 deletions src/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

use crate::binary::{sbi_call_0, sbi_call_1};

pub use sbi_spec::base::Version;
use sbi_spec::base::{
Version, EID_BASE, GET_MARCHID, GET_MIMPID, GET_MVENDORID, GET_SBI_IMPL_ID,
GET_SBI_IMPL_VERSION, GET_SBI_SPEC_VERSION, PROBE_EXTENSION,
EID_BASE, GET_MARCHID, GET_MIMPID, GET_MVENDORID, GET_SBI_IMPL_ID, GET_SBI_IMPL_VERSION,
GET_SBI_SPEC_VERSION, PROBE_EXTENSION,
};

/// Return the current SBI specification version.
Expand Down

0 comments on commit 75140cb

Please sign in to comment.