On 11/4/21 11:18 PM, Warner Losh wrote:
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 <i...@bsdimp.com>
---
  bsd-user/freebsd/target_os_signal.h   |  3 ---
  bsd-user/freebsd/target_os_ucontext.h | 35 +++++++++++++++++++++++++++
  2 files changed, 35 insertions(+), 3 deletions(-)
  create mode 100644 bsd-user/freebsd/target_os_ucontext.h

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>


r~

Reply via email to