aboutsummaryrefslogtreecommitdiff
path: root/sys/sun4v/include/fsr.h
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2007-01-19 11:15:34 +0000
committerMarius Strobl <marius@FreeBSD.org>2007-01-19 11:15:34 +0000
commit0ca3609e30f74cad1a9787c7afaa84aca4e8aa1f (patch)
tree2081798bc33b8d901626e55700e1b4e8b3beb0dd /sys/sun4v/include/fsr.h
parent7e2ff8bbff073b8f2d10ad9d4f1929e66f16395d (diff)
Convert the remainder of the low hanging fruits regarding including
headers in .S directly rather than getting to their macros through genassym.c/assym.s so there are less headers genassym.c has to be kept in sync with. While at it fix some stytle(9) bugs (indentation, prototype format, sort headers, etc) and remove trailing whitespace.
Notes
Notes: svn path=/head/; revision=166105
Diffstat (limited to 'sys/sun4v/include/fsr.h')
-rw-r--r--sys/sun4v/include/fsr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sun4v/include/fsr.h b/sys/sun4v/include/fsr.h
index 61a81f7ef965..db0039a236e0 100644
--- a/sys/sun4v/include/fsr.h
+++ b/sys/sun4v/include/fsr.h
@@ -31,6 +31,8 @@
#define FPRS_DU (1 << 1)
#define FPRS_FEF (1 << 2)
+#ifndef LOCORE
+
#define FSR_EXC_BITS 5
#define FSR_EXC_MASK ((1UL << FSR_EXC_BITS) - 1)
#define FSR_CEXC_SHIFT 0
@@ -105,4 +107,6 @@
#define FSR_CC_GT 2 /* a > b */
#define FSR_CC_UO 3 /* unordered */
+#endif /* !LOCORE */
+
#endif /* !_MACHINE_FSR_H_ */