summaryrefslogtreecommitdiff
path: root/sys/arch/arc/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/arc/include')
-rw-r--r--sys/arch/arc/include/asm.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/arch/arc/include/asm.h b/sys/arch/arc/include/asm.h
index b276c10a1f3..81cc88408c5 100644
--- a/sys/arch/arc/include/asm.h
+++ b/sys/arch/arc/include/asm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: asm.h,v 1.1 1996/06/24 09:07:18 pefo Exp $ */
+/* $OpenBSD: asm.h,v 1.2 1996/07/18 17:00:09 pefo Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -56,6 +56,14 @@
#define _C_LABEL(x) x
/*
+ * Define how to access unaligned data word
+ */
+#define LWLO lwr
+#define LWHI lwl
+#define SWLO swr
+#define SWHI swl
+
+/*
* Define -pg profile entry code.
*/
#if defined(GPROF) || defined(PROF)