diff options
author | BALATON Zoltan | 2021-10-29 23:02:09 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé | 2021-10-30 18:39:37 +0200 |
commit | 46e44759fc24a05e338cd37a735b4aad5422e717 (patch) | |
tree | de6317a07b51cd1b0778ab77915a063d1d1ddd24 /pc-bios/openbios-sparc64 | |
parent | hw/timer/sh_timer: Fix timer memory region size (diff) | |
download | qemu-46e44759fc24a05e338cd37a735b4aad5422e717.tar.gz qemu-46e44759fc24a05e338cd37a735b4aad5422e717.tar.xz qemu-46e44759fc24a05e338cd37a735b4aad5422e717.zip |
hw/timer/sh_timer: Remove use of hw_error
The hw_error function calls abort and is not meant to be used by
devices. Use qemu_log_mask instead to log and ignore invalid accesses.
Also fix format strings to allow dropping type casts of hwaddr and use
__func__ instead of hard coding function name in the message which
were wrong in two cases.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <f818dc3dd2ac8c3b3d53067f316a716d7f9683d8.1635541329.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'pc-bios/openbios-sparc64')
0 files changed, 0 insertions, 0 deletions