diff options
| author | Peter Maydell | 2020-07-03 17:59:45 +0200 |
|---|---|---|
| committer | Peter Maydell | 2020-07-03 17:59:45 +0200 |
| commit | a0a8cf78e0e1bdb8923ea1466518ea24be323292 (patch) | |
| tree | b6af369e1b8314cb96ad8c1e4ebaebe5ef60686d /exec.c | |
| parent | hw/arm/spitz: Encapsulate misc GPIO handling in a device (diff) | |
| download | qemu-a0a8cf78e0e1bdb8923ea1466518ea24be323292.tar.gz qemu-a0a8cf78e0e1bdb8923ea1466518ea24be323292.tar.xz qemu-a0a8cf78e0e1bdb8923ea1466518ea24be323292.zip | |
hw/gpio/zaurus.c: Use LOG_GUEST_ERROR for bad guest register accesses
Instead of logging guest accesses to invalid register offsets in this
device using zaurus_printf() (which just prints to stderr), use the
usual qemu_log_mask(LOG_GUEST_ERROR,...).
Since this was the only use of the zaurus_printf() macro outside
spitz.c, we can move the definition of that macro from sharpsl.h
to spitz.c.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20200628142429.17111-14-peter.maydell@linaro.org
Diffstat (limited to 'exec.c')
0 files changed, 0 insertions, 0 deletions
