summary refs log tree commit diff stats
path: root/bsd-user/freebsd/target_os_stack.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-12-12 11:27:18 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-04-26 17:03:05 +0200
commit827238668e7dc44e43e71a3e12b605881fe6887e (patch)
treef0311bc47207fc93bfa8df8176afe947570ffa99 /bsd-user/freebsd/target_os_stack.h
parent425082612c012843d8b33fa0d35966adf5600c47 (diff)
downloadfocaccia-qemu-827238668e7dc44e43e71a3e12b605881fe6887e.tar.gz
focaccia-qemu-827238668e7dc44e43e71a3e12b605881fe6887e.zip
exec: Move [b]tswapl() declarations to 'exec/user/tswap-target.h'
tswapl() and bswaptls() are target-dependent and only used
by user emulation. Move their definitions to a new header:
"exec/user/tswap-target.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20231212123401.37493-17-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'bsd-user/freebsd/target_os_stack.h')
-rw-r--r--bsd-user/freebsd/target_os_stack.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bsd-user/freebsd/target_os_stack.h b/bsd-user/freebsd/target_os_stack.h
index d15fc3263f..ac0ef22cd7 100644
--- a/bsd-user/freebsd/target_os_stack.h
+++ b/bsd-user/freebsd/target_os_stack.h
@@ -23,6 +23,7 @@
 #include <sys/param.h>
 #include "target_arch_sigtramp.h"
 #include "qemu/guest-random.h"
+#include "user/tswap-target.h"
 
 /*
  * The initial FreeBSD stack is as follows: