1. Jul 20, 2021
  2. Jul 19, 2021
  3. Jul 18, 2021
  4. Jul 01, 2021
  5. May 02, 2021
  6. Mar 15, 2021
  7. Mar 09, 2021
  8. Mar 08, 2021
  9. Mar 07, 2021
  10. Feb 22, 2021
    • bors[bot]'s avatar
      Merge #63 · 7358eda6
      bors[bot] authored
      
      
      63: Fix unescaped "[]"s in doc comment r=Disasm a=longfangsong
      
      When running `cargo doc` on this crate and crates depends on this crate, cargo will always raise `unresolved link` warnings for those `[h]` and `[x]`, which is annoying.
      
      This pr escaped the `[` and `]` in these code to silence these warning.
      
      Co-authored-by: default avatarlongfangsong <longfangsong@icloud.com>
      7358eda6
    • bors[bot]'s avatar
      Merge #65 · 197386eb
      bors[bot] authored
      
      
      65: Small fixes according to RISC-V privileged specification r=Disasm a=luojia65
      
      This patch contains following parts: 
      
      1. RISC-V privileged specification v1.10 defined `TVM`, `TW` and `TSR` bits in `mstatus`, implement them in Rust.
      2. Make `scause`, `stval`, `ucause` and `utval` writable. 
      3. Add some comments for instructions when we need to update this crate into privileged version v1.12.
      
      For part 2, these registers are defined read-write in specification, and are typically read in supervisor S-level. However in M-level there are some situations we should write values into them. This feature is used when M-level environment are transfering exception to S-level kernel.
      
      Function `scause::set` contains somehow lots of code here, we need to write a `Trap` struct into it, but I don't know which way is the best to implement this function.
      
      Co-authored-by: default avatarluojia65 <me@luojia.cc>
      197386eb
    • luojia65's avatar
      Reformat documents in `mstatus` module · 14991c3f
      luojia65 authored
      14991c3f
    • luojia65's avatar
      Use a different environment variable to run rustfmt check · 04794a74
      luojia65 authored
      By @Disasm
      04794a74
  11. Feb 16, 2021
  12. Jan 26, 2021
  13. Oct 25, 2020
  14. Oct 24, 2020
  15. Oct 21, 2020
  16. Oct 20, 2020
    • dkhayes117's avatar
      Fix with Cargo fmt · 42fa92f5
      dkhayes117 authored
      Add scounteren.rs
      Implemented set_hpm and clear_hpm functions
      Removed State enum, replaced with bool
      Update comments to be more concise
      42fa92f5
  17. Oct 17, 2020
  18. Oct 16, 2020