qemu-e2k/bsd-user
Warner Losh 6538c682db bsd-user; Update the definitions of __put_user and __get_user macros
Use __builtin_choose_expr to avoid type promotion from ?:
in __put_user_e and __get_user_e macros.
Copied from linux-user/qemu.h, originally by Blue Swirl.

Signed-off-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
2023-08-28 12:16:18 -06:00
..
arm bsd-user: Remove ELF_START_MMAP and image_info.start_mmap 2023-08-28 12:16:18 -06:00
freebsd bsd-user: Move _WANT_FREEBSD macros to include/qemu/osdep.h 2023-08-28 12:16:18 -06:00
host bsd-user: Catch up with sys/param.h requirement for machine/pmap.h 2022-10-26 14:09:17 -06:00
i386 bsd-user: Remove ELF_START_MMAP and image_info.start_mmap 2023-08-28 12:16:18 -06:00
include
netbsd Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
openbsd Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
x86_64 bsd-user: Remove ELF_START_MMAP and image_info.start_mmap 2023-08-28 12:16:18 -06:00
bsd-file.h bsd-user: Remove stray 'inline' from do_bsd_close 2022-07-02 07:52:48 -06:00
bsd-proc.h bsd-user: Clean up includes 2023-02-08 07:16:23 +01:00
bsdload.c
elfcore.c
elfload.c bsd-user: Remove image_info.start_brk 2023-08-28 12:16:18 -06:00
errno_defs.h Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
main.c bsd-user: Remove image_info.start_brk 2023-08-28 12:16:18 -06:00
meson.build
mmap.c bsd-user: Remove last_brk 2023-08-06 16:46:13 -07:00
qemu.h bsd-user; Update the definitions of __put_user and __get_user macros 2023-08-28 12:16:18 -06:00
signal-common.h
signal.c bsd-user; Update the definitions of __put_user and __get_user macros 2023-08-28 12:16:18 -06:00
strace.c bsd-user: Clean up includes 2023-02-08 07:16:23 +01:00
syscall_defs.h linux-user: Use ARRAY_SIZE with bitmask_transtbl 2023-08-09 07:17:42 -07:00
trace-events
trace.h
uaccess.c