File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
12
12
- CSR helper macro ` write_composite_csr ` for writing 64-bit CSRs on 32-bit targets.
13
13
- Write utilities for ` mcycle ` , ` minstret `
14
14
15
+ ### Changed
16
+
17
+ - Simplify ` riscv::interrupt::machine::nested `
18
+
15
19
## [ v0.13.0] - 2025-02-18
16
20
17
21
### Added
Original file line number Diff line number Diff line change @@ -192,12 +192,10 @@ where
192
192
}
193
193
194
194
// Restore MSTATUS.PIE, MSTATUS.MPP, and SEPC
195
- let mut after_mstatus = mstatus:: read ( ) ;
196
195
if mstatus. mpie ( ) {
197
- after_mstatus . set_mpie ( mstatus . mpie ( ) ) ;
196
+ mstatus :: set_mpie ( ) ;
198
197
}
199
- after_mstatus. set_mpp ( mstatus. mpp ( ) ) ;
200
- mstatus:: write ( after_mstatus) ;
198
+ mstatus:: set_mpp ( mstatus. mpp ( ) ) ;
201
199
mepc:: write ( mepc) ;
202
200
203
201
r
You can’t perform that action at this time.
0 commit comments