diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-05-24 18:48:06 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2020-06-09 19:05:20 +0200 |
commit | 18cdeb72bb9ad7a574be68175e72068ced70e443 (patch) | |
tree | f648e1fb1228099156b0540456ff5c653d0c561c /hw/isa/trace-events | |
parent | 3b34ee6780f5ebf4c641a7522288b9e7e4e123d6 (diff) |
hw/isa/apm: Convert debug printf()s to trace events
Convert APM_DPRINTF() to trace events and remove ifdef'ry.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200524164806.12658-1-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/isa/trace-events')
-rw-r--r-- | hw/isa/trace-events | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/isa/trace-events b/hw/isa/trace-events index 202f8938e7..3544c6213c 100644 --- a/hw/isa/trace-events +++ b/hw/isa/trace-events @@ -9,3 +9,7 @@ superio_create_ide(int id, uint16_t base, unsigned int irq) "id=%d, base 0x%03x, # pc87312.c pc87312_io_read(uint32_t addr, uint32_t val) "read addr=0x%x val=0x%x" pc87312_io_write(uint32_t addr, uint32_t val) "write addr=0x%x val=0x%x" + +# apm.c +apm_io_read(uint8_t addr, uint8_t val) "read addr=0x%x val=0x%02x" +apm_io_write(uint8_t addr, uint8_t val) "write addr=0x%x val=0x%02x" |