Searched refs:dbcr0 (Results 1 – 9 of 9) sorted by relevance
/linux-2.6.39/arch/powerpc/kernel/ |
D | ptrace.c | 821 task->thread.dbcr0 &= ~DBCR0_BT; in user_enable_single_step() 822 task->thread.dbcr0 |= DBCR0_IDM | DBCR0_IC; in user_enable_single_step() 838 task->thread.dbcr0 &= ~DBCR0_IC; in user_enable_block_step() 839 task->thread.dbcr0 = DBCR0_IDM | DBCR0_BT; in user_enable_block_step() 861 task->thread.dbcr0 &= ~DBCR0_IC; in user_disable_single_step() 865 if (!DBCR_ACTIVE_EVENTS(task->thread.dbcr0, in user_disable_single_step() 870 task->thread.dbcr0 &= ~DBCR0_IDM; in user_disable_single_step() 996 if (!DBCR_ACTIVE_EVENTS(task->thread.dbcr0, in ptrace_set_debugreg() 999 task->thread.dbcr0 &= ~DBCR0_IDM; in ptrace_set_debugreg() 1011 task->thread.dbcr0 |= DBCR0_IDM; in ptrace_set_debugreg() [all …]
|
D | process.c | 307 thread->dbcr0 = 0; in set_debug_reg_defaults() 338 mtspr(SPRN_DBCR0, thread->dbcr0); in prime_debug_regs() 351 if ((current->thread.dbcr0 & DBCR0_IDM) in switch_booke_debug_regs() 352 || (new_thread->dbcr0 & DBCR0_IDM)) in switch_booke_debug_regs() 493 if ((new_thread->dbcr0 | old_thread->dbcr0) & DBCR0_IDM) { in __switch_to() 494 u32 dbcr0; in __switch_to() local 498 dbcr0 = mfspr(SPRN_DBCR0); in __switch_to() 499 dbcr0 = (dbcr0 & DBCR0_EDM) | new_thread->dbcr0; in __switch_to() 500 mtspr(SPRN_DBCR0, dbcr0); in __switch_to()
|
D | traps.c | 314 #define single_stepping(regs) (current->thread.dbcr0 & DBCR0_IC) 315 #define clear_single_step(regs) (current->thread.dbcr0 &= ~DBCR0_IC) 1176 current->thread.dbcr0 &= ~DBCR0_IAC1; in handle_debug() 1182 current->thread.dbcr0 &= ~DBCR0_IAC2; in handle_debug() 1187 current->thread.dbcr0 &= ~DBCR0_IAC3; in handle_debug() 1193 current->thread.dbcr0 &= ~DBCR0_IAC4; in handle_debug() 1203 if (DBCR_ACTIVE_EVENTS(current->thread.dbcr0, current->thread.dbcr1)) in handle_debug() 1207 current->thread.dbcr0 &= ~DBCR0_IDM; in handle_debug() 1210 mtspr(SPRN_DBCR0, current->thread.dbcr0); in handle_debug() 1232 current->thread.dbcr0 &= ~DBCR0_BT; in DebugException() [all …]
|
D | signal_32.c | 1082 unsigned long new_dbcr0 = current->thread.dbcr0; in sys_debug_setcontext() 1132 current->thread.dbcr0 = new_dbcr0; in sys_debug_setcontext()
|
D | asm-offsets.c | 102 DEFINE(THREAD_DBCR0, offsetof(struct thread_struct, dbcr0)); in main()
|
/linux-2.6.39/arch/powerpc/include/asm/ |
D | reg_booke.h | 348 #define dbcr_iac_range(task) ((task)->thread.dbcr0) 376 #define DBCR_ACTIVE_EVENTS(dbcr0, dbcr1) (((dbcr0) & DBCR0_ACTIVE_EVENTS) || \ argument 408 #define dbcr_dac(task) ((task)->thread.dbcr0) 478 #define DBCR_ACTIVE_EVENTS(dbcr0, dbcr1) (((dbcr0) & DBCR0_ACTIVE_EVENTS) || \ argument
|
D | processor.h | 167 unsigned long dbcr0; member
|
D | kvm_host.h | 253 u32 dbcr0; member
|
/linux-2.6.39/arch/powerpc/kvm/ |
D | booke_emulate.c | 112 vcpu->arch.dbcr0 = spr_val; break; in kvmppc_booke_emulate_mtspr() 207 kvmppc_set_gpr(vcpu, rt, vcpu->arch.dbcr0); break; in kvmppc_booke_emulate_mfspr()
|