/qemu/tests/tcg/multiarch/ |
H A D | noexec.c.inc | 15 #include <sys/ucontext.h> 46 static void handle_segv(int sig, siginfo_t *info, void *ucontext) 49 const mcontext_t *mc = &((ucontext_t *)ucontext)->uc_mcontext;
|
/qemu/tests/tcg/ppc64/ |
H A D | signal_save_restore_xer.c | 14 void sigtrap_handler(int sig, siginfo_t *si, void *ucontext) in sigtrap_handler() argument 16 ucontext_t *uc = ucontext; in sigtrap_handler()
|
H A D | mtfsf.c | 18 void sigfpe_handler(int sig, siginfo_t *si, void *ucontext) in sigfpe_handler() argument
|
/qemu/bsd-user/freebsd/ |
H A D | target_os_ucontext.h | 2 * FreeBSD has a common ucontext definition for all architectures. 17 /* See FreeBSD's sys/ucontext.h */
|
/qemu/tests/tcg/s390x/ |
H A D | clc.c | 12 static void handle_sigsegv(int sig, siginfo_t *info, void *ucontext) in handle_sigsegv() argument 14 mcontext_t *mcontext = &((ucontext_t *)ucontext)->uc_mcontext; in handle_sigsegv()
|
H A D | signals-s390x.c | 6 #include <ucontext.h> 57 static void handle_signal(int sig, siginfo_t *info, void *ucontext) in handle_signal() argument 73 if (((ucontext_t *)ucontext)->uc_mcontext.psw.addr != expected.psw_addr) { in handle_signal()
|
H A D | vrep.c | 15 static void handle_sigill(int sig, siginfo_t *info, void *ucontext) in handle_sigill() argument 17 mcontext_t *mcontext = &((ucontext_t *)ucontext)->uc_mcontext; in handle_sigill()
|
H A D | pgm-specification-user.c | 15 static void handle_sigill(int sig, siginfo_t *info, void *ucontext) in handle_sigill() argument
|
/qemu/bsd-user/aarch64/ |
H A D | target_arch_signal.h | 40 /* struct __mcontext in sys/arm64/include/ucontext.h */ 77 target_ucontext_t sf_uc; /* saved ucontext */
|
H A D | signal.c | 36 * x2 = ucontext pointer in set_sigtramp_args()
|
/qemu/util/ |
H A D | coroutine-ucontext.c | 2 * ucontext coroutine initialization code 26 #include <ucontext.h> 188 /* The ucontext functions preserve signal masks which incurs a in qemu_coroutine_new() 192 * the ucontext functions for that but sigsetjmp()/siglongjmp() for in qemu_coroutine_new()
|
H A D | coroutine-sigaltstack.c | 164 * This has been done keeping coroutine-ucontext as a model and with the in qemu_coroutine_new() 165 * pth ideas (GNU Portable Threads). See coroutine-ucontext for the basics in qemu_coroutine_new()
|
H A D | coroutine-wasm.c | 3 * based on coroutine-ucontext.c
|
/qemu/bsd-user/ |
H A D | signal.c | 794 static int reset_signal_mask(target_ucontext_t *ucontext) in reset_signal_mask() argument 802 __get_user(target_set.__bits[i], &ucontext->uc_sigmask.__bits[i]); in reset_signal_mask() 815 target_ucontext_t *ucontext = NULL; in do_sigreturn() local 817 /* Get the target ucontext address from the stack frame */ in do_sigreturn() 823 if (!lock_user_struct(VERIFY_READ, ucontext, target_ucontext, 0)) { in do_sigreturn() 828 if (set_mcontext(env, &ucontext->uc_mcontext, 1)) { in do_sigreturn() 833 if (reset_signal_mask(ucontext)) { in do_sigreturn() 837 unlock_user_struct(ucontext, target_ucontext, 0); in do_sigreturn() 841 if (ucontext != NULL) { in do_sigreturn() 842 unlock_user_struct(ucontext, target_ucontext, 0); in do_sigreturn()
|
/qemu/bsd-user/host/arm/ |
H A D | host-signal.h | 12 #include <sys/ucontext.h>
|
/qemu/bsd-user/host/x86_64/ |
H A D | host-signal.h | 13 #include <sys/ucontext.h>
|
/qemu/bsd-user/host/i386/ |
H A D | host-signal.h | 13 #include <sys/ucontext.h>
|
/qemu/scripts/qemugdb/ |
H A D | coroutine.py | 63 # Example: Line 321 of "../util/coroutine-ucontext.c" starts at address 170 # Fallback to use hard-coded ucontext vars if it's coredump
|
/qemu/tests/tcg/aarch64/ |
H A D | bti-crt.c.inc | 10 #include <ucontext.h>
|
/qemu/bsd-user/arm/ |
H A D | signal.c | 36 * r2 = ucontext pointer in set_sigtramp_args() 37 * r5 = ucontext pointer in set_sigtramp_args()
|
H A D | target_arch_signal.h | 85 target_ucontext_t sf_uc; /* saved ucontext */
|
/qemu/ |
H A D | meson_options.txt | 37 choices: ['ucontext', 'sigaltstack', 'windows', 'wasm', 'auto'], 95 …scription: 'SafeStack Stack Smash Protection (requires clang/llvm and coroutine backend ucontext)')
|
/qemu/bsd-user/riscv/ |
H A D | signal.c | 35 * a2 (12) = ucontext pointer in set_sigtramp_args()
|
/qemu/linux-user/ppc/ |
H A D | signal.c | 27 /* See arch/powerpc/include/asm/ucontext.h. Only used for 32-bit PPC; 185 /* sys_rt_sigreturn requires the ucontext be the first field */
|
/qemu/linux-user/i386/ |
H A D | signal.c | 135 /* see Linux/include/uapi/asm-generic/ucontext.h */ 535 /* Create the ucontext. */ in setup_rt_frame()
|