- Jan 27, 2022
-
-
bors[bot] authored
93: Remove riscv target post fix triple information from asm archive name r=almindor a=MabezDev For RISCV targets that don't have `unknown-none-elf` in their name. The only bit that matters is the first section anyways. Co-authored-by:Scott Mabin <scott@mabez.dev>
-
Scott Mabin authored
-
- Jan 09, 2022
-
-
bors[bot] authored
90: add asm::nop, asm::delay, and delay.rs. r=Disasm a=dkhayes117 update assembly binaries. update CHANGELOG.md Co-authored-by:
dkhayes117 <dkhayes117@yahoo.com> Co-authored-by:
Daniel Hayes <59458913+dkhayes117@users.noreply.github.com> Co-authored-by:
Vadim Kaushan <admin@disasm.info>
-
Vadim Kaushan authored
-
Daniel Hayes authored
Co-authored-by:Vadim Kaushan <admin@disasm.info>
-
dkhayes117 authored
-
dkhayes117 authored
-
Daniel Hayes authored
-
bors[bot] authored
91: Add inline-asm build to CI, fix build r=dkhayes117 a=Disasm https://github.com/rust-embedded/riscv/pull/86 introduced new `asm!` syntax which is enabled with the `inline-asm` feature. However, it doesn't work with current nightly since `asm_const` unstable feature is not enabled. This PR fixes the problem and adds automatic checks to CI. Co-authored-by:
Vadim Kaushan <admin@disasm.info>
-
Vadim Kaushan authored
-
dkhayes117 authored
-
dkhayes117 authored
-
dkhayes117 authored
update assembly binaries. update CHANGELOG.md
-
- Jan 07, 2022
-
-
bors[bot] authored
87: add singleton macro r=Disasm a=gnxlxnxx professionally copied this macro from the cortex-m crate Co-authored-by:gnxlxnxx <roman@kretschmer.email>
-
- Dec 04, 2021
-
-
bors[bot] authored
88: Bug fix: sfence.vma - incorrect operand order r=Disasm a=DeathWish5 There is a bug about the operand order of `riscv::asm::sfence_vma(asid: usize, addr: usize)`. According to [riscv-isa-manual](https://github.com/riscv/riscv-isa-manual/blob/master/src/supervisor.tex#L1198 ), the first operand should be `vaddr`, and the second be `asid`. But `riscv::asm::sfence_vma` generates assembly code in the reverse order. In fact, our rust-OS which using this instruction to flush TLB have been running into an error until we reverse the parameter order. I propose a simple solution which leave the function parameter order unchanged. Maybe you guys will change it to be more consistent with the specification. Anyway, let's fix this bug. Co-authored-by:
DeathWish5 <zyr_ms@outlook.com>
-
- Dec 03, 2021
-
-
DeathWish5 authored
-
- Nov 13, 2021
-
-
gnxlxnxx authored
-
- Aug 16, 2021
-
-
bors[bot] authored
58: Add detail to pmpcfgx.rs to return the individual pmp[x]cfg register … r=almindor a=dkhayes117 I wrote this about a dozen different ways. Check it out and let me know what you think. I didn't implement this for pmpcfg1 - pmpcfg3 as they will be identical setups as pmpcfg0 (well not quite identical). Once I get pmpcfg0 satisfactory, I will add the rest to match. Thanks, Daniel Co-authored-by:
dkhayes117 <dkhayes117@yahoo.com> Co-authored-by:
dkhayes117 <59458913+dkhayes117@users.noreply.github.com>
-
- Aug 14, 2021
-
-
dkhayes117 authored
-
dkhayes117 authored
-
dkhayes117 authored
-
dkhayes117 authored
-
dkhayes117 authored
-
- Aug 12, 2021
-
-
dkhayes117 authored
-
dkhayes117 authored
-
bors[bot] authored
86: feat: Use new asm! instead of llvm_asm! r=Disasm a=duskmoon314 The new `asm` macro has been merged into `nightly` for some time, while `llvm_asm` will be gradually deprecated and will not enter `stable`. This PR replaces `llvm_asm` with `asm`, but there are still some minor issues to discuss. My reference are: - [asm feature](https://doc.rust-lang.org/unstable-book/library-features/asm.html) - [arch/cortex-m: change a few llvm_asm!s to asm!s](https://github.com/tock/tock/pull/2092) - [Convert all uses of llvm_asm! to asm!](https://github.com/rust-lang/stdarch/pull/1052) --- In the new `asm` feature, there are several options can set to optimize codes. [options](https://doc.rust-lang.org/unstable-book/library-features/asm.html#options-1 ) However, I'm not quite sure which options to set. (Sort of newbie to asm in rust) Co-authored-by:
Campbell He <hkp18@mails.tsinghua.edu.cn>
-
Campbell He authored
-
dkhayes117 authored
-
dkhayes117 authored
-
dkhayes117 authored
-
dkhayes117 authored
Tested and working in hardware
-
dkhayes117 authored
-
dkhayes117 authored
-
dkhayes117 authored
-
dkhayes117 authored
-
- Jul 30, 2021
-
-
bors[bot] authored
84: bump version to v0.7.0 r=Disasm a=almindor Co-authored-by:Ales Katona <ales@katona.me>
-
Ales Katona authored
-
bors[bot] authored
83: update bare-metal and remove Nr trait r=Disasm a=almindor Co-authored-by:Ales Katona <ales@katona.me>
-
Ales Katona authored
-
- Jul 26, 2021
-
-
bors[bot] authored
80: add support for mprv r=almindor a=jwnhy Co-authored-by:
john <799433746@qq.com> Co-authored-by:
John Weston <18240025+jwnhy@users.noreply.github.com>
-