Home
last modified time | relevance | path

Searched refs:mc_gregs (Results 1 – 4 of 4) sorted by relevance

/external/valgrind/coregrind/m_sigframe/
Dsigframe-ppc32-linux.c145 # define DO(gpr) mc->mc_gregs[VKI_PT_R0+gpr] = tst->arch.vex.guest_GPR##gpr in stack_mcontext()
152 mc->mc_gregs[VKI_PT_NIP] = tst->arch.vex.guest_CIA; in stack_mcontext()
153 mc->mc_gregs[VKI_PT_MSR] = 0xf032; /* pretty arbitrary */ in stack_mcontext()
154 mc->mc_gregs[VKI_PT_ORIG_R3] = tst->arch.vex.guest_GPR3; in stack_mcontext()
155 mc->mc_gregs[VKI_PT_CTR] = tst->arch.vex.guest_CTR; in stack_mcontext()
156 mc->mc_gregs[VKI_PT_LNK] = tst->arch.vex.guest_LR; in stack_mcontext()
157 mc->mc_gregs[VKI_PT_XER] = LibVEX_GuestPPC32_get_XER(&tst->arch.vex); in stack_mcontext()
158 mc->mc_gregs[VKI_PT_CCR] = LibVEX_GuestPPC32_get_CR(&tst->arch.vex); in stack_mcontext()
159 mc->mc_gregs[VKI_PT_MQ] = 0; in stack_mcontext()
160 mc->mc_gregs[VKI_PT_TRAP] = 0; in stack_mcontext()
[all …]
/external/valgrind/coregrind/
Dm_signals.c337 # define VG_UCONTEXT_INSTR_PTR(uc) ((uc)->uc_regs->mc_gregs[VKI_PT_NIP])
338 # define VG_UCONTEXT_STACK_PTR(uc) ((uc)->uc_regs->mc_gregs[VKI_PT_R1])
342 (uc)->uc_regs->mc_gregs[VKI_PT_R3], \
343 (((uc)->uc_regs->mc_gregs[VKI_PT_CCR] >> 28) & 1) \
346 { (srP)->r_pc = (ULong)((uc)->uc_regs->mc_gregs[VKI_PT_NIP]); \
347 (srP)->r_sp = (ULong)((uc)->uc_regs->mc_gregs[VKI_PT_R1]); \
348 (srP)->misc.PPC32.r_lr = (uc)->uc_regs->mc_gregs[VKI_PT_LNK]; \
/external/valgrind/include/vki/
Dvki-ppc32-linux.h760 vki_elf_gregset_t mc_gregs; member
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux.cc986 *pc = ucontext->uc_mcontext.mc_gregs[MC_PC]; in GetPcSpBp()
987 *sp = ucontext->uc_mcontext.mc_gregs[MC_O6]; in GetPcSpBp()