summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/sysarch.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1993-11-07 17:43:17 +0000
committerwollman <wollman@FreeBSD.org>1993-11-07 17:43:17 +0000
commit371ee40cea1e168ed119bcd1cde2809629c4ac68 (patch)
tree7642d79d397e1c876673a91bfe70b030e5bcb793 /sys/amd64/include/sysarch.h
parentc1b92d6bad47f8c2ca5bd5d68fdad201868e0126 (diff)
downloadFreeBSD-src-371ee40cea1e168ed119bcd1cde2809629c4ac68.zip
FreeBSD-src-371ee40cea1e168ed119bcd1cde2809629c4ac68.tar.gz
Made all header files idempotent and moved incorrect common data from
headers into a related source file. Added cons.h as first step towards moving i386/i386/cons.h to machine/cons.h where it belongs.
Diffstat (limited to 'sys/amd64/include/sysarch.h')
-rw-r--r--sys/amd64/include/sysarch.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/sys/amd64/include/sysarch.h b/sys/amd64/include/sysarch.h
index 92abe9c..2649ba5 100644
--- a/sys/amd64/include/sysarch.h
+++ b/sys/amd64/include/sysarch.h
@@ -1,12 +1,24 @@
/*
* Architecture specific syscalls (i386)
*
- * $Id$
+ * $Id: sysarch.h,v 1.2 1993/10/16 14:39:35 rgrimes Exp $
*/
+#ifndef _MACHINE_SYSARCH_H_
+#define _MACHINE_SYSARCH_H_ 1
+
+#include <sys/cdefs.h>
+
#define I386_GET_LDT 0
#define I386_SET_LDT 1
-#ifndef KERNEL
+#ifdef KERNEL
+/* nothing here yet... */
+#else /* not KERNEL */
+__BEGIN_DECLS
+
int i386_get_ldt __P((int, union descriptor *, int));
int i386_set_ldt __P((int, union descriptor *, int));
-#endif
+
+__END_DECLS
+#endif /* not KERNEL */
+#endif /* _MACHINE_SYSARCH_H_ */
OpenPOWER on IntegriCloud