summary refs log tree commit diff stats
path: root/tests/tcg/plugins/mem.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-07-08 23:53:18 +0200
committerMichael S. Tsirkin <mst@redhat.com>2025-07-15 02:56:39 -0400
commit0f64fb674360393ae09605d8d53bf81c02c78a3e (patch)
treeebd6dfc1ff958d482f6a688fadd45e214fd57483 /tests/tcg/plugins/mem.c
parent16c9cb7187ef2414e3ad509048d59a8a4e7d1cd1 (diff)
downloadfocaccia-qemu-0f64fb674360393ae09605d8d53bf81c02c78a3e.tar.gz
focaccia-qemu-0f64fb674360393ae09605d8d53bf81c02c78a3e.zip
qemu: Declare all load/store helper in 'qemu/bswap.h'
Restrict "exec/tswap.h" to the tswap*() methods,
move the load/store helpers with the other ones
declared in "qemu/bswap.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20250708215320.70426-8-philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tests/tcg/plugins/mem.c')
-rw-r--r--tests/tcg/plugins/mem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tcg/plugins/mem.c b/tests/tcg/plugins/mem.c
index ca4e8883dd..9649bce99c 100644
--- a/tests/tcg/plugins/mem.c
+++ b/tests/tcg/plugins/mem.c
@@ -20,6 +20,7 @@
  * few things provided by compiler.h.
  */
 #include <compiler.h>
+#include <stdbool.h>
 #include <bswap.h>
 #include <qemu-plugin.h>