mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
bsd-user/signal.c: setup_frame
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> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
@ -107,7 +107,8 @@ typedef struct TaskState {
|
||||
*/
|
||||
sigset_t signal_mask;
|
||||
|
||||
uint8_t stack[];
|
||||
/* This thread's sigaltstack, if it has one */
|
||||
struct target_sigaltstack sigaltstack_used;
|
||||
} __attribute__((aligned(16))) TaskState;
|
||||
|
||||
void stop_all_tasks(void);
|
||||
|
Reference in New Issue
Block a user