Skip to content

Commit

Permalink
Merge pull request #191 from Property404/Property404/ssoft-fix
Browse files Browse the repository at this point in the history
Fix sip::{set,clear}_ssoft
  • Loading branch information
almindor authored Mar 12, 2024
2 parents 555441c + c4a24b8 commit 3c61863
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions riscv/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

- Made `asm::wfi`, `fence`, `fence_i` and `sfence` safe (ie, removed `unsafe` from their definitions)

### Fixed

- Fixed `sip::set_ssoft` and `sip::clear_ssoft` using wrong address

## [v0.11.0] - 2024-01-14

### Added
Expand Down
4 changes: 2 additions & 2 deletions riscv/src/register/sip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ impl Sip {
}

read_csr_as!(Sip, 0x144);
set!(0x344);
clear!(0x104);
set!(0x144);
clear!(0x144);

set_clear_csr!(
/// Supervisor Software Interrupt Pending
Expand Down

0 comments on commit 3c61863

Please sign in to comment.