/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * arch/wasm32/include/uapi/asm/sigcontext.h * * Signal delivery on wasm32: HardwareJS interrupts the target Worker * at its next syscall boundary or asyncify unwind point. There is no * full register snapshot to take; struct sigcontext exists to satisfy * the uapi shape, mirrors struct user_regs_struct from . */ #ifndef _ASM_WASM32_SIGCONTEXT_H #define _ASM_WASM32_SIGCONTEXT_H #ifndef __ASSEMBLY__ #include struct sigcontext { __u32 sc_pc; __u32 sc_sp; __u32 sc_a0; __u32 sc_a1; __u32 sc_a2; __u32 sc_a3; __u32 sc_a4; __u32 sc_a5; __u32 sc_ret; }; #endif /* !__ASSEMBLY__ */ #endif /* _ASM_WASM32_SIGCONTEXT_H */