Home
last modified time | relevance | path

Searched refs:dbcr0 (Results 1 – 9 of 9) sorted by relevance

/arch/powerpc/kernel/
Dptrace.c2308 task->thread.debug.dbcr0 &= ~DBCR0_BT; in user_enable_single_step()
2309 task->thread.debug.dbcr0 |= DBCR0_IDM | DBCR0_IC; in user_enable_single_step()
2325 task->thread.debug.dbcr0 &= ~DBCR0_IC; in user_enable_block_step()
2326 task->thread.debug.dbcr0 = DBCR0_IDM | DBCR0_BT; in user_enable_block_step()
2348 task->thread.debug.dbcr0 &= ~(DBCR0_IC|DBCR0_BT); in user_disable_single_step()
2352 if (!DBCR_ACTIVE_EVENTS(task->thread.debug.dbcr0, in user_disable_single_step()
2357 task->thread.debug.dbcr0 &= ~DBCR0_IDM; in user_disable_single_step()
2486 if (!DBCR_ACTIVE_EVENTS(task->thread.debug.dbcr0, in ptrace_set_debugreg()
2489 task->thread.debug.dbcr0 &= ~DBCR0_IDM; in ptrace_set_debugreg()
2501 task->thread.debug.dbcr0 |= DBCR0_IDM; in ptrace_set_debugreg()
[all …]
Dtraps.c588 #define single_stepping(regs) (current->thread.debug.dbcr0 & DBCR0_IC)
589 #define clear_single_step(regs) (current->thread.debug.dbcr0 &= ~DBCR0_IC)
1922 current->thread.debug.dbcr0 &= ~DBCR0_IAC1; in handle_debug()
1928 current->thread.debug.dbcr0 &= ~DBCR0_IAC2; in handle_debug()
1933 current->thread.debug.dbcr0 &= ~DBCR0_IAC3; in handle_debug()
1939 current->thread.debug.dbcr0 &= ~DBCR0_IAC4; in handle_debug()
1949 if (DBCR_ACTIVE_EVENTS(current->thread.debug.dbcr0, in handle_debug()
1954 current->thread.debug.dbcr0 &= ~DBCR0_IDM; in handle_debug()
1957 mtspr(SPRN_DBCR0, current->thread.debug.dbcr0); in handle_debug()
1979 current->thread.debug.dbcr0 &= ~DBCR0_BT; in DebugException()
[all …]
Dprocess.c649 thread->debug.dbcr0 = 0; in set_debug_reg_defaults()
687 mtspr(SPRN_DBCR0, debug->dbcr0); in prime_debug_regs()
700 if ((current->thread.debug.dbcr0 & DBCR0_IDM) in switch_booke_debug_regs()
701 || (new_debug->dbcr0 & DBCR0_IDM)) in switch_booke_debug_regs()
Dsignal_32.c1264 unsigned long new_dbcr0 = current->thread.debug.dbcr0; in SYSCALL_DEFINE3()
1314 current->thread.debug.dbcr0 = new_dbcr0; in SYSCALL_DEFINE3()
Dasm-offsets.c138 OFFSET(THREAD_DBCR0, thread_struct, debug.dbcr0); in main()
/arch/powerpc/include/asm/
Dreg_booke.h402 #define dbcr_iac_range(task) ((task)->thread.debug.dbcr0)
430 #define DBCR_ACTIVE_EVENTS(dbcr0, dbcr1) (((dbcr0) & DBCR0_ACTIVE_EVENTS) || \ argument
462 #define dbcr_dac(task) ((task)->thread.debug.dbcr0)
532 #define DBCR_ACTIVE_EVENTS(dbcr0, dbcr1) (((dbcr0) & DBCR0_ACTIVE_EVENTS) || \ argument
Dprocessor.h111 uint32_t dbcr0; member
/arch/powerpc/kvm/
Dbooke.c854 (vcpu->arch.dbg_reg.dbcr0 & DBCR0_IDM)) in kvmppc_handle_debug()
1890 dbg_reg->dbcr0 |= DBCR0_IAC1; in kvmppc_booke_add_breakpoint()
1894 dbg_reg->dbcr0 |= DBCR0_IAC2; in kvmppc_booke_add_breakpoint()
1899 dbg_reg->dbcr0 |= DBCR0_IAC3; in kvmppc_booke_add_breakpoint()
1903 dbg_reg->dbcr0 |= DBCR0_IAC4; in kvmppc_booke_add_breakpoint()
1911 dbg_reg->dbcr0 |= DBCR0_IDM; in kvmppc_booke_add_breakpoint()
1921 dbg_reg->dbcr0 |= DBCR0_DAC1R; in kvmppc_booke_add_watchpoint()
1923 dbg_reg->dbcr0 |= DBCR0_DAC1W; in kvmppc_booke_add_watchpoint()
1928 dbg_reg->dbcr0 |= DBCR0_DAC2R; in kvmppc_booke_add_watchpoint()
1930 dbg_reg->dbcr0 |= DBCR0_DAC2W; in kvmppc_booke_add_watchpoint()
[all …]
Dbooke_emulate.c225 vcpu->arch.dbg_reg.dbcr0 = spr_val; in kvmppc_booke_emulate_mtspr()
429 *spr_val = vcpu->arch.dbg_reg.dbcr0; in kvmppc_booke_emulate_mfspr()