Lines Matching refs:srP
273 # define VG_UCONTEXT_TO_UnwindStartRegs(srP, uc) \ argument
274 { (srP)->r_pc = (ULong)((uc)->uc_mcontext.eip); \
275 (srP)->r_sp = (ULong)((uc)->uc_mcontext.esp); \
276 (srP)->misc.X86.r_ebp = (uc)->uc_mcontext.ebp; \
285 # define VG_UCONTEXT_TO_UnwindStartRegs(srP, uc) \ argument
286 { (srP)->r_pc = (uc)->uc_mcontext.rip; \
287 (srP)->r_sp = (uc)->uc_mcontext.rsp; \
288 (srP)->misc.AMD64.r_rbp = (uc)->uc_mcontext.rbp; \
344 # define VG_UCONTEXT_TO_UnwindStartRegs(srP, uc) \ argument
345 { (srP)->r_pc = (ULong)((uc)->uc_regs->mc_gregs[VKI_PT_NIP]); \
346 (srP)->r_sp = (ULong)((uc)->uc_regs->mc_gregs[VKI_PT_R1]); \
347 (srP)->misc.PPC32.r_lr = (uc)->uc_regs->mc_gregs[VKI_PT_LNK]; \
367 # define VG_UCONTEXT_TO_UnwindStartRegs(srP, uc) \ argument
368 { (srP)->r_pc = (uc)->uc_mcontext.gp_regs[VKI_PT_NIP]; \
369 (srP)->r_sp = (uc)->uc_mcontext.gp_regs[VKI_PT_R1]; \
370 (srP)->misc.PPC64.r_lr = (uc)->uc_mcontext.gp_regs[VKI_PT_LNK]; \
379 # define VG_UCONTEXT_TO_UnwindStartRegs(srP, uc) \ argument
380 { (srP)->r_pc = (uc)->uc_mcontext.arm_pc; \
381 (srP)->r_sp = (uc)->uc_mcontext.arm_sp; \
382 (srP)->misc.ARM.r14 = (uc)->uc_mcontext.arm_lr; \
383 (srP)->misc.ARM.r12 = (uc)->uc_mcontext.arm_ip; \
384 (srP)->misc.ARM.r11 = (uc)->uc_mcontext.arm_fp; \
385 (srP)->misc.ARM.r7 = (uc)->uc_mcontext.arm_r7; \
394 # define VG_UCONTEXT_TO_UnwindStartRegs(srP, uc) \ argument
395 { (srP)->r_pc = (uc)->uc_mcontext.pc; \
396 (srP)->r_sp = (uc)->uc_mcontext.sp; \
397 (srP)->misc.ARM64.x29 = (uc)->uc_mcontext.regs[29]; \
398 (srP)->misc.ARM64.x30 = (uc)->uc_mcontext.regs[30]; \
449 void VG_UCONTEXT_TO_UnwindStartRegs( UnwindStartRegs* srP, in VG_UCONTEXT_TO_UnwindStartRegs() argument
454 srP->r_pc = (ULong)(ss->__eip); in VG_UCONTEXT_TO_UnwindStartRegs()
455 srP->r_sp = (ULong)(ss->__esp); in VG_UCONTEXT_TO_UnwindStartRegs()
456 srP->misc.X86.r_ebp = (UInt)(ss->__ebp); in VG_UCONTEXT_TO_UnwindStartRegs()
505 void VG_UCONTEXT_TO_UnwindStartRegs( UnwindStartRegs* srP, in VG_UCONTEXT_TO_UnwindStartRegs() argument
510 srP->r_pc = (ULong)(ss->__rip); in VG_UCONTEXT_TO_UnwindStartRegs()
511 srP->r_sp = (ULong)(ss->__rsp); in VG_UCONTEXT_TO_UnwindStartRegs()
512 srP->misc.AMD64.r_rbp = (ULong)(ss->__rbp); in VG_UCONTEXT_TO_UnwindStartRegs()
524 # define VG_UCONTEXT_TO_UnwindStartRegs(srP, uc) \ argument
525 { (srP)->r_pc = (ULong)((uc)->uc_mcontext.regs.psw.addr); \
526 (srP)->r_sp = (ULong)((uc)->uc_mcontext.regs.gprs[15]); \
527 (srP)->misc.S390X.r_fp = (uc)->uc_mcontext.regs.gprs[11]; \
528 (srP)->misc.S390X.r_lr = (uc)->uc_mcontext.regs.gprs[14]; \
542 # define VG_UCONTEXT_TO_UnwindStartRegs(srP, uc) \ argument
543 { (srP)->r_pc = (uc)->uc_mcontext.sc_pc; \
544 (srP)->r_sp = (uc)->uc_mcontext.sc_regs[29]; \
545 (srP)->misc.MIPS32.r30 = (uc)->uc_mcontext.sc_regs[30]; \
546 (srP)->misc.MIPS32.r31 = (uc)->uc_mcontext.sc_regs[31]; \
547 (srP)->misc.MIPS32.r28 = (uc)->uc_mcontext.sc_regs[28]; \
561 # define VG_UCONTEXT_TO_UnwindStartRegs(srP, uc) \ argument
562 { (srP)->r_pc = (uc)->uc_mcontext.sc_pc; \
563 (srP)->r_sp = (uc)->uc_mcontext.sc_regs[29]; \
564 (srP)->misc.MIPS64.r30 = (uc)->uc_mcontext.sc_regs[30]; \
565 (srP)->misc.MIPS64.r31 = (uc)->uc_mcontext.sc_regs[31]; \
566 (srP)->misc.MIPS64.r28 = (uc)->uc_mcontext.sc_regs[28]; \
577 # define VG_UCONTEXT_TO_UnwindStartRegs(srP, uc) \ argument
578 { (srP)->r_pc = (ULong)(uc)->uc_mcontext.gregs[VKI_EIP]; \
579 (srP)->r_sp = (ULong)(uc)->uc_mcontext.gregs[VKI_UESP]; \
580 (srP)->misc.X86.r_ebp = (uc)->uc_mcontext.gregs[VKI_EBP]; \
591 # define VG_UCONTEXT_TO_UnwindStartRegs(srP, uc) \ argument
592 { (srP)->r_pc = (uc)->uc_mcontext.gregs[VKI_REG_RIP]; \
593 (srP)->r_sp = (uc)->uc_mcontext.gregs[VKI_REG_RSP]; \
594 (srP)->misc.AMD64.r_rbp = (uc)->uc_mcontext.gregs[VKI_REG_RBP]; \