qemu/hw/sh4
Philippe Mathieu-Daudé ccc76731ae hw/sh4/r2d: Include missing 'exec/tswap.h' header
r2d.c indirectly get "exec/tswap.h" declarations via
"exec/cpu-all.h". Include it directly to be able to
remove the former from the latter, otherwise we get:

  hw/sh4/r2d.c:357:35: error: call to undeclared function 'tswap32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    357 |         boot_params.loader_type = tswap32(1);
        |                                   ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20241211230357.97036-8-philmd@linaro.org>
2024-12-14 00:16:20 +01:00
..
Kconfig hw/sh4: Remove the deprecated SHIX machine 2024-09-13 20:10:49 +02:00
meson.build hw/sh4: Remove the deprecated SHIX machine 2024-09-13 20:10:49 +02:00
r2d.c hw/sh4/r2d: Include missing 'exec/tswap.h' header 2024-12-14 00:16:20 +01:00
sh7750.c hw/sh4: Remove sh7750_register_io_device() helper 2024-09-13 20:10:49 +02:00
sh7750_regnames.c hw/sh4: Coding style: Add missing braces 2021-10-30 11:46:40 +02:00
sh7750_regnames.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
sh7750_regs.h sh4: correct typos 2024-02-21 08:16:30 +03:00
trace-events hw/sh4: Remove newline character in trace events 2024-06-10 13:05:27 -04:00
trace.h hw/sh4: Change debug printfs to traces 2021-10-30 18:39:37 +02:00