On 10/1/25 12:33 AM, Anton Johansson wrote:
mcontext is at most 14 bits in size with the H extension, fix to 16
bits. trigger_cur indexes into tdata*[RV_MAX_TRIGGERS] which holds 2
elements, fix to 8 bits.

Note, the cpu/debug VMSTATE version is bumped, breaking migration from
older versions.

Signed-off-by: Anton Johansson <[email protected]>
---
  target/riscv/cpu.h     | 10 +++++-----
  target/riscv/machine.c | 12 ++++++------
  2 files changed, 11 insertions(+), 11 deletions(-)
Reviewed-by: Pierrick Bouvier <[email protected]>


Reply via email to