- May 18, 2024
-
-
Henri Lunnikivi authored
We use unconditional jumps to reach these locations but I think the RISC-V unconditional jump cannot express locations that are not aligned to 4 bytes.
-
- May 16, 2024
-
-
Román Cárdenas Rodríguez authored
`riscv-rt`: Support for vectored mode interrupt handling
-
- May 12, 2024
-
-
Román Cárdenas Rodríguez authored
Add Mstatus helpers to allow setting fields in Mstatus
-
- May 10, 2024
-
-
Jeremy Fitzhardinge authored
Also remove local bf_* helpers
-
- May 09, 2024
-
-
Román Cárdenas Rodríguez authored
-
Román Cárdenas Rodríguez authored
Co-authored-by:rmsyn <117854522+rmsyn@users.noreply.github.com>
-
Jeremy Fitzhardinge authored
-
Jeremy Fitzhardinge authored
-
Jeremy Fitzhardinge authored
-
Jeremy Fitzhardinge authored
Allow `Mstatus` values to be directly written back to the CSR.
-
Jeremy Fitzhardinge authored
This adds a macro to generate `write(value:T)` function for writing a structured value to a CSR.
-
Jeremy Fitzhardinge authored
And add a clarifying doc comment that this is an operation on Mstatus values, not on the CSR itself.
-
Jeremy Fitzhardinge authored
Without needing to touch the CSR. This allows multiple changes in a single register write.
-
- May 08, 2024
-
-
Román Cárdenas Rodríguez authored
-
Román Cárdenas Rodríguez authored
`riscv`: register: fix target architecture conditional compilation
-
rmsyn authored
Uses `cfg(target_arch)` conditional compilation selectors for exported macros, since `cfg` flags generated from `build.rs` are not present for downstream users.
-
- May 07, 2024
-
-
Román Cárdenas Rodríguez authored
Implement Eq and PartialEq for Range and Permission
-
Román Cárdenas Rodríguez authored
Tidy per-ext check-cfg flags
-
Jeremy Fitzhardinge authored
It's useful to be able to do equality tests for these for unit tests.
-
Jeremy Fitzhardinge authored
-
Román Cárdenas Rodríguez authored
riscv: build: make `cfg` variables more robust
-
rmsyn authored
Uses new lint checks for `cfg` variables.
-
rmsyn authored
Uses new lint checks for `cfg` variables.
-
rmsyn authored
Uses new lint checks for `cfg` variables.
-
- May 05, 2024
-
-
rmsyn authored
Change which Cargo `CFG` environment variables are used to select the custom `cfg` variables. See https://github.com/rust-embedded/riscv/pull/204#issuecomment-2094089195 for discussion.
-
Román Cárdenas Rodríguez authored
-
- May 02, 2024
-
-
Román Cárdenas Rodríguez authored
`riscv`: register: exports macros for custom CSRs
-
- May 01, 2024
-
-
rmsyn authored
Exports macros from the `riscv::register::macros` module for external users. This allows external users to define custom CSR accessor functions. This is useful for platforms and SoCs with custom CSR registers not defined in the `riscv` crate. Resolves: #187
-
- Apr 22, 2024
-
-
Román Cárdenas Rodríguez authored
Add Mstatus::from(usize)
-
- Apr 20, 2024
-
-
Jason White authored
-
- Apr 13, 2024
-
-
Román Cárdenas Rodríguez authored
-
- Apr 12, 2024
-
-
Román Cárdenas Rodríguez authored
-
- Apr 11, 2024
-
-
Román Cárdenas Rodríguez authored
-
Román Cárdenas Rodríguez authored
-
- Mar 28, 2024
-
-
Aleš Katona authored
Add some utility methods to Mstatus and Mcause
-
Aleš Katona authored
`riscv-rt`: make `abort` weak
-
- Mar 27, 2024
-
-
Román Cárdenas Rodríguez authored
-
David Reiss authored
-
David Reiss authored
This is useful unit tests that want test trap handlers.
-
- Mar 15, 2024
-
-
Jesse Braham authored
Fix mistake in changelog
-