Home
last modified time | relevance | path

Searched refs:ARM_cpsr (Results 1 – 24 of 24) sorted by relevance

/linux-6.1.9/arch/arm/include/asm/
Dptrace.h27 (((regs)->ARM_cpsr & 0xf) == 0)
31 (((regs)->ARM_cpsr & PSR_T_BIT))
38 ((((regs)->ARM_cpsr & PSR_J_BIT) >> (__ffs(PSR_J_BIT) - 1)) | \
39 (((regs)->ARM_cpsr & PSR_T_BIT) >> (__ffs(PSR_T_BIT))))
45 ((regs)->ARM_cpsr & MODE_MASK)
48 (!((regs)->ARM_cpsr & PSR_I_BIT))
51 (!((regs)->ARM_cpsr & PSR_F_BIT))
59 unsigned long mode = regs->ARM_cpsr & MODE_MASK; in valid_user_regs()
64 regs->ARM_cpsr &= ~(PSR_F_BIT | PSR_A_BIT); in valid_user_regs()
66 if ((regs->ARM_cpsr & PSR_I_BIT) == 0) { in valid_user_regs()
[all …]
Dprocessor.h71 regs->ARM_cpsr = USR_MODE; \
73 regs->ARM_cpsr = USR26_MODE; \
75 regs->ARM_cpsr |= PSR_T_BIT; \
76 regs->ARM_cpsr |= PSR_ENDSTATE; \
Dperf_event.h22 (regs)->ARM_cpsr = SVC_MODE; \
Dkexec.h50 [_ARM_cpsr] "=r" (newregs->ARM_cpsr), in crash_setup_regs()
/linux-6.1.9/arch/arm/probes/kprobes/
Dactions-arm.c170 unsigned long cpsr = regs->ARM_cpsr; in emulate_rd12rn16rm0rs8_rwflags()
186 regs->ARM_cpsr = (regs->ARM_cpsr & ~APSR_MASK) | (cpsr & APSR_MASK); in emulate_rd12rn16rm0rs8_rwflags()
200 unsigned long cpsr = regs->ARM_cpsr; in emulate_rd12rn16rm0_rwflags_nopc()
213 regs->ARM_cpsr = (regs->ARM_cpsr & ~APSR_MASK) | (cpsr & APSR_MASK); in emulate_rd12rn16rm0_rwflags_nopc()
230 unsigned long cpsr = regs->ARM_cpsr; in emulate_rd16rn12rm0rs8_rwflags_nopc()
243 regs->ARM_cpsr = (regs->ARM_cpsr & ~APSR_MASK) | (cpsr & APSR_MASK); in emulate_rd16rn12rm0rs8_rwflags_nopc()
280 unsigned long cpsr = regs->ARM_cpsr; in emulate_rdlo12rdhi16rn0rm8_rwflags_nopc()
294 regs->ARM_cpsr = (regs->ARM_cpsr & ~APSR_MASK) | (cpsr & APSR_MASK); in emulate_rdlo12rdhi16rn0rm8_rwflags_nopc()
Dactions-thumb.c49 regs->uregs[rd] = regs->ARM_cpsr & mask; in t32_simulate_mrs()
97 regs->ARM_cpsr &= ~PSR_T_BIT; in t32_simulate_branch()
221 unsigned long cpsr = regs->ARM_cpsr; in t32_emulate_rd8rn16rm0_rwflags()
234 regs->ARM_cpsr = (regs->ARM_cpsr & ~APSR_MASK) | (cpsr & APSR_MASK); in t32_emulate_rd8rn16rm0_rwflags()
388 unsigned long cpsr = regs->ARM_cpsr; in t16_simulate_it()
392 regs->ARM_cpsr = cpsr; in t16_simulate_it()
445 unsigned long oldcpsr = regs->ARM_cpsr; in t16_emulate_loregs()
470 regs->ARM_cpsr = t16_emulate_loregs(insn, asi, regs); in t16_emulate_loregs_rwflags()
479 regs->ARM_cpsr = cpsr; in t16_emulate_loregs_noitrwflags()
492 unsigned long cpsr = regs->ARM_cpsr; in t16_emulate_hiregs()
[all …]
Dcore.c213 regs->ARM_cpsr = it_advance(regs->ARM_cpsr); in singlestep_skip()
259 if (!p->ainsn.insn_check_cc(regs->ARM_cpsr)) { in kprobe_handler()
Dtest-core.c1122 regs->ARM_cpsr &= ~(APSR_MASK | PSR_IT_MASK); in setup_test_context()
1123 regs->ARM_cpsr |= test_context_cpsr(scenario); in setup_test_context()
1147 regs->ARM_cpsr |= PSR_I_BIT; in setup_test_context()
1203 initial_regs.ARM_cpsr &= ~PSR_IGNORE_BITS; in test_before_post_handler()
1224 result_regs.ARM_cpsr &= ~PSR_IGNORE_BITS; in test_after_pre_handler()
1235 regs->ARM_cpsr &= ~PSR_I_BIT; in test_after_pre_handler()
1276 pr_err("cpsr %08lx\n", regs->ARM_cpsr); in print_registers()
/linux-6.1.9/arch/arm/probes/
Ddecode-thumb.c849 regs->ARM_cpsr = it_advance(regs->ARM_cpsr); in thumb16_singlestep()
858 regs->ARM_cpsr = it_advance(regs->ARM_cpsr); in thumb32_singlestep()
Ddecode-arm.c73 regs->ARM_cpsr |= PSR_T_BIT; in simulate_blx1()
86 regs->ARM_cpsr &= ~PSR_T_BIT; in simulate_blx2bx()
88 regs->ARM_cpsr |= PSR_T_BIT; in simulate_blx2bx()
96 regs->uregs[rd] = regs->ARM_cpsr & mask; in simulate_mrs()
Ddecode.h41 long cpsr = regs->ARM_cpsr; in bx_write_pc()
49 regs->ARM_cpsr = cpsr; in bx_write_pc()
/linux-6.1.9/arch/arm/kernel/
Dprocess.c140 regs->ARM_pc, regs->ARM_lr, regs->ARM_cpsr); in __show_regs()
153 flags = regs->ARM_cpsr; in __show_regs()
177 printk("xPSR: %08lx\n", regs->ARM_cpsr); in __show_regs()
266 childregs->ARM_cpsr = SVC_MODE; in copy_thread()
Dsignal.c168 regs->ARM_cpsr = context.arm_cpsr; in restore_sigframe()
273 .arm_cpsr = regs->ARM_cpsr, in setup_sigframe()
327 unsigned long cpsr = regs->ARM_cpsr & ~(PSR_f | PSR_E_BIT); in setup_return()
440 regs->ARM_cpsr = cpsr; in setup_return()
Dtraps.c441 (regs->ARM_cpsr & hook->cpsr_mask) == hook->cpsr_val) in call_undef_hook()
641 regs->ARM_cpsr &= ~MODE32_BIT; in arm_syscall()
647 regs->ARM_cpsr |= MODE32_BIT; in arm_syscall()
Dswp_emulate.c166 res = arm_check_condition(instr, regs->ARM_cpsr); in swp_handler()
Dkgdb.c48 { "cpsr", 4, offsetof(struct pt_regs, ARM_cpsr)},
Dasm-offsets.c82 DEFINE(S_PSR, offsetof(struct pt_regs, ARM_cpsr)); in main()
/linux-6.1.9/samples/kprobes/
Dkprobe_example.c48 p->symbol_name, p->addr, (long)regs->ARM_pc, (long)regs->ARM_cpsr); in handler_pre()
85 p->symbol_name, p->addr, (long)regs->ARM_cpsr); in handler_post()
/linux-6.1.9/arch/arm/mm/
Dextable.c17 regs->ARM_cpsr &= ~PSR_IT_MASK; in fixup_exception()
Dalignment.c901 if (regs->ARM_cpsr & PSR_C_BIT) in do_alignment()
939 regs->ARM_cpsr = it_advance(regs->ARM_cpsr); in do_alignment()
/linux-6.1.9/arch/arm/include/asm/xen/
Devents.h17 return raw_irqs_disabled_flags(regs->ARM_cpsr); in xen_irqs_disabled()
/linux-6.1.9/arch/arm/nwfpe/
Dfpmodule.inl72 rval = regs->ARM_cpsr & ~CC_MASK;
73 regs->ARM_cpsr = rval | (val & CC_MASK);
/linux-6.1.9/arch/arm/include/uapi/asm/
Dptrace.h135 #define ARM_cpsr uregs[16] macro
/linux-6.1.9/arch/arm/probes/uprobes/
Dcore.c38 if (!auprobe->asi.insn_check_cc(regs->ARM_cpsr)) { in arch_uprobe_ignore()