1. Jan 27, 2022
  2. Jan 09, 2022
  3. Jan 07, 2022
  4. Dec 04, 2021
    • bors[bot]'s avatar
      Merge #88 · 418c1053
      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: default avatarDeathWish5 <zyr_ms@outlook.com>
      418c1053
  5. Dec 03, 2021
  6. Nov 13, 2021
  7. Aug 16, 2021
    • bors[bot]'s avatar
      Merge #58 · be2927e2
      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: default avatardkhayes117 <dkhayes117@yahoo.com>
      Co-authored-by: default avatardkhayes117 <59458913+dkhayes117@users.noreply.github.com>
      be2927e2
  8. Aug 14, 2021
  9. Aug 12, 2021
  10. Jul 30, 2021
  11. Jul 26, 2021