We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f81db37 + 877a83c commit ca86c48Copy full SHA for ca86c48
riscv/CHANGELOG.md
@@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
19
- Use `cfg(any(target_arch = "riscv32", target_arch = "riscv64"))` instead of `cfg(riscv)`.
20
- `riscv::pac_enum(unsafe CoreInterrupt)` now locates the vector table at the `.trap.vector`
21
section instead of `.trap`.
22
+- Allow all bits to be set in Mcause::from_bits on 64-bit targets.
23
24
### Removed
25
riscv/src/register/mcause.rs
@@ -5,7 +5,7 @@ pub use crate::interrupt::Trap;
5
read_only_csr! {
6
/// `mcause` register
7
Mcause: 0x342,
8
- mask: 0xffff_ffff,
+ mask: usize::MAX,
9
}
10
11
#[cfg(target_arch = "riscv32")]
0 commit comments