Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions riscv/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Use `cfg(any(target_arch = "riscv32", target_arch = "riscv64"))` instead of `cfg(riscv)`.
- `riscv::pac_enum(unsafe CoreInterrupt)` now locates the vector table at the `.trap.vector`
section instead of `.trap`.
- Allow all bits to be set in Mcause::from_bits on 64-bit targets.

### Removed

Expand Down
2 changes: 1 addition & 1 deletion riscv/src/register/mcause.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pub use crate::interrupt::Trap;
read_only_csr! {
/// `mcause` register
Mcause: 0x342,
mask: 0xffff_ffff,
mask: usize::MAX,
}

#[cfg(target_arch = "riscv32")]
Expand Down
Loading