/linux/arch/arm/include/asm/ |
H A D | ptrace.h | 29 (((regs)->ARM_cpsr & 0xf) == 0) 33 (((regs)->ARM_cpsr & PSR_T_BIT)) 40 (FIELD_GET(PSR_J_BIT, (regs)->ARM_cpsr) << 1 | \ 41 FIELD_GET(PSR_T_BIT, (regs)->ARM_cpsr)) 47 ((regs)->ARM_cpsr & MODE_MASK) 50 (!((regs)->ARM_cpsr & PSR_I_BIT)) 53 (!((regs)->ARM_cpsr & PSR_F_BIT)) 61 unsigned long mode = regs->ARM_cpsr & MODE_MASK; in valid_user_regs() 66 regs->ARM_cpsr &= ~(PSR_F_BIT | PSR_A_BIT); in valid_user_regs() 68 if ((regs->ARM_cpsr & PSR_I_BIT) == 0) { in valid_user_regs() [all …]
|
H A D | processor.h | 71 regs->ARM_cpsr = USR_MODE; \ 73 regs->ARM_cpsr = USR26_MODE; \ 75 regs->ARM_cpsr |= PSR_T_BIT; \ 76 regs->ARM_cpsr |= PSR_ENDSTATE; \
|
H A D | kexec.h | 48 [_ARM_cpsr] "=r" (newregs->ARM_cpsr), in crash_setup_regs()
|
/linux/arch/arm/probes/kprobes/ |
H A D | actions-arm.c | 170 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()
|
H A D | actions-thumb.c | 49 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 …]
|
H A D | test-core.c | 1122 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/arch/arm/probes/ |
H A D | decode-thumb.c | 849 regs->ARM_cpsr = it_advance(regs->ARM_cpsr); in thumb16_singlestep() 858 regs->ARM_cpsr = it_advance(regs->ARM_cpsr); in thumb32_singlestep()
|
H A D | decode-arm.c | 73 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()
|
H A D | decode.h | 41 long cpsr = regs->ARM_cpsr; in bx_write_pc() 49 regs->ARM_cpsr = cpsr; in bx_write_pc()
|
/linux/arch/arm/kernel/ |
H A D | process.c | 139 regs->ARM_pc, regs->ARM_lr, regs->ARM_cpsr); in __show_regs() 152 flags = regs->ARM_cpsr; in __show_regs() 176 printk("xPSR: %08lx\n", regs->ARM_cpsr); in __show_regs() 264 childregs->ARM_cpsr = SVC_MODE; in copy_thread()
|
H A D | signal.c | 169 regs->ARM_cpsr = context.arm_cpsr; in restore_sigframe() 274 .arm_cpsr = regs->ARM_cpsr, in setup_sigframe() 328 unsigned long cpsr = regs->ARM_cpsr & ~(PSR_f | PSR_E_BIT); in setup_return() 441 regs->ARM_cpsr = cpsr; in setup_return()
|
H A D | traps.c | 445 (regs->ARM_cpsr & hook->cpsr_mask) == hook->cpsr_val) in call_undef_hook() 648 regs->ARM_cpsr &= ~MODE32_BIT; in arm_syscall() 654 regs->ARM_cpsr |= MODE32_BIT; in arm_syscall()
|
H A D | swp_emulate.c | 167 res = arm_check_condition(instr, regs->ARM_cpsr); in swp_handler()
|
H A D | asm-offsets.c | 84 DEFINE(S_PSR, offsetof(struct pt_regs, ARM_cpsr)); in main()
|
/linux/samples/kprobes/ |
H A D | kprobe_example.c | 48 p->symbol_name, p->addr, (long)regs->ARM_pc, (long)regs->ARM_cpsr); in handler_pre() 89 p->symbol_name, p->addr, (long)regs->ARM_cpsr); in handler_post()
|
/linux/arch/arm/nwfpe/ |
H A D | fpmodule.inl | 72 rval = regs->ARM_cpsr & ~CC_MASK; 73 regs->ARM_cpsr = rval | (val & CC_MASK);
|
/linux/arch/arm/mm/ |
H A D | extable.c | 17 regs->ARM_cpsr &= ~PSR_IT_MASK; in fixup_exception()
|
H A D | alignment.c | 901 if (regs->ARM_cpsr & PSR_C_BIT) in do_alignment() 939 regs->ARM_cpsr = it_advance(regs->ARM_cpsr); in do_alignment()
|
/linux/arch/arm/include/asm/xen/ |
H A D | events.h | 17 return raw_irqs_disabled_flags(regs->ARM_cpsr); in xen_irqs_disabled()
|
/linux/arch/arm/include/uapi/asm/ |
H A D | ptrace.h | 135 #define ARM_cpsr uregs[16] macro
|
/linux/arch/arm/probes/uprobes/ |
H A D | core.c | 38 if (!auprobe->asi.insn_check_cc(regs->ARM_cpsr)) { in arch_uprobe_ignore()
|