Home
last modified time | relevance | path

Searched refs:ckpt_regs (Results 1 – 7 of 7) sorted by relevance

/linux/arch/powerpc/kernel/ptrace/
H A Dptrace-tm.c34 return task->thread.ckpt_regs.msr | task->thread.fpexc_mode; in get_user_ckpt_msr()
39 task->thread.ckpt_regs.msr &= ~MSR_DEBUGCHANGE; in set_user_ckpt_msr()
40 task->thread.ckpt_regs.msr |= msr & MSR_DEBUGCHANGE; in set_user_ckpt_msr()
46 set_trap(&task->thread.ckpt_regs, trap); in set_user_ckpt_trap()
104 membuf_write(&to, &target->thread.ckpt_regs, sizeof(struct user_pt_regs)); in tm_cgpr_get()
152 &target->thread.ckpt_regs, in tm_cgpr_set()
168 &target->thread.ckpt_regs.orig_gpr3, in tm_cgpr_set()
580 BUILD_BUG_ON(TSO(tm_tfiar) + sizeof(u64) != TSO(ckpt_regs)); in tm_spr_get()
625 BUILD_BUG_ON(TSO(tm_tfiar) + sizeof(u64) != TSO(ckpt_regs)); in tm_spr_set()
778 &target->thread.ckpt_regs.gpr[0]); in tm_cgpr32_get()
[all …]
/linux/arch/powerpc/kernel/
H A Dsignal_64.c237 msr |= tsk->thread.ckpt_regs.msr & (MSR_FP | MSR_VEC | MSR_VSX); in setup_tm_sigcontexts()
318 &tsk->thread.ckpt_regs, GP_REGS_SIZE); in setup_tm_sigcontexts()
458 err |= __copy_from_user(&tsk->thread.ckpt_regs, sc->gp_regs, in restore_tm_sigcontexts()
486 err |= __get_user(tsk->thread.ckpt_regs.ctr, in restore_tm_sigcontexts()
488 err |= __get_user(tsk->thread.ckpt_regs.link, in restore_tm_sigcontexts()
490 err |= __get_user(tsk->thread.ckpt_regs.xer, in restore_tm_sigcontexts()
492 err |= __get_user(tsk->thread.ckpt_regs.ccr, in restore_tm_sigcontexts()
H A Dsignal.c345 ret = tsk->thread.ckpt_regs.gpr[1]; in get_tm_stackpointer()
H A Dprocess.c94 regs_set_return_msr(&tsk->thread.ckpt_regs, in check_if_tm_restore_required()
967 if ((thr->ckpt_regs.msr & MSR_FP) == 0) in tm_reclaim_thread()
970 if ((thr->ckpt_regs.msr & MSR_VEC) == 0) in tm_reclaim_thread()
1133 msr_diff = current->thread.ckpt_regs.msr & ~regs->msr; in restore_tm_state()
H A Dsignal_32.c373 unsafe_save_general_regs(&current->thread.ckpt_regs, frame, failed); in save_tm_user_regs_unsafe()
591 unsafe_restore_general_regs(&current->thread.ckpt_regs, sr, failed); in restore_tm_user_regs()
H A Dasm-offsets.c166 OFFSET(PT_CKPT_REGS, thread_struct, ckpt_regs); in main()
/linux/arch/powerpc/include/asm/
H A Dprocessor.h206 struct pt_regs ckpt_regs; /* Checkpointed registers */ member