mirror of
https://github.com/xemu-project/xemu.git
synced 2025-04-02 11:11:48 -04:00
printf() unconditionally prints to the console which disturbs `-serial stdio`.
Fix that by converting into a trace event. While at it, add some tracing for
read and write access.
Fixes: 7e7c5e4c1b
"Nokia N800 machine support (ARM)."
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20241103143330.123596-5-shentey@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
6 lines
259 B
Text
6 lines
259 B
Text
# See docs/devel/tracing.rst for syntax documentation.
|
|
|
|
# tmp105.c
|
|
tmp105_read(uint8_t dev, uint8_t addr) "device: 0x%02x, addr: 0x%02x"
|
|
tmp105_write(uint8_t dev, uint8_t addr) "device: 0x%02x, addr 0x%02x"
|
|
tmp105_write_shutdown(uint8_t dev) "device: 0x%02x"
|