1. Aug 23, 2023
  2. Mar 17, 2023
  3. Mar 03, 2023
  4. Feb 03, 2023
  5. Feb 01, 2022
  6. Sep 25, 2021
    • liweiwei90's avatar
      update riscv_arch.h to support QEMU (#31) · 81e58d00
      liweiwei90 authored
      * update riscv_arch.h to support QEMU:
        add size attribute for tohost/fromhost
        add writing zero to (tohost + 4) to write_tohost
      
      * revert the align of tohost/fromhost to 64 bytes
      81e58d00
  7. Jul 20, 2021
  8. Jul 19, 2021
  9. Nov 24, 2020
    • Andrew Waterman's avatar
      Merge pull request #27 from bucaps/satp_stval-fixes · 1d9e7eaa
      Andrew Waterman authored
      Minor clang-related fixes
      1d9e7eaa
    • Gokturk Yuksek's avatar
      v/entry.S: replace sbadaddr with stval · 6f817923
      Gokturk Yuksek authored
      The RISC-V Privileged ISA v1.10 uses stval instead of
      sbadaddr. Although GCC can cope with sbadaddr, clang cannot. It fails
      with:
      
        error: operand must be a valid system register name or an integer in
        the range [0, 4095]
      6f817923
    • Gokturk Yuksek's avatar
      Replace sptbr with satp throughout · 9fca1255
      Gokturk Yuksek authored
      The RISC-V Privileged ISA v1.10 uses satp instead of sptbr. Although
      GCC can cope with sptbr, clang cannot. It fails with:
      
        error: operand must be a valid system register name or an integer in
        the range [0, 4095]
      
      Modified the variable name in vm.c as well to ensure consistency and
      avoid possible confusion.
      9fca1255
  10. Oct 15, 2020
  11. Jul 15, 2020
  12. Jul 14, 2020
    • Zhi Yong Wu's avatar
      fix a building error · 9041acee
      Zhi Yong Wu authored
      
      
      riscv64-unknown-elf-gcc -march=rv32g -mabi=ilp32 -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -DENTROPY=0xf7930f7 -std=gnu99 -O2 -I/data/riscv/riscv-tools/riscv-tests/isa/../env/v -I/data/riscv/riscv-tools/riscv-tests/isa/macros/scalar -T/data/riscv/riscv-tools/riscv-tests/isa/../env/v/link.ld /data/riscv/riscv-tools/riscv-tests/isa/../env/v/entry.S /data/riscv/riscv-tools/riscv-tests/isa/../env/v/*.c rv32ui/simple.S -o rv32ui-v-simple
      /opt/riscv/lib/gcc/riscv64-unknown-elf/10.1.0/../../../../riscv64-unknown-elf/bin/ld: /tmp/cc8oFAkO.o: in function `tohost':
      (.tohost+0x0): multiple definition of `tohost'; /tmp/ccOTKaAa.o:(.sbss+0x10): first defined here
      /opt/riscv/lib/gcc/riscv64-unknown-elf/10.1.0/../../../../riscv64-unknown-elf/bin/ld: /tmp/cc8oFAkO.o: in function `fromhost':
      (.tohost+0x40): multiple definition of `fromhost'; /tmp/ccOTKaAa.o:(.sbss+0x8): first defined here
      collect2: error: ld returned 1 exit status
      /data/riscv/riscv-tools/riscv-tests/isa/Makefile:74: recipe for target 'rv32ui-v-simple' failed
      make[1]: *** [rv32ui-v-simple] Error 1
      make[1]: Leaving directory '/data/riscv/riscv-tools/riscv-tests/isa'
      Makefile:28: recipe for target 'isa' failed
      make: *** [isa] Error 2
      
      Signed-off-by: default avatarZhi Yong Wu <zhiyong.wu@sophgo.com>
      9041acee
  13. Apr 14, 2020
  14. Mar 06, 2020
  15. Mar 05, 2020
  16. Mar 03, 2020
  17. Feb 28, 2020
  18. Feb 25, 2020
    • Paul Donahue's avatar
      Fix #17 (#18) · 1a1daea9
      Paul Donahue authored
      Don't make assumptions about delegatability in medeleg.
      1a1daea9
  19. Dec 17, 2019
  20. Dec 03, 2019
  21. Nov 28, 2019
  22. Aug 16, 2019
  23. Feb 20, 2019
  24. Jan 05, 2019
  25. Sep 24, 2018
  26. Sep 07, 2018
  27. Nov 28, 2017
  28. Aug 17, 2017
  29. Jul 04, 2017