- Jan 23, 2019
-
-
Vadim Kaushan authored
-
Vadim Kaushan authored
-
Vadim Kaushan authored
-
Vadim Kaushan authored
-
bors[bot] authored
15: Refactoring: use new macros for M-mode CSRs r=dvc94ch a=Disasm Co-authored-by:Vadim Kaushan <admin@disasm.info>
-
- Dec 22, 2018
-
-
Vadim Kaushan authored
-
Vadim Kaushan authored
-
- Dec 19, 2018
-
-
bors[bot] authored
12: Add some S-Mode CSRs r=dvc94ch a=wangrunji0408 Add these S-Mode CSRs: - `sstatus` - `stvec` - `sie` - `sip` - `scause` - `stval` - `sscratch` - `sepc` - `satp` as well as: - `time` - `timeh` and S-Mode instructions: - `sfence.vma` Most of the code have been tested in the [RustOS](https://github.com/wangrunji0408/RustOS) project. 14: Remove ecall and *ret instructions from riscv::asm r=dvc94ch a=Disasm * *ret instructions should not be used directly in Rust code, they should be used in handlers, written in asm ([example](https://github.com/rust-embedded/riscv-rt/blob/273f0d4f70418a7602678632dcc78dbe24208fe2/src/lib.rs#L294-L340) ). * ecall instruction should be wrapped into something like syscall(), which should be declared in another platform-specific crate. Co-authored-by:
WangRunji <wangrunji0408@163.com> Co-authored-by:
Vadim Kaushan <admin@disasm.info>
-
bors[bot] authored
13: Replace no-op with unimplemented!() r=dvc94ch a=Disasm Co-authored-by:Vadim Kaushan <admin@disasm.info>
-
Vadim Kaushan authored
-
Vadim Kaushan authored
-
- Nov 09, 2018
- Aug 20, 2018
-
-
bors[bot] authored
10: these raw instructions are unsafe r=dvc94ch a=strake `wfi` is safe, but the rest are not. Let's make them all unsafe until we have a better idea — the return types are wrong anyhow. Co-authored-by:M Farkas-Dyck <strake888@gmail.com>
-
- Aug 19, 2018
-
-
bors[bot] authored
9: use `NonZeroUsize` where appropriate r=dvc94ch a=strake Co-authored-by:M Farkas-Dyck <strake888@gmail.com>
-
bors[bot] authored
8: mepc is word-size r=dvc94ch a=strake Co-authored-by:M Farkas-Dyck <strake888@gmail.com>
-
M Farkas-Dyck authored
-
M Farkas-Dyck authored
-
M Farkas-Dyck authored
-
- Aug 12, 2018
-
-
David Craven authored
-
David Craven authored
-
David Craven authored
-
David Craven authored
-
David Craven authored
-
David Craven authored
-
- Aug 06, 2018
-
-
Dan Callaghan authored
In the original riscv-rust fork the target arch was simply named "riscv", but RISC-V support landed in Rust with "riscv32" as the arch name instead. Include "riscv64" optimistically for future-proofing.
-
- Apr 26, 2018
-
-
David Craven authored
-
- Apr 02, 2018
-
-
Jakob Weisblat authored
-
- Mar 30, 2018
-
-
David Craven authored
-
- Mar 29, 2018
-
-
David Craven authored
-
- Mar 28, 2018
-
-
David Craven authored
-
- Mar 25, 2018
-
-
David Craven authored
-
- Nov 21, 2017
-
-
David Craven authored
-
- Nov 20, 2017
-
-
David Craven authored
-
David Craven authored
-
- Nov 18, 2017
-
-
David Craven authored
-
David Craven authored
-
David Craven authored
-
David Craven authored
-
David Craven authored
-