summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/hppa64/include/cpufunc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/hppa64/include/cpufunc.h b/sys/arch/hppa64/include/cpufunc.h
index 5a5c83af6ef..ea08254ebdf 100644
--- a/sys/arch/hppa64/include/cpufunc.h
+++ b/sys/arch/hppa64/include/cpufunc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpufunc.h,v 1.2 2011/03/23 16:54:35 pirofti Exp $ */
+/* $OpenBSD: cpufunc.h,v 1.3 2011/04/05 17:17:06 jsing Exp $ */
/*
* Copyright (c) 1998-2004 Michael Shalayeff
@@ -31,4 +31,7 @@
#define mtsp(v,r) __asm __volatile ("mtsp %0,%1":: "r" (v), "i" (r))
+#define ssm(v,r) __asm __volatile("ssm %1,%0": "=r" (r): "i" (v))
+#define rsm(v,r) __asm __volatile("rsm %1,%0": "=r" (r): "i" (v))
+
#endif