Skip to content

Commit c4a24b8

Browse files
committed
Fix sip::{set,clear}_ssoft
1 parent 555441c commit c4a24b8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

riscv/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1313

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

16+
### Fixed
17+
18+
- Fixed `sip::set_ssoft` and `sip::clear_ssoft` using wrong address
19+
1620
## [v0.11.0] - 2024-01-14
1721

1822
### Added

riscv/src/register/sip.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ impl Sip {
3333
}
3434

3535
read_csr_as!(Sip, 0x144);
36-
set!(0x344);
37-
clear!(0x104);
36+
set!(0x144);
37+
clear!(0x144);
3838

3939
set_clear_csr!(
4040
/// Supervisor Software Interrupt Pending

0 commit comments

Comments
 (0)