mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
425082612c
commit
827238668e
13 changed files with 33 additions and 8 deletions
|
@ -22,6 +22,7 @@
|
|||
|
||||
#include "target_arch_elf.h"
|
||||
#include "elf.h"
|
||||
#include "user/tswap-target.h"
|
||||
|
||||
#define bsd_get_ncpu() 1 /* until we pull in bsd-proc.[hc] */
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue