summaryrefslogtreecommitdiff
path: root/include/asm-ppc64/plpar_wrappers.h
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2005-09-10 10:01:11 +0400
committerPaul Mackerras <paulus@samba.org>2005-09-12 11:19:12 +0400
commitfd9648dff6f9797ecc509bcd181706a274dc074d (patch)
tree845b99905dc4f54171d554c14e45b55f1cfe48e2 /include/asm-ppc64/plpar_wrappers.h
parenta94d308513bdb2b926b45c11d7ce7fac6d6ca865 (diff)
downloadlinux-fd9648dff6f9797ecc509bcd181706a274dc074d.tar.xz
[PATCH] ppc64: Add ptrace data breakpoint support
Add hardware data breakpoint support. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc64/plpar_wrappers.h')
-rw-r--r--include/asm-ppc64/plpar_wrappers.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-ppc64/plpar_wrappers.h b/include/asm-ppc64/plpar_wrappers.h
index f4a5fb7d67c7..72dd2449ee76 100644
--- a/include/asm-ppc64/plpar_wrappers.h
+++ b/include/asm-ppc64/plpar_wrappers.h
@@ -107,5 +107,14 @@ static inline long plpar_put_term_char(unsigned long termno,
lbuf[1]);
}
+static inline long plpar_set_xdabr(unsigned long address, unsigned long flags)
+{
+ return plpar_hcall_norets(H_SET_XDABR, address, flags);
+}
+
+static inline long plpar_set_dabr(unsigned long val)
+{
+ return plpar_hcall_norets(H_SET_DABR, val);
+}
#endif /* _PPC64_PLPAR_WRAPPERS_H */