Skip to content

Commit

Permalink
Temporarily hide SiFive platform features
Browse files Browse the repository at this point in the history
  • Loading branch information
luojia65 committed Dec 4, 2021
1 parent f0273a9 commit e32be8e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Modified
- Set CEASE to be unsafe function
- Rearrange documents
- Temporarily hide SiFive platform features

### Removed
- PAUSE instruction, it will be in `core::hint::spin_loop`
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
#![no_std]

pub mod asm;
#[doc(hidden)] // hide by now, API has not been decided yet
pub mod feature;
pub mod register;
1 change: 1 addition & 0 deletions src/register.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ pub mod mbpm {
}
}

#[doc(hidden)] // hide by now, API has not been decided yet
/// Feature disable register
///
/// The SiFive custom M-mode Feature Disable CSR is provided to enable or disable certain
Expand Down

0 comments on commit e32be8e

Please sign in to comment.