On 10/1/25 12:32 AM, Anton Johansson wrote:
Fix these fields to 64 bits as they cannot be made smaller. Also make
sure stores to these fields from TCG are 64 bits in size to avoid
incorrect values on big endian hosts.

Signed-off-by: Anton Johansson <[email protected]>
---
  target/riscv/cpu.h                             | 4 ++--
  target/riscv/machine.c                         | 2 +-
  target/riscv/translate.c                       | 6 ++++--
  target/riscv/insn_trans/trans_privileged.c.inc | 2 +-
  4 files changed, 8 insertions(+), 6 deletions(-)

Reviewed-by: Pierrick Bouvier <[email protected]>


Reply via email to