summaryrefslogtreecommitdiffstats
path: root/bsd-user/freebsd/target_os_signal.h
diff options
context:
space:
mode:
authorWarner Losh2021-10-29 16:39:01 +0200
committerWarner Losh2022-01-08 06:58:51 +0100
commitaa3a2428308fe6831ce4b2f9d28ff8572b74f6c4 (patch)
treee8a7b2f3d2fb42736c177db1d8f84d825facbcbd /bsd-user/freebsd/target_os_signal.h
parentbsd-user/mips*: Remove mips support (diff)
downloadqemu-aa3a2428308fe6831ce4b2f9d28ff8572b74f6c4.tar.gz
qemu-aa3a2428308fe6831ce4b2f9d28ff8572b74f6c4.tar.xz
qemu-aa3a2428308fe6831ce4b2f9d28ff8572b74f6c4.zip
bsd-user/freebsd: Create common target_os_ucontext.h file
FreeBSD has a MI ucontext structure that contains the MD mcontext machine state and other things that are machine independent. Create an include file for all the ucontext stuff. It needs to be included in the arch specific files after target_mcontext is defined. This is largely copied from sys/_ucontext.h with the comments about layout removed because we don't support ancient FreeBSD binaries. Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'bsd-user/freebsd/target_os_signal.h')
-rw-r--r--bsd-user/freebsd/target_os_signal.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/bsd-user/freebsd/target_os_signal.h b/bsd-user/freebsd/target_os_signal.h
index 1a4c5faf19..3ed454e086 100644
--- a/bsd-user/freebsd/target_os_signal.h
+++ b/bsd-user/freebsd/target_os_signal.h
@@ -1,9 +1,6 @@
#ifndef _TARGET_OS_SIGNAL_H_
#define _TARGET_OS_SIGNAL_H_
-/* FreeBSD's sys/ucontext.h defines this */
-#define TARGET_MC_GET_CLEAR_RET 0x0001
-
#include "target_os_siginfo.h"
#include "target_arch_signal.h"