mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-26 20:03:54 -06: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:
parent
c93cbac1f4
commit
46f4f76d33
3 changed files with 90 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue