Home
last modified time | relevance | path

Searched full:ucontext (Results 1 – 25 of 34) sorted by relevance

12

/qemu/tests/tcg/multiarch/
H A Dnoexec.c.inc15 #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 Dsignal_save_restore_xer.c14 void sigtrap_handler(int sig, siginfo_t *si, void *ucontext) in sigtrap_handler() argument
16 ucontext_t *uc = ucontext; in sigtrap_handler()
H A Dmtfsf.c18 void sigfpe_handler(int sig, siginfo_t *si, void *ucontext) in sigfpe_handler() argument
/qemu/bsd-user/freebsd/
H A Dtarget_os_ucontext.h2 * FreeBSD has a common ucontext definition for all architectures.
17 /* See FreeBSD's sys/ucontext.h */
/qemu/tests/tcg/s390x/
H A Dclc.c12 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 Dsignals-s390x.c6 #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 Dvrep.c15 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 Dpgm-specification-user.c15 static void handle_sigill(int sig, siginfo_t *info, void *ucontext) in handle_sigill() argument
/qemu/bsd-user/aarch64/
H A Dtarget_arch_signal.h40 /* struct __mcontext in sys/arm64/include/ucontext.h */
77 target_ucontext_t sf_uc; /* saved ucontext */
H A Dsignal.c36 * x2 = ucontext pointer in set_sigtramp_args()
/qemu/util/
H A Dcoroutine-ucontext.c2 * 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 Dcoroutine-sigaltstack.c164 * 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 Dcoroutine-wasm.c3 * based on coroutine-ucontext.c
/qemu/bsd-user/
H A Dsignal.c794 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 Dhost-signal.h12 #include <sys/ucontext.h>
/qemu/bsd-user/host/x86_64/
H A Dhost-signal.h13 #include <sys/ucontext.h>
/qemu/bsd-user/host/i386/
H A Dhost-signal.h13 #include <sys/ucontext.h>
/qemu/scripts/qemugdb/
H A Dcoroutine.py63 # 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 Dbti-crt.c.inc10 #include <ucontext.h>
/qemu/bsd-user/arm/
H A Dsignal.c36 * r2 = ucontext pointer in set_sigtramp_args()
37 * r5 = ucontext pointer in set_sigtramp_args()
H A Dtarget_arch_signal.h85 target_ucontext_t sf_uc; /* saved ucontext */
/qemu/
H A Dmeson_options.txt37 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 Dsignal.c35 * a2 (12) = ucontext pointer in set_sigtramp_args()
/qemu/linux-user/ppc/
H A Dsignal.c27 /* 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 Dsignal.c135 /* see Linux/include/uapi/asm-generic/ucontext.h */
535 /* Create the ucontext. */ in setup_rt_frame()

12