1. Jun 10, 2024
  2. Jun 08, 2024
  3. May 28, 2024
  4. May 25, 2024
    • rmsyn's avatar
      riscv: add `mcounteren` in-memory update functions · 6304be46
      rmsyn authored
      Adds functions for updating the in-memory `Mcounteren` structure without
      touching the CSR.
      
      Allows manipulating all bitfields in-memory, and writing the entire
      value back to the CSR at once.
      6304be46
    • rmsyn's avatar
      riscv: use bits helper for mcounteren · 92e1e838
      rmsyn authored
      Uses the new `bf_extract` helper for the `mcounteren` register.
      92e1e838
    • Román Cárdenas Rodríguez's avatar
      Merge pull request #216 from kevin-vigor/master · ee84d856
      Román Cárdenas Rodríguez authored
      Fix semihosting::debug::exit() on riscv64 QEMU targets.
      ee84d856
    • Kevin Vigor's avatar
      Fix semihosting::debug::exit() on riscv64 QEMU targets. · ff4dc30b
      Kevin Vigor authored
      QEMU's handler for REPORT_EXCEPTION (a.k.a. TARGET_SYS_EXIT in QEMU sources)
      expects two arguments for 64-bit systems, including riscv64. In the event
      that a second argument is not provided, QEMU takes an error path which does
      *not* exit the simulation.
      
      The net result is that semihosting::debug::exit() hangs on riscv64 qemu
      simulation.
      
      Provide the necessry extra paramater to the syscall so that exit now
      works properly.
      
      Note that the second parameter only affects the simulator exit code if
      the first parameter is ApplicationExit, and we use ApplicationExit only
      for successful exit, so we can simply hardcode 0 as second parameter. On
      the error path we set first parameter to RunTimeErrorUnknown and QEMU
      properly returns exit code 1 regardless of second parameter.
      ff4dc30b
    • Román Cárdenas Rodríguez's avatar
      Merge pull request #213 from rmsyn/register/mcountinhibit · 2fc23fe4
      Román Cárdenas Rodríguez authored
      riscv: add `mcountinhibit` module
      2fc23fe4
  5. May 24, 2024
  6. May 22, 2024
  7. May 18, 2024
  8. May 16, 2024
  9. May 12, 2024
  10. May 10, 2024
  11. May 09, 2024
  12. May 08, 2024
  13. May 07, 2024
  14. May 05, 2024
  15. May 02, 2024