diff --git a/riscv/CHANGELOG.md b/riscv/CHANGELOG.md index 12b68fc1..4d979ee6 100644 --- a/riscv/CHANGELOG.md +++ b/riscv/CHANGELOG.md @@ -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 diff --git a/riscv/src/register/sip.rs b/riscv/src/register/sip.rs index 715abc39..29daf3a8 100644 --- a/riscv/src/register/sip.rs +++ b/riscv/src/register/sip.rs @@ -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