diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-07-18 17:00:10 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-07-18 17:00:10 +0000 |
commit | 8d89a2859cec232a2b5915f393fe8d72258090ed (patch) | |
tree | 6e124bceb4b50d502bd0ce96cd192749301ad7e3 /sys/arch/arc | |
parent | 9a49469d984cc0ddc518e5cf776b874aac7479ea (diff) |
Endian macros added.
Diffstat (limited to 'sys/arch/arc')
-rw-r--r-- | sys/arch/arc/include/asm.h | 10 |
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) |