Home
last modified time | relevance | path

Searched refs:dabr (Results 1 – 11 of 11) sorted by relevance

/arch/powerpc/kernel/
Dprocess.c276 int set_dabr(unsigned long dabr) in set_dabr() argument
278 __get_cpu_var(current_dabr) = dabr; in set_dabr()
281 return ppc_md.set_dabr(dabr); in set_dabr()
285 mtspr(SPRN_DABR, dabr); in set_dabr()
289 mtspr(SPRN_DAC1, dabr); in set_dabr()
372 if (unlikely(__get_cpu_var(current_dabr) != new->thread.dabr)) in __switch_to()
373 set_dabr(new->thread.dabr); in __switch_to()
377 if (new->thread.dabr) in __switch_to()
378 set_dabr(new->thread.dabr); in __switch_to()
568 if (current->thread.dabr) { in flush_thread()
[all …]
Dsignal.c148 if (current->thread.dabr) { in do_signal_pending()
149 set_dabr(current->thread.dabr); in do_signal_pending()
Dptrace.c723 if (task->thread.dabr) in user_disable_single_step()
771 task->thread.dabr = data; in ptrace_set_debugreg()
782 task->thread.dabr = data & ~0x3UL; in ptrace_set_debugreg()
784 if (task->thread.dabr == 0) { in ptrace_set_debugreg()
920 ret = put_user(child->thread.dabr, in arch_ptrace()
Dptrace32.c277 ret = put_user(child->thread.dabr, (u32 __user *)data); in compat_arch_ptrace()
/arch/powerpc/platforms/pseries/
Dsetup.c308 static int pseries_set_dabr(unsigned long dabr) in pseries_set_dabr() argument
310 return plpar_hcall_norets(H_SET_DABR, dabr); in pseries_set_dabr()
313 static int pseries_set_xdabr(unsigned long dabr) in pseries_set_xdabr() argument
316 return plpar_hcall_norets(H_SET_XDABR, dabr, in pseries_set_xdabr()
/arch/powerpc/platforms/cell/
Dbeat.c139 int beat_set_xdabr(unsigned long dabr) in beat_set_xdabr() argument
141 if (beat_set_dabr(dabr, DABRX_KERNEL | DABRX_USER)) in beat_set_xdabr()
/arch/powerpc/platforms/ps3/
Dsetup.c189 static int ps3_set_dabr(unsigned long dabr) in ps3_set_dabr() argument
193 return lv1_set_dabr(dabr, DABR_KERNEL | DABR_USER) ? -1 : 0; in ps3_set_dabr()
/arch/powerpc/xmon/
Dxmon.c96 static struct bpt dabr; variable
590 if (dabr.enabled == 0) in xmon_dabr_match()
719 if (dabr.enabled) in insert_cpu_bpts()
720 set_dabr(dabr.address | (dabr.enabled & 7)); in insert_cpu_bpts()
1098 dabr.address = 0; in bpt_cmds()
1099 dabr.enabled = 0; in bpt_cmds()
1100 if (scanhex(&dabr.address)) { in bpt_cmds()
1101 if (!is_kernel_addr(dabr.address)) { in bpt_cmds()
1105 dabr.address &= ~7; in bpt_cmds()
1106 dabr.enabled = mode | BP_DABR; in bpt_cmds()
[all …]
/arch/powerpc/include/asm/
Dprocessor.h181 unsigned long dabr; /* Data address breakpoint register */ member
Dmachdep.h196 int (*set_dabr)(unsigned long dabr);
Dsystem.h114 extern int set_dabr(unsigned long dabr);