]> git.proxmox.com Git - mirror_qemu.git/commit
bsd-user: introduce target.h
authorWarner Losh <imp@bsdimp.com>
Mon, 31 Jan 2022 23:01:05 +0000 (16:01 -0700)
committerWarner Losh <imp@bsdimp.com>
Sun, 27 Feb 2022 04:05:21 +0000 (21:05 -0700)
commit647afdf1836548146b77c6ca68e93c7acfe35738
treecd88758e670d117ab51c152020d8479da5ff97fd
parentc5c84d16519abf3909bad77ef03db36801f560d5
bsd-user: introduce target.h

Create target.h. This file is intended to be simple and describe basic
things about the architecture. If something is a basic feature of the
architecture, it belongs here. Should we need something that's per-BSD
there will be a target-os.h that will live in the per-bsd directories.

Define regpairs_aligned to reflect whether or not registers are 'paired'
for 64-bit arguments or not. This will be false for all 64-bit targets,
and will be true on those architectures that pair (currently just armv7
and powerpc on FreeBSD 14.x).

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Kyle Evans <kevans@FreeBSD.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
bsd-user/arm/target.h [new file with mode: 0644]
bsd-user/i386/target.h [new file with mode: 0644]
bsd-user/qemu.h
bsd-user/x86_64/target.h [new file with mode: 0644]