Searched refs:gp_regs (Results 1 – 7 of 7) sorted by relevance
57 #define UC_MCONTEXT_GREGS_R0 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[0] - (void *)&dmy_ctxt)58 #define UC_MCONTEXT_GREGS_R1 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[1] - (void *)&dmy_ctxt)59 #define UC_MCONTEXT_GREGS_R2 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[2] - (void *)&dmy_ctxt)60 #define UC_MCONTEXT_GREGS_R3 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[3] - (void *)&dmy_ctxt)61 #define UC_MCONTEXT_GREGS_R4 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[4] - (void *)&dmy_ctxt)62 #define UC_MCONTEXT_GREGS_R5 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[5] - (void *)&dmy_ctxt)63 #define UC_MCONTEXT_GREGS_R6 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[6] - (void *)&dmy_ctxt)64 #define UC_MCONTEXT_GREGS_R7 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[7] - (void *)&dmy_ctxt)65 #define UC_MCONTEXT_GREGS_R8 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[8] - (void *)&dmy_ctxt)66 #define UC_MCONTEXT_GREGS_R9 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[9] - (void *)&dmy_ctxt)[all …]
51 addr = &uc->uc_mcontext.gp_regs[reg - UNW_PPC64_R0]; in uc_addr()83 addr = &uc->uc_mcontext.gp_regs[gregs_idx]; in uc_addr()
202 # define DO(gpr) frame->uc.uc_mcontext.gp_regs[VKI_PT_R0+gpr] \ in VG_()210 frame->uc.uc_mcontext.gp_regs[VKI_PT_NIP] = tst->arch.vex.guest_CIA; in VG_()212 frame->uc.uc_mcontext.gp_regs[VKI_PT_MSR] = 0xf033; /* pretty arbitrary */ in VG_()214 frame->uc.uc_mcontext.gp_regs[VKI_PT_MSR] = 0xf032; /* pretty arbitrary */ in VG_()216 frame->uc.uc_mcontext.gp_regs[VKI_PT_ORIG_R3] = tst->arch.vex.guest_GPR3; in VG_()217 frame->uc.uc_mcontext.gp_regs[VKI_PT_CTR] = tst->arch.vex.guest_CTR; in VG_()218 frame->uc.uc_mcontext.gp_regs[VKI_PT_LNK] = tst->arch.vex.guest_LR; in VG_()219 frame->uc.uc_mcontext.gp_regs[VKI_PT_XER] = LibVEX_GuestPPC64_get_XER( in VG_()221 frame->uc.uc_mcontext.gp_regs[VKI_PT_CCR] = LibVEX_GuestPPC64_get_CR( in VG_()323 = frame->uc.uc_mcontext.gp_regs[VKI_PT_R0+gpr] in VG_()[all …]
210 x86_thread_state_t gp_regs; in get_current_pc() local213 (thread_state_t) &gp_regs, &gp_count); in get_current_pc()220 if (gp_regs.tsh.flavor == x86_THREAD_STATE64) in get_current_pc()223 return gp_regs.uts.ts64.__rip; in get_current_pc()228 return gp_regs.uts.ts32.__eip; in get_current_pc()233 arm_thread_state_t gp_regs; in get_current_pc() local236 (thread_state_t) &gp_regs, &gp_count); in get_current_pc()242 return gp_regs.__pc; in get_current_pc()
352 # define VG_UCONTEXT_INSTR_PTR(uc) ((uc)->uc_mcontext.gp_regs[VKI_PT_NIP])353 # define VG_UCONTEXT_STACK_PTR(uc) ((uc)->uc_mcontext.gp_regs[VKI_PT_R1])363 ULong err = (uc->uc_mcontext.gp_regs[VKI_PT_CCR] >> 28) & 1; in VG_UCONTEXT_SYSCALL_SYSRES()364 ULong r3 = uc->uc_mcontext.gp_regs[VKI_PT_R3]; in VG_UCONTEXT_SYSCALL_SYSRES()369 { (srP)->r_pc = (uc)->uc_mcontext.gp_regs[VKI_PT_NIP]; \370 (srP)->r_sp = (uc)->uc_mcontext.gp_regs[VKI_PT_R1]; \371 (srP)->misc.PPC64.r_lr = (uc)->uc_mcontext.gp_regs[VKI_PT_LNK]; \
315 vki_elf_gregset_t gp_regs; member
4051 x86_thread_state_t gp_regs; in HandlePacket_qProcessInfo() local4054 (thread_state_t) &gp_regs, &gp_count); in HandlePacket_qProcessInfo()4057 if (gp_regs.tsh.flavor == x86_THREAD_STATE64) in HandlePacket_qProcessInfo()