bsd-user/freebsd/target_os_ucontext.h: Require TARGET_*CONTEXT_SIZE
authorWarner Losh <imp@bsdimp.com>
Thu, 4 Nov 2021 23:21:48 +0000 (17:21 -0600)
committerWarner Losh <imp@bsdimp.com>
Sat, 8 Jan 2022 05:58:51 +0000 (22:58 -0700)
commitca4fc704a40b5ad36a7ced03331224293888fafb
tree033a0541caedf7bd14f765df55416ba5b7b9f557
parent3ac34cc98576425a63763b7671decf11fd606ec6
bsd-user/freebsd/target_os_ucontext.h: Require TARGET_*CONTEXT_SIZE

Now that all architecutres define TARGET_[MU]CONTEXT_SIZE, enforce
requiring them and always check the sizeof target_{u,m}context_t
sizes.

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
bsd-user/freebsd/target_os_ucontext.h