diff options
author | Daniel Henrique Barboza <dbarboza@ventanamicro.com> | 2025-01-06 14:37:33 -0300 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2025-01-19 09:44:34 +1000 |
commit | e2dca2dc5abfba504d4ac9222673a9edbc1c1266 (patch) | |
tree | 08570ccbaa1645d0cac6c778bd4ff178a70de32a /scripts/probe-gdb-support.py | |
parent | f4df21e07f126eab24adf505cb33db0c94968cab (diff) | |
download | qemu-e2dca2dc5abfba504d4ac9222673a9edbc1c1266.zip qemu-e2dca2dc5abfba504d4ac9222673a9edbc1c1266.tar.gz qemu-e2dca2dc5abfba504d4ac9222673a9edbc1c1266.tar.bz2 |
target/riscv: use RISCVException enum in exception helpers
Do a cosmetic change in riscv_raise_exception() to change 'exception'
type from uint32_t to RISCVException, making it a bit clear that the
arg is directly correlated to the RISCVException enum.
As a side effect, change 'excp' type from int to RISCVException in
generate_exception() to guarantee that all callers of
riscv_raise_exception() will use the enum.
Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250106173734.412353-2-dbarboza@ventanamicro.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'scripts/probe-gdb-support.py')
0 files changed, 0 insertions, 0 deletions