|
From: | Richard Henderson |
Subject: | Re: [PATCH v2 31/40] bsd-user/signal.c: setup_frame |
Date: | Thu, 27 Jan 2022 18:47:47 +1100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
On 1/25/22 12:29, Warner Losh wrote:
setup_frame sets up a signalled stack frame. Associated routines to extract the pointer to the stack frame and to support alternate stacks. Signed-off-by: Stacey Son<sson@FreeBSD.org> Signed-off-by: Kyle Evans<kevans@freebsd.org> Signed-off-by: Warner Losh<imp@bsdimp.com> --- bsd-user/main.c | 5 +++ bsd-user/qemu.h | 3 +- bsd-user/signal.c | 82 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 89 insertions(+), 1 deletion(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
+#if defined(TARGET_ARM) + return (sp - frame_size) & ~7; +#elif defined(TARGET_AARCH64) + return (sp - frame_size) & ~15; +#else + return sp - frame_size; +#endif
Just double-checking that this is still in the cleanup queue. I would expect x86 to require 16 byte alignment as well, for sse. r~
[Prev in Thread] | Current Thread | [Next in Thread] |