]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Refactor OpenBSD param files into common and architecture-specific
authorMatt Benjamin <matt@linuxbox.com>
Tue, 21 Jul 2009 21:07:36 +0000 (17:07 -0400)
committerDerrick Brashear <shadow@dementia.org>
Thu, 23 Jul 2009 17:43:57 +0000 (10:43 -0700)
sections.

The new structure follows the pattern of the NetBSD param files, as
suggested by Derrick.  Since the change is retroactive, it seems
reasonable to also make the retroactive change to add the amd64 param
files, back to OpenBSD 3.6.  OpenBSD 3.6 added SMP support for x86_64,
so the architecture was a mature subtarget at that point.

Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/177
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
42 files changed:
acinclude.m4
src/config/afs_sysnames.h
src/config/param.amd64_obsd36.h [new file with mode: 0644]
src/config/param.amd64_obsd37.h [new file with mode: 0644]
src/config/param.amd64_obsd38.h [new file with mode: 0644]
src/config/param.amd64_obsd39.h [new file with mode: 0644]
src/config/param.amd64_obsd40.h [new file with mode: 0644]
src/config/param.amd64_obsd41.h [new file with mode: 0644]
src/config/param.amd64_obsd42.h [new file with mode: 0644]
src/config/param.amd64_obsd43.h [new file with mode: 0644]
src/config/param.amd64_obsd44.h [new file with mode: 0644]
src/config/param.amd64_obsd45.h
src/config/param.i386_obsd31.h
src/config/param.i386_obsd32.h
src/config/param.i386_obsd33.h
src/config/param.i386_obsd34.h
src/config/param.i386_obsd35.h
src/config/param.i386_obsd36.h
src/config/param.i386_obsd37.h
src/config/param.i386_obsd38.h
src/config/param.i386_obsd39.h
src/config/param.i386_obsd40.h
src/config/param.i386_obsd41.h
src/config/param.i386_obsd42.h [new file with mode: 0644]
src/config/param.i386_obsd43.h [new file with mode: 0644]
src/config/param.i386_obsd44.h
src/config/param.i386_obsd45.h
src/config/param.obsd31.h [new file with mode: 0644]
src/config/param.obsd32.h [new file with mode: 0644]
src/config/param.obsd33.h [new file with mode: 0644]
src/config/param.obsd34.h [new file with mode: 0644]
src/config/param.obsd35.h [new file with mode: 0644]
src/config/param.obsd36.h [new file with mode: 0644]
src/config/param.obsd37.h [new file with mode: 0644]
src/config/param.obsd38.h [new file with mode: 0644]
src/config/param.obsd39.h [new file with mode: 0644]
src/config/param.obsd40.h [new file with mode: 0644]
src/config/param.obsd41.h [new file with mode: 0644]
src/config/param.obsd42.h [new file with mode: 0644]
src/config/param.obsd43.h [new file with mode: 0644]
src/config/param.obsd44.h [new file with mode: 0644]
src/config/param.obsd45.h [new file with mode: 0644]

index bcbbcfb005e2c26480d23a8c247b67958d63084b..86e5848e9c8710090e5432275912e34b1ff1a371 100644 (file)
@@ -548,10 +548,12 @@ else
                        AFS_SYSNAME="amd64_nbsd20"
                        ;;
                x86_64-*-netbsd*3.[[0-8]]*)
+# XXX AFS_PARAM_COMMON handled separately, redundant?
                        AFS_PARAM_COMMON=param.nbsd30.h
                        AFS_SYSNAME="amd64_nbsd30"
                        ;;
                x86_64-*-netbsd*4.[[0-8]]*)
+# XXX AFS_PARAM_COMMON handled separately, redundant?
                        AFS_PARAM_COMMON=param.nbsd40.h
                        AFS_SYSNAME="amd64_nbsd40"
                        ;;
@@ -832,6 +834,21 @@ case $AFS_SYSNAME in
     *_nbsd21)   AFS_PARAM_COMMON=param.nbsd21.h  ;;
     *_nbsd30)   AFS_PARAM_COMMON=param.nbsd30.h  ;;
     *_nbsd40)   AFS_PARAM_COMMON=param.nbsd40.h  ;;
+    *_obsd31)   AFS_PARAM_COMMON=param.obsd31.h  ;;
+    *_obsd32)   AFS_PARAM_COMMON=param.obsd32.h  ;;
+    *_obsd33)   AFS_PARAM_COMMON=param.obsd33.h  ;;
+    *_obsd34)   AFS_PARAM_COMMON=param.obsd34.h  ;;
+    *_obsd35)   AFS_PARAM_COMMON=param.obsd35.h  ;;
+    *_obsd36)   AFS_PARAM_COMMON=param.obsd36.h  ;;
+    *_obsd37)   AFS_PARAM_COMMON=param.obsd37.h  ;;
+    *_obsd38)   AFS_PARAM_COMMON=param.obsd38.h  ;;
+    *_obsd39)   AFS_PARAM_COMMON=param.obsd39.h  ;;
+    *_obsd40)   AFS_PARAM_COMMON=param.obsd40.h  ;;
+    *_obsd41)   AFS_PARAM_COMMON=param.obsd41.h  ;;
+    *_obsd42)   AFS_PARAM_COMMON=param.obsd42.h  ;;
+    *_obsd43)   AFS_PARAM_COMMON=param.obsd43.h  ;;
+    *_obsd44)   AFS_PARAM_COMMON=param.obsd44.h  ;;
+    *_obsd45)   AFS_PARAM_COMMON=param.obsd45.h  ;;
     *_linux22)  AFS_PARAM_COMMON=param.linux22.h ;;
     *_linux24)  AFS_PARAM_COMMON=param.linux24.h ;;
     *_linux26)  AFS_PARAM_COMMON=param.linux26.h ;;
index 201ad44657be6b1777b86364abd3d8d72d91fb10..92ce477786d945b8ff95dd62196daddd26842b7f 100644 (file)
 #define SYS_NAME_ID_i386_dfbsd_22        3900
 #define SYS_NAME_ID_i386_dfbsd_23        3901
 
+#define SYS_NAME_ID_amd64_obsd36        4005
+#define SYS_NAME_ID_amd64_obsd37        4006
+#define SYS_NAME_ID_amd64_obsd38        4007
+#define SYS_NAME_ID_amd64_obsd39        4008
+#define SYS_NAME_ID_amd64_obsd40        4009
+#define SYS_NAME_ID_amd64_obsd41        4010
+#define SYS_NAME_ID_amd64_obsd42        4011
+#define SYS_NAME_ID_amd64_obsd43        4012
+#define SYS_NAME_ID_amd64_obsd44        4013
+#define SYS_NAME_ID_amd64_obsd45        4014
 #define SYS_NAME_ID_amd64_obsd45        4014
 
 /*
diff --git a/src/config/param.amd64_obsd36.h b/src/config/param.amd64_obsd36.h
new file mode 100644 (file)
index 0000000..24a407e
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_AMD64_PARAM_H
+#define        AFS_AMD64_PARAM_H
+
+#define SYS_NAME               "amd64_obsd36"
+#define SYS_NAME_ID            SYS_NAME_ID_amd64_obsd36
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+#define AFS_X86_XBSD_ENV       1
+#define AFS_X86_ENV            1
+#define AFS_64BITPOINTER_ENV    1
+#define AFSLITTLE_ENDIAN       1
+
+#endif /* AFS_AMD64_PARAM_H */
diff --git a/src/config/param.amd64_obsd37.h b/src/config/param.amd64_obsd37.h
new file mode 100644 (file)
index 0000000..dd13904
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_AMD64_PARAM_H
+#define        AFS_AMD64_PARAM_H
+
+#define SYS_NAME               "amd64_obsd37"
+#define SYS_NAME_ID            SYS_NAME_ID_amd64_obsd37
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+#define AFS_X86_XBSD_ENV       1
+#define AFS_X86_ENV            1
+#define AFS_64BITPOINTER_ENV    1
+#define AFSLITTLE_ENDIAN       1
+
+#endif /* AFS_AMD64_PARAM_H */
diff --git a/src/config/param.amd64_obsd38.h b/src/config/param.amd64_obsd38.h
new file mode 100644 (file)
index 0000000..db8513c
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_AMD64_PARAM_H
+#define        AFS_AMD64_PARAM_H
+
+#define SYS_NAME               "amd64_obsd38"
+#define SYS_NAME_ID            SYS_NAME_ID_amd64_obsd38
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+#define AFS_X86_XBSD_ENV       1
+#define AFS_X86_ENV            1
+#define AFS_64BITPOINTER_ENV    1
+#define AFSLITTLE_ENDIAN       1
+
+#endif /* AFS_AMD64_PARAM_H */
diff --git a/src/config/param.amd64_obsd39.h b/src/config/param.amd64_obsd39.h
new file mode 100644 (file)
index 0000000..84f307c
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_AMD64_PARAM_H
+#define        AFS_AMD64_PARAM_H
+
+#define SYS_NAME               "amd64_obsd39"
+#define SYS_NAME_ID            SYS_NAME_ID_amd64_obsd39
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+#define AFS_X86_XBSD_ENV       1
+#define AFS_X86_ENV            1
+#define AFS_64BITPOINTER_ENV    1
+#define AFSLITTLE_ENDIAN       1
+
+#endif /* AFS_AMD64_PARAM_H */
diff --git a/src/config/param.amd64_obsd40.h b/src/config/param.amd64_obsd40.h
new file mode 100644 (file)
index 0000000..e92387e
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_AMD64_PARAM_H
+#define        AFS_AMD64_PARAM_H
+
+#define SYS_NAME               "amd64_obsd40"
+#define SYS_NAME_ID            SYS_NAME_ID_amd64_obsd40
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+#define AFS_X86_XBSD_ENV       1
+#define AFS_X86_ENV            1
+#define AFS_64BITPOINTER_ENV    1
+#define AFSLITTLE_ENDIAN       1
+
+#endif /* AFS_AMD64_PARAM_H */
diff --git a/src/config/param.amd64_obsd41.h b/src/config/param.amd64_obsd41.h
new file mode 100644 (file)
index 0000000..4916750
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_AMD64_PARAM_H
+#define        AFS_AMD64_PARAM_H
+
+#define SYS_NAME               "amd64_obsd41"
+#define SYS_NAME_ID            SYS_NAME_ID_amd64_obsd41
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+#define AFS_X86_XBSD_ENV       1
+#define AFS_X86_ENV            1
+#define AFS_64BITPOINTER_ENV    1
+#define AFSLITTLE_ENDIAN       1
+
+#endif /* AFS_AMD64_PARAM_H */
diff --git a/src/config/param.amd64_obsd42.h b/src/config/param.amd64_obsd42.h
new file mode 100644 (file)
index 0000000..747c056
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_AMD64_PARAM_H
+#define        AFS_AMD64_PARAM_H
+
+#define SYS_NAME               "amd64_obsd42"
+#define SYS_NAME_ID            SYS_NAME_ID_amd64_obsd42
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+#define AFS_X86_XBSD_ENV       1
+#define AFS_X86_ENV            1
+#define AFS_64BITPOINTER_ENV    1
+#define AFSLITTLE_ENDIAN       1
+
+#endif /* AFS_AMD64_PARAM_H */
diff --git a/src/config/param.amd64_obsd43.h b/src/config/param.amd64_obsd43.h
new file mode 100644 (file)
index 0000000..5a05c1d
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_AMD64_PARAM_H
+#define        AFS_AMD64_PARAM_H
+
+#define SYS_NAME               "amd64_obsd43"
+#define SYS_NAME_ID            SYS_NAME_ID_amd64_obsd43
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+#define AFS_X86_XBSD_ENV       1
+#define AFS_X86_ENV            1
+#define AFS_64BITPOINTER_ENV    1
+#define AFSLITTLE_ENDIAN       1
+
+#endif /* AFS_AMD64_PARAM_H */
diff --git a/src/config/param.amd64_obsd44.h b/src/config/param.amd64_obsd44.h
new file mode 100644 (file)
index 0000000..2b13174
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_AMD64_PARAM_H
+#define        AFS_AMD64_PARAM_H
+
+#define SYS_NAME               "amd64_obsd44"
+#define SYS_NAME_ID            SYS_NAME_ID_amd64_obsd44
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+#define AFS_X86_XBSD_ENV       1
+#define AFS_X86_ENV            1
+#define AFS_64BITPOINTER_ENV    1
+#define AFSLITTLE_ENDIAN       1
+
+#endif /* AFS_AMD64_PARAM_H */
index 84302c9cf7a4d030336dd52852be490ebf4ff083..8c1b02ef0d881562923270711a32e504c9fe51f6 100644 (file)
@@ -3,73 +3,16 @@
  * OpenBSD porting work.
  */
 
-#ifndef        AFS_PARAM_H
-#define        AFS_PARAM_H
-
-#ifndef IGNORE_STDS_H
-#include <sys/param.h>
-#endif
+#ifndef        AFS_AMD64_PARAM_H
+#define        AFS_AMD64_PARAM_H
 
 #define SYS_NAME               "amd64_obsd45"
 #define SYS_NAME_ID            SYS_NAME_ID_amd64_obsd45
 
 #define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 #define AFS_X86_XBSD_ENV       1
-
-#define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
+#define AFS_X86_ENV            1
 #define AFS_64BITPOINTER_ENV    1
-#define AFS_64BIT_CLIENT       1
-#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
-#define AFS_OBSD_ENV           1
-#define AFS_OBSD34_ENV         1
-#define AFS_OBSD35_ENV         1
-#define AFS_OBSD36_ENV         1
-#define AFS_OBSD37_ENV         1
-#define AFS_OBSD38_ENV         1
-#define AFS_OBSD39_ENV         1
-#define AFS_OBSD40_ENV         1
-#define AFS_OBSD41_ENV         1
-#define AFS_OBSD42_ENV         1
-#define AFS_OBSD43_ENV         1
-#define AFS_OBSD44_ENV         1
-#define AFS_OBSD45_ENV         1
-#define AFS_NONFSTRANS         1
-#define AFS_VM_RDWR_ENV                1
-#define AFS_VFS_ENV            1
-#define AFS_VFSINCL_ENV                1
-
-#define FTRUNC O_TRUNC
-
-#define AFS_SYSCALL            208
-#define AFS_MOUNT_AFS          "afs"
-
-#define RXK_LISTENER_ENV       1
-#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
-#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
-
 #define AFSLITTLE_ENDIAN       1
 
-#ifndef IGNORE_STDS_H
-#include <afs/afs_sysnames.h>
-#endif
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef _KERNEL
-#define AFS_GLOBAL_SUNLOCK     1
-#define        AFS_SHORTGID            0       /* are group id's short? */
-
-#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
-enum vcexcl { NONEXCL, EXCL };
-
-#ifndef MIN
-#define MIN(A,B) ((A) < (B) ? (A) : (B))
-#endif
-#ifndef MAX
-#define MAX(A,B) ((A) > (B) ? (A) : (B))
-#endif
-
-#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
-#endif /* _KERNEL */
-
-#endif /* AFS_PARAM_H */
+#endif /* AFS_AMD64_PARAM_H */
index ec2b6d643fc14b5a230692d61111941336de63e2..0a8abdc2cb6352b1f83b5273d2faa6ccc3316500 100644 (file)
@@ -1,61 +1,16 @@
 /*
- * Jim Rees, University of Michigan CITI
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
  */
 
-#ifndef        AFS_PARAM_H
-#define        AFS_PARAM_H
-
-#ifndef IGNORE_STDS_H
-#include <sys/param.h>
-#endif
-
-#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
-#define AFS_X86_XBSD_ENV       1
-
-#define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
-#define AFS_64BIT_CLIENT       1
-#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
-#define        AFS_OBSD_ENV            1
-#define AFS_NONFSTRANS         1
-#define AFS_VM_RDWR_ENV                1
-#define AFS_VFS_ENV            1
-#define AFS_VFSINCL_ENV                1
-
-#define FTRUNC O_TRUNC
-
-#define AFS_SYSCALL            208
-#define AFS_MOUNT_AFS          "afs"
-
-#define RXK_LISTENER_ENV       1
-#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
-#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
-
-#define AFSLITTLE_ENDIAN       1
-
-#ifndef IGNORE_STDS_H
-#include <afs/afs_sysnames.h>
-#endif
+#ifndef        AFS_I386_PARAM_H
+#define        AFS_I386_PARAM_H
 
 #define SYS_NAME               "i386_obsd31"
 #define SYS_NAME_ID            SYS_NAME_ID_i386_obsd31
 
-/* Extra kernel definitions (from kdefs file) */
-#ifdef _KERNEL
-#define AFS_GLOBAL_SUNLOCK     1
-#define        AFS_SHORTGID            0       /* are group id's short? */
-
-#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
-enum vcexcl { NONEXCL, EXCL };
-
-#ifndef MIN
-#define MIN(A,B) ((A) < (B) ? (A) : (B))
-#endif
-#ifndef MAX
-#define MAX(A,B) ((A) > (B) ? (A) : (B))
-#endif
-
-#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
-#endif /* _KERNEL */
+#define AFS_X86_XBSD_ENV       1
+#define AFS_X86_ENV             1
+#define AFSLITTLE_ENDIAN       1
 
-#endif /* AFS_PARAM_H */
+#endif /* AFS_I386_PARAM_H */
index ae1a65c96291b28e6c03693673a4050931e42a27..4836cb9812ddeba0bdc75553bd7515e338dbbacb 100644 (file)
@@ -1,61 +1,16 @@
 /*
- * Jim Rees, University of Michigan CITI
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
  */
 
-#ifndef        AFS_PARAM_H
-#define        AFS_PARAM_H
-
-#ifndef IGNORE_STDS_H
-#include <sys/param.h>
-#endif
-
-#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
-#define AFS_X86_XBSD_ENV       1
-
-#define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
-#define AFS_64BIT_CLIENT       1
-#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
-#define        AFS_OBSD_ENV            1
-#define AFS_NONFSTRANS         1
-#define AFS_VM_RDWR_ENV                1
-#define AFS_VFS_ENV            1
-#define AFS_VFSINCL_ENV                1
-
-#define FTRUNC O_TRUNC
-
-#define AFS_SYSCALL            208
-#define AFS_MOUNT_AFS          "afs"
-
-#define RXK_LISTENER_ENV       1
-#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
-#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
-
-#define AFSLITTLE_ENDIAN       1
-
-#ifndef IGNORE_STDS_H
-#include <afs/afs_sysnames.h>
-#endif
+#ifndef        AFS_I386_PARAM_H
+#define        AFS_I386_PARAM_H
 
 #define SYS_NAME               "i386_obsd32"
 #define SYS_NAME_ID            SYS_NAME_ID_i386_obsd32
 
-/* Extra kernel definitions (from kdefs file) */
-#ifdef _KERNEL
-#define AFS_GLOBAL_SUNLOCK     1
-#define        AFS_SHORTGID            0       /* are group id's short? */
-
-#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
-enum vcexcl { NONEXCL, EXCL };
-
-#ifndef MIN
-#define MIN(A,B) ((A) < (B) ? (A) : (B))
-#endif
-#ifndef MAX
-#define MAX(A,B) ((A) > (B) ? (A) : (B))
-#endif
-
-#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
-#endif /* _KERNEL */
+#define AFS_X86_XBSD_ENV       1
+#define AFS_X86_ENV            1
+#define AFSLITTLE_ENDIAN       1
 
-#endif /* AFS_PARAM_H */
+#endif /* AFS_I386_PARAM_H */
index a1d880955a2478477dbf3fb40f43020d844825cf..9b0d3ebaa1e96bfa5bca25565d206f5d22bb822a 100644 (file)
@@ -1,63 +1,16 @@
 /*
- * Jim Rees, University of Michigan CITI
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
  */
 
-#ifndef        AFS_PARAM_H
-#define        AFS_PARAM_H
-
-#ifndef IGNORE_STDS_H
-#include <sys/param.h>
-#endif
+#ifndef        AFS_I386_PARAM_H
+#define        AFS_I386_PARAM_H
 
 #define SYS_NAME               "i386_obsd33"
 #define SYS_NAME_ID            SYS_NAME_ID_i386_obsd33
 
-#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 #define AFS_X86_XBSD_ENV       1
-
-#define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
-#define AFS_64BIT_CLIENT       1
-#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
-#define        AFS_OBSD_ENV            1
-#define AFS_NONFSTRANS         1
-#define AFS_VM_RDWR_ENV                1
-#define AFS_VFS_ENV            1
-#define AFS_VFSINCL_ENV                1
-
-#define FTRUNC O_TRUNC
-
-#define AFS_SYSCALL            208
-#define AFS_MOUNT_AFS          "afs"
-
-#define RXK_LISTENER_ENV       1
-#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
-#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
-
+#define AFS_X86_ENV            1
 #define AFSLITTLE_ENDIAN       1
 
-#ifndef IGNORE_STDS_H
-#include <afs/afs_sysnames.h>
-#endif
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef _KERNEL
-#ifdef MULTIPROCESSOR
-#define AFS_GLOBAL_SUNLOCK     1
-#endif
-#define        AFS_SHORTGID            0       /* are group id's short? */
-
-#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
-enum vcexcl { NONEXCL, EXCL };
-
-#ifndef MIN
-#define MIN(A,B) ((A) < (B) ? (A) : (B))
-#endif
-#ifndef MAX
-#define MAX(A,B) ((A) > (B) ? (A) : (B))
-#endif
-
-#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
-#endif /* _KERNEL */
-
-#endif /* AFS_PARAM_H */
+#endif /* AFS_I386_PARAM_H */
index 67b4f2a27b9a4395d9bdc7f02565260e5586a6c1..d5a8ba2ab7e6e1deb1f88bcfb65ffd4cba100057 100644 (file)
@@ -1,64 +1,16 @@
 /*
- * Jim Rees, University of Michigan CITI
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
  */
 
-#ifndef        AFS_PARAM_H
-#define        AFS_PARAM_H
-
-#ifndef IGNORE_STDS_H
-#include <sys/param.h>
-#endif
+#ifndef        AFS_I386_PARAM_H
+#define        AFS_I386_PARAM_H
 
 #define SYS_NAME               "i386_obsd34"
 #define SYS_NAME_ID            SYS_NAME_ID_i386_obsd34
 
-#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 #define AFS_X86_XBSD_ENV       1
-
-#define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
-#define AFS_64BIT_CLIENT       1
-#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
-#define AFS_OBSD_ENV           1
-#define AFS_OBSD34_ENV         1
-#define AFS_NONFSTRANS         1
-#define AFS_VM_RDWR_ENV                1
-#define AFS_VFS_ENV            1
-#define AFS_VFSINCL_ENV                1
-
-#define FTRUNC O_TRUNC
-
-#define AFS_SYSCALL            208
-#define AFS_MOUNT_AFS          "afs"
-
-#define RXK_LISTENER_ENV       1
-#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
-#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
-
+#define AFS_X86_ENV            1
 #define AFSLITTLE_ENDIAN       1
 
-#ifndef IGNORE_STDS_H
-#include <afs/afs_sysnames.h>
-#endif
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef _KERNEL
-#ifdef MULTIPROCESSOR
-#define AFS_GLOBAL_SUNLOCK     1
-#endif
-#define        AFS_SHORTGID            0       /* are group id's short? */
-
-#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
-enum vcexcl { NONEXCL, EXCL };
-
-#ifndef MIN
-#define MIN(A,B) ((A) < (B) ? (A) : (B))
-#endif
-#ifndef MAX
-#define MAX(A,B) ((A) > (B) ? (A) : (B))
-#endif
-
-#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
-#endif /* _KERNEL */
-
-#endif /* AFS_PARAM_H */
+#endif /* AFS_I386_PARAM_H */
index 7f82271d86557749c5365034d0536eba46695d63..cc019c26e05decdc2d67e919d334c6a2a93e1a2b 100644 (file)
@@ -1,64 +1,16 @@
 /*
- * Jim Rees, University of Michigan CITI
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
  */
 
-#ifndef        AFS_PARAM_H
-#define        AFS_PARAM_H
-
-#ifndef IGNORE_STDS_H
-#include <sys/param.h>
-#endif
+#ifndef        AFS_I386_PARAM_H
+#define        AFS_I386_PARAM_H
 
 #define SYS_NAME               "i386_obsd35"
 #define SYS_NAME_ID            SYS_NAME_ID_i386_obsd35
 
-#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 #define AFS_X86_XBSD_ENV       1
-
-#define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
-#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
-#define AFS_OBSD_ENV           1
-#define AFS_OBSD34_ENV         1
-#define AFS_OBSD35_ENV         1
-#define AFS_NONFSTRANS         1
-#define AFS_VM_RDWR_ENV                1
-#define AFS_VFS_ENV            1
-#define AFS_VFSINCL_ENV                1
-
-#define FTRUNC O_TRUNC
-
-#define AFS_SYSCALL            208
-#define AFS_MOUNT_AFS          "afs"
-
-#define RXK_LISTENER_ENV       1
-#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
-#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
-
+#define AFS_X86_ENV            1
 #define AFSLITTLE_ENDIAN       1
 
-#ifndef IGNORE_STDS_H
-#include <afs/afs_sysnames.h>
-#endif
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef _KERNEL
-#ifdef MULTIPROCESSOR
-#define AFS_GLOBAL_SUNLOCK     1
-#endif
-#define        AFS_SHORTGID            0       /* are group id's short? */
-
-#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
-enum vcexcl { NONEXCL, EXCL };
-
-#ifndef MIN
-#define MIN(A,B) ((A) < (B) ? (A) : (B))
-#endif
-#ifndef MAX
-#define MAX(A,B) ((A) > (B) ? (A) : (B))
-#endif
-
-#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
-#endif /* _KERNEL */
-
-#endif /* AFS_PARAM_H */
+#endif /* AFS_I386_PARAM_H */
index 4f59df7419abc42b3591a0d9dd7f10a84a3c4f96..7260e70fff4b63bfab4ce0ff18f76c6325ebb9bc 100644 (file)
@@ -1,66 +1,16 @@
 /*
- * Jim Rees, University of Michigan CITI
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
  */
 
-#ifndef        AFS_PARAM_H
-#define        AFS_PARAM_H
-
-#ifndef IGNORE_STDS_H
-#include <sys/param.h>
-#endif
+#ifndef        AFS_I386_PARAM_H
+#define        AFS_I386_PARAM_H
 
 #define SYS_NAME               "i386_obsd36"
 #define SYS_NAME_ID            SYS_NAME_ID_i386_obsd36
 
-#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 #define AFS_X86_XBSD_ENV       1
-
-#define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
-#define AFS_64BIT_CLIENT       1
-#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
-#define AFS_OBSD_ENV           1
-#define AFS_OBSD34_ENV         1
-#define AFS_OBSD35_ENV         1
-#define AFS_OBSD36_ENV         1
-#define AFS_NONFSTRANS         1
-#define AFS_VM_RDWR_ENV                1
-#define AFS_VFS_ENV            1
-#define AFS_VFSINCL_ENV                1
-
-#define FTRUNC O_TRUNC
-
-#define AFS_SYSCALL            208
-#define AFS_MOUNT_AFS          "afs"
-
-#define RXK_LISTENER_ENV       1
-#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
-#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
-
+#define AFS_X86_ENV            1
 #define AFSLITTLE_ENDIAN       1
 
-#ifndef IGNORE_STDS_H
-#include <afs/afs_sysnames.h>
-#endif
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef _KERNEL
-#ifdef MULTIPROCESSOR
-#define AFS_GLOBAL_SUNLOCK     1
-#endif
-#define        AFS_SHORTGID            0       /* are group id's short? */
-
-#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
-enum vcexcl { NONEXCL, EXCL };
-
-#ifndef MIN
-#define MIN(A,B) ((A) < (B) ? (A) : (B))
-#endif
-#ifndef MAX
-#define MAX(A,B) ((A) > (B) ? (A) : (B))
-#endif
-
-#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
-#endif /* _KERNEL */
-
-#endif /* AFS_PARAM_H */
+#endif /* AFS_I386_PARAM_H */
index 67460348b64408c459eb30e6c0c198dbe8aa7a4e..84f4cea49067a9600afc5a574d99686d15a98cdb 100644 (file)
@@ -1,67 +1,16 @@
 /*
- * Jim Rees, University of Michigan CITI
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
  */
 
-#ifndef        AFS_PARAM_H
-#define        AFS_PARAM_H
-
-#ifndef IGNORE_STDS_H
-#include <sys/param.h>
-#endif
+#ifndef        AFS_I386_PARAM_H
+#define        AFS_I386_PARAM_H
 
 #define SYS_NAME               "i386_obsd37"
 #define SYS_NAME_ID            SYS_NAME_ID_i386_obsd37
 
-#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 #define AFS_X86_XBSD_ENV       1
-
-#define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
-#define AFS_64BIT_CLIENT       1
-#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
-#define AFS_OBSD_ENV           1
-#define AFS_OBSD34_ENV         1
-#define AFS_OBSD35_ENV         1
-#define AFS_OBSD36_ENV         1
-#define AFS_OBSD37_ENV         1
-#define AFS_NONFSTRANS         1
-#define AFS_VM_RDWR_ENV                1
-#define AFS_VFS_ENV            1
-#define AFS_VFSINCL_ENV                1
-
-#define FTRUNC O_TRUNC
-
-#define AFS_SYSCALL            208
-#define AFS_MOUNT_AFS          "afs"
-
-#define RXK_LISTENER_ENV       1
-#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
-#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
-
+#define AFS_X8_ENV             1
 #define AFSLITTLE_ENDIAN       1
 
-#ifndef IGNORE_STDS_H
-#include <afs/afs_sysnames.h>
-#endif
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef _KERNEL
-#ifdef MULTIPROCESSOR
-#define AFS_GLOBAL_SUNLOCK     1
-#endif
-#define        AFS_SHORTGID            0       /* are group id's short? */
-
-#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
-enum vcexcl { NONEXCL, EXCL };
-
-#ifndef MIN
-#define MIN(A,B) ((A) < (B) ? (A) : (B))
-#endif
-#ifndef MAX
-#define MAX(A,B) ((A) > (B) ? (A) : (B))
-#endif
-
-#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
-#endif /* _KERNEL */
-
-#endif /* AFS_PARAM_H */
+#endif /* AFS_I386_PARAM_H */
index 7c2a38e3e3f808a8549b44eefc579b1204164cc9..0352bbacf22afb26e2253ac91b4d76b351a78df5 100644 (file)
@@ -1,68 +1,16 @@
 /*
- * Jim Rees, University of Michigan CITI
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
  */
 
-#ifndef        AFS_PARAM_H
-#define        AFS_PARAM_H
-
-#ifndef IGNORE_STDS_H
-#include <sys/param.h>
-#endif
+#ifndef        AFS_I386_PARAM_H
+#define        AFS_I386_PARAM_H
 
 #define SYS_NAME               "i386_obsd38"
 #define SYS_NAME_ID            SYS_NAME_ID_i386_obsd38
 
-#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 #define AFS_X86_XBSD_ENV       1
-
-#define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
-#define AFS_64BIT_CLIENT       1
-#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
-#define AFS_OBSD_ENV           1
-#define AFS_OBSD34_ENV         1
-#define AFS_OBSD35_ENV         1
-#define AFS_OBSD36_ENV         1
-#define AFS_OBSD37_ENV         1
-#define AFS_OBSD38_ENV         1
-#define AFS_NONFSTRANS         1
-#define AFS_VM_RDWR_ENV                1
-#define AFS_VFS_ENV            1
-#define AFS_VFSINCL_ENV                1
-
-#define FTRUNC O_TRUNC
-
-#define AFS_SYSCALL            208
-#define AFS_MOUNT_AFS          "afs"
-
-#define RXK_LISTENER_ENV       1
-#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
-#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
-
+#define AFS_X86_ENV            1
 #define AFSLITTLE_ENDIAN       1
 
-#ifndef IGNORE_STDS_H
-#include <afs/afs_sysnames.h>
-#endif
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef _KERNEL
-#ifdef MULTIPROCESSOR
-#define AFS_GLOBAL_SUNLOCK     1
-#endif
-#define        AFS_SHORTGID            0       /* are group id's short? */
-
-#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
-enum vcexcl { NONEXCL, EXCL };
-
-#ifndef MIN
-#define MIN(A,B) ((A) < (B) ? (A) : (B))
-#endif
-#ifndef MAX
-#define MAX(A,B) ((A) > (B) ? (A) : (B))
-#endif
-
-#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
-#endif /* _KERNEL */
-
 #endif /* AFS_PARAM_H */
index b4f40c0a4d8131803f8b380dd7eccccba6d1cec1..4f3ddbe0d129589317e16e66f2f9eca0ef52c6af 100644 (file)
@@ -1,69 +1,16 @@
 /*
- * Jim Rees, University of Michigan CITI
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
  */
 
-#ifndef        AFS_PARAM_H
-#define        AFS_PARAM_H
-
-#ifndef IGNORE_STDS_H
-#include <sys/param.h>
-#endif
+#ifndef        AFS_I386_PARAM_H
+#define        AFS_I386_PARAM_H
 
 #define SYS_NAME               "i386_obsd39"
 #define SYS_NAME_ID            SYS_NAME_ID_i386_obsd39
 
-#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 #define AFS_X86_XBSD_ENV       1
-
-#define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
-#define AFS_64BIT_CLIENT       1
-#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
-#define AFS_OBSD_ENV           1
-#define AFS_OBSD34_ENV         1
-#define AFS_OBSD35_ENV         1
-#define AFS_OBSD36_ENV         1
-#define AFS_OBSD37_ENV         1
-#define AFS_OBSD38_ENV         1
-#define AFS_OBSD39_ENV         1
-#define AFS_NONFSTRANS         1
-#define AFS_VM_RDWR_ENV                1
-#define AFS_VFS_ENV            1
-#define AFS_VFSINCL_ENV                1
-
-#define FTRUNC O_TRUNC
-
-#define AFS_SYSCALL            208
-#define AFS_MOUNT_AFS          "afs"
-
-#define RXK_LISTENER_ENV       1
-#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
-#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
-
+#define AFS_X86_ENV            1
 #define AFSLITTLE_ENDIAN       1
 
-#ifndef IGNORE_STDS_H
-#include <afs/afs_sysnames.h>
-#endif
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef _KERNEL
-#ifdef MULTIPROCESSOR
-#define AFS_GLOBAL_SUNLOCK     1
-#endif
-#define        AFS_SHORTGID            0       /* are group id's short? */
-
-#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
-enum vcexcl { NONEXCL, EXCL };
-
-#ifndef MIN
-#define MIN(A,B) ((A) < (B) ? (A) : (B))
-#endif
-#ifndef MAX
-#define MAX(A,B) ((A) > (B) ? (A) : (B))
-#endif
-
-#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
-#endif /* _KERNEL */
-
 #endif /* AFS_PARAM_H */
index dae6e4ac76c66ffa8d30febf7dbf1c8a6f8695c3..ace4b26e0862d9ffe504be3ec89a7f83e9e4c6ef 100644 (file)
@@ -1,68 +1,16 @@
 /*
- * Jim Rees, University of Michigan CITI
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
  */
 
-#ifndef        AFS_PARAM_H
-#define        AFS_PARAM_H
-
-#ifndef IGNORE_STDS_H
-#include <sys/param.h>
-#endif
+#ifndef        AFS_I386_PARAM_H
+#define        AFS_I386_PARAM_H
 
 #define SYS_NAME               "i386_obsd40"
 #define SYS_NAME_ID            SYS_NAME_ID_i386_obsd40
 
-#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 #define AFS_X86_XBSD_ENV       1
-
-#define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
-#define AFS_64BIT_CLIENT       1
-#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
-#define AFS_OBSD_ENV           1
-#define AFS_OBSD34_ENV         1
-#define AFS_OBSD35_ENV         1
-#define AFS_OBSD36_ENV         1
-#define AFS_OBSD37_ENV         1
-#define AFS_OBSD38_ENV         1
-#define AFS_OBSD39_ENV         1
-#define AFS_OBSD40_ENV         1
-#define AFS_NONFSTRANS         1
-#define AFS_VM_RDWR_ENV                1
-#define AFS_VFS_ENV            1
-#define AFS_VFSINCL_ENV                1
-
-#define FTRUNC O_TRUNC
-
-#define AFS_SYSCALL            208
-#define AFS_MOUNT_AFS          "afs"
-
-#define RXK_LISTENER_ENV       1
-#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
-#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
-
+#define AFS_X86_ENV            1
 #define AFSLITTLE_ENDIAN       1
 
-#ifndef IGNORE_STDS_H
-#include <afs/afs_sysnames.h>
-#endif
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef _KERNEL
-#define AFS_GLOBAL_SUNLOCK     1
-#define        AFS_SHORTGID            0       /* are group id's short? */
-
-#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
-enum vcexcl { NONEXCL, EXCL };
-
-#ifndef MIN
-#define MIN(A,B) ((A) < (B) ? (A) : (B))
-#endif
-#ifndef MAX
-#define MAX(A,B) ((A) > (B) ? (A) : (B))
-#endif
-
-#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
-#endif /* _KERNEL */
-
-#endif /* AFS_PARAM_H */
+#endif /* AFS_I386_PARAM_H */
index eb556cc285ba0fd3aec9aac8e7b01535100afd05..0b0c8c15a45d306bdf68e6bea45722147851d169 100644 (file)
@@ -1,71 +1,16 @@
 /*
- * Jim Rees, University of Michigan CITI
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
  */
 
-#ifndef        AFS_PARAM_H
-#define        AFS_PARAM_H
-
-#ifndef IGNORE_STDS_H
-#include <sys/param.h>
-#endif
+#ifndef        AFS_I386_PARAM_H
+#define        AFS_I386_PARAM_H
 
 #define SYS_NAME               "i386_obsd41"
 #define SYS_NAME_ID            SYS_NAME_ID_i386_obsd41
 
-#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 #define AFS_X86_XBSD_ENV       1
-
-#define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
-#define AFS_64BIT_CLIENT       1
-#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
-#define AFS_OBSD_ENV           1
-#define AFS_OBSD34_ENV         1
-#define AFS_OBSD35_ENV         1
-#define AFS_OBSD36_ENV         1
-#define AFS_OBSD37_ENV         1
-#define AFS_OBSD38_ENV         1
-#define AFS_OBSD39_ENV         1
-#define AFS_OBSD40_ENV         1
-#define AFS_OBSD41_ENV         1
-#define AFS_NONFSTRANS         1
-#define AFS_VM_RDWR_ENV                1
-#define AFS_VFS_ENV            1
-#define AFS_VFSINCL_ENV                1
-
-#define FTRUNC O_TRUNC
-
-#define AFS_SYSCALL            208
-#define AFS_MOUNT_AFS          "afs"
-
-#define RXK_LISTENER_ENV       1
-#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
-#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
-
+#define AFS_X86_ENV            1
 #define AFSLITTLE_ENDIAN       1
 
-#ifndef IGNORE_STDS_H
-#include <afs/afs_sysnames.h>
-#endif
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef _KERNEL
-#ifdef MULTIPROCESSOR
-#define AFS_GLOBAL_SUNLOCK     1
-#endif
-#define        AFS_SHORTGID            0       /* are group id's short? */
-
-#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
-enum vcexcl { NONEXCL, EXCL };
-
-#ifndef MIN
-#define MIN(A,B) ((A) < (B) ? (A) : (B))
-#endif
-#ifndef MAX
-#define MAX(A,B) ((A) > (B) ? (A) : (B))
-#endif
-
-#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
-#endif /* _KERNEL */
-
-#endif /* AFS_PARAM_H */
+#endif /* AFS_I386_PARAM_H */
diff --git a/src/config/param.i386_obsd42.h b/src/config/param.i386_obsd42.h
new file mode 100644 (file)
index 0000000..7b8b5e4
--- /dev/null
@@ -0,0 +1,16 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_I386_PARAM_H
+#define        AFS_I386_PARAM_H
+
+#define SYS_NAME               "i386_obsd42"
+#define SYS_NAME_ID            SYS_NAME_ID_i386_obsd42
+
+#define AFS_X86_XBSD_ENV       1
+#define AFS_X86_ENV            1
+#define AFSLITTLE_ENDIAN       1
+
+#endif /* AFS_I386_PARAM_H */
diff --git a/src/config/param.i386_obsd43.h b/src/config/param.i386_obsd43.h
new file mode 100644 (file)
index 0000000..b1525a6
--- /dev/null
@@ -0,0 +1,16 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_I386_PARAM_H
+#define        AFS_I386_PARAM_H
+
+#define SYS_NAME               "i386_obsd43"
+#define SYS_NAME_ID            SYS_NAME_ID_i386_obsd43
+
+#define AFS_X86_XBSD_ENV       1
+#define AFS_X86_ENV            1
+#define AFSLITTLE_ENDIAN       1
+
+#endif /* AFS_I386_PARAM_H */
index 25866ba168126b62f21a33bf44c40df5c238bb74..cb5ccc5720abb02e82a612a57bedab822364d9d1 100644 (file)
@@ -1,72 +1,16 @@
 /*
- * Jim Rees, University of Michigan CITI
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
  */
 
-#ifndef        AFS_PARAM_H
-#define        AFS_PARAM_H
-
-#ifndef IGNORE_STDS_H
-#include <sys/param.h>
-#endif
+#ifndef        AFS_I386_PARAM_H
+#define        AFS_I386_PARAM_H
 
 #define SYS_NAME               "i386_obsd44"
 #define SYS_NAME_ID            SYS_NAME_ID_i386_obsd44
 
-#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 #define AFS_X86_XBSD_ENV       1
-
-#define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
-#define AFS_64BIT_CLIENT       1
-#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
-#define AFS_OBSD_ENV           1
-#define AFS_OBSD34_ENV         1
-#define AFS_OBSD35_ENV         1
-#define AFS_OBSD36_ENV         1
-#define AFS_OBSD37_ENV         1
-#define AFS_OBSD38_ENV         1
-#define AFS_OBSD39_ENV         1
-#define AFS_OBSD40_ENV         1
-#define AFS_OBSD41_ENV         1
-#define AFS_OBSD42_ENV         1
-#define AFS_OBSD43_ENV         1
-#define AFS_OBSD44_ENV         1
-#define AFS_NONFSTRANS         1
-#define AFS_VM_RDWR_ENV                1
-#define AFS_VFS_ENV            1
-#define AFS_VFSINCL_ENV                1
-
-#define FTRUNC O_TRUNC
-
-#define AFS_SYSCALL            208
-#define AFS_MOUNT_AFS          "afs"
-
-#define RXK_LISTENER_ENV       1
-#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
-#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
-
+#define AFS_X86_ENV            1
 #define AFSLITTLE_ENDIAN       1
 
-#ifndef IGNORE_STDS_H
-#include <afs/afs_sysnames.h>
-#endif
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef _KERNEL
-#define AFS_GLOBAL_SUNLOCK     1
-#define        AFS_SHORTGID            0       /* are group id's short? */
-
-#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
-enum vcexcl { NONEXCL, EXCL };
-
-#ifndef MIN
-#define MIN(A,B) ((A) < (B) ? (A) : (B))
-#endif
-#ifndef MAX
-#define MAX(A,B) ((A) > (B) ? (A) : (B))
-#endif
-
-#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
-#endif /* _KERNEL */
-
-#endif /* AFS_PARAM_H */
+#endif /* AFS_I386_PARAM_H */
index 89dc0cbc1baa6fb9563ba404276ca3619d55a6ed..61d972836e72fa44235c7cb6993ae8e38a40e0bd 100644 (file)
@@ -3,72 +3,14 @@
  * OpenBSD porting work.
  */
 
-#ifndef        AFS_PARAM_H
-#define        AFS_PARAM_H
-
-#ifndef IGNORE_STDS_H
-#include <sys/param.h>
-#endif
+#ifndef        AFS_I386_PARAM_H
+#define        AFS_I386_PARAM_H
 
 #define SYS_NAME               "i386_obsd45"
 #define SYS_NAME_ID            SYS_NAME_ID_i386_obsd45
 
-#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 #define AFS_X86_XBSD_ENV       1
-
-#define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
-#define AFS_64BIT_CLIENT       1
-#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
-#define AFS_OBSD_ENV           1
-#define AFS_OBSD34_ENV         1
-#define AFS_OBSD35_ENV         1
-#define AFS_OBSD36_ENV         1
-#define AFS_OBSD37_ENV         1
-#define AFS_OBSD38_ENV         1
-#define AFS_OBSD39_ENV         1
-#define AFS_OBSD40_ENV         1
-#define AFS_OBSD41_ENV         1
-#define AFS_OBSD42_ENV         1
-#define AFS_OBSD43_ENV         1
-#define AFS_OBSD44_ENV         1
-#define AFS_OBSD45_ENV         1
-#define AFS_NONFSTRANS         1
-#define AFS_VM_RDWR_ENV                1
-#define AFS_VFS_ENV            1
-#define AFS_VFSINCL_ENV                1
-
-#define FTRUNC O_TRUNC
-
-#define AFS_SYSCALL            208
-#define AFS_MOUNT_AFS          "afs"
-
-#define RXK_LISTENER_ENV       1
-#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
-#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
-
+#define AFS_X86_ENV            1
 #define AFSLITTLE_ENDIAN       1
 
-#ifndef IGNORE_STDS_H
-#include <afs/afs_sysnames.h>
-#endif
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef _KERNEL
-#define AFS_GLOBAL_SUNLOCK     1
-#define        AFS_SHORTGID            0       /* are group id's short? */
-
-#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
-enum vcexcl { NONEXCL, EXCL };
-
-#ifndef MIN
-#define MIN(A,B) ((A) < (B) ? (A) : (B))
-#endif
-#ifndef MAX
-#define MAX(A,B) ((A) > (B) ? (A) : (B))
-#endif
-
-#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
-#endif /* _KERNEL */
-
-#endif /* AFS_PARAM_H */
+#endif /* AFS_I386_PARAM_H */
diff --git a/src/config/param.obsd31.h b/src/config/param.obsd31.h
new file mode 100644 (file)
index 0000000..d99d87f
--- /dev/null
@@ -0,0 +1,61 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
+ */
+
+/* OpenBSD shared section */
+
+#ifndef        AFS_PARAM_H
+#define        AFS_PARAM_H
+
+#ifndef IGNORE_STDS_H
+#include <sys/param.h>
+#endif
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+
+#define AFS_NAMEI_ENV          1       /* User space interface to file system */
+#define AFS_64BIT_ENV          1
+#define AFS_64BIT_CLIENT       1
+#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
+
+#define        AFS_OBSD_ENV            1
+#define        AFS_OBSD31_ENV          1
+
+#define AFS_NONFSTRANS         1
+#define AFS_VM_RDWR_ENV                1
+#define AFS_VFS_ENV            1
+#define AFS_VFSINCL_ENV                1
+
+#define FTRUNC O_TRUNC
+
+#define AFS_SYSCALL            208
+#define AFS_MOUNT_AFS          "afs"
+
+#define RXK_LISTENER_ENV       1
+#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
+#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
+
+#ifndef IGNORE_STDS_H
+#include <afs/afs_sysnames.h>
+#endif
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef _KERNEL
+#define AFS_GLOBAL_SUNLOCK     1
+#define        AFS_SHORTGID            0       /* are group id's short? */
+
+#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
+enum vcexcl { NONEXCL, EXCL };
+
+#ifndef MIN
+#define MIN(A,B) ((A) < (B) ? (A) : (B))
+#endif
+#ifndef MAX
+#define MAX(A,B) ((A) > (B) ? (A) : (B))
+#endif
+
+#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
+#endif /* _KERNEL */
+
+#endif /* AFS_PARAM_H */
diff --git a/src/config/param.obsd32.h b/src/config/param.obsd32.h
new file mode 100644 (file)
index 0000000..d742d06
--- /dev/null
@@ -0,0 +1,60 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_PARAM_H
+#define        AFS_PARAM_H
+
+#ifndef IGNORE_STDS_H
+#include <sys/param.h>
+#endif
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+
+#define AFS_NAMEI_ENV          1       /* User space interface to file system */
+#define AFS_64BIT_ENV          1
+#define AFS_64BIT_CLIENT       1
+#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
+
+#define        AFS_OBSD_ENV            1
+#define        AFS_OBSD31_ENV          1
+#define        AFS_OBSD32_ENV          1
+
+#define AFS_NONFSTRANS         1
+#define AFS_VM_RDWR_ENV                1
+#define AFS_VFS_ENV            1
+#define AFS_VFSINCL_ENV                1
+
+#define FTRUNC O_TRUNC
+
+#define AFS_SYSCALL            208
+#define AFS_MOUNT_AFS          "afs"
+
+#define RXK_LISTENER_ENV       1
+#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
+#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
+
+#ifndef IGNORE_STDS_H
+#include <afs/afs_sysnames.h>
+#endif
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef _KERNEL
+#define AFS_GLOBAL_SUNLOCK     1
+#define        AFS_SHORTGID            0       /* are group id's short? */
+
+#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
+enum vcexcl { NONEXCL, EXCL };
+
+#ifndef MIN
+#define MIN(A,B) ((A) < (B) ? (A) : (B))
+#endif
+#ifndef MAX
+#define MAX(A,B) ((A) > (B) ? (A) : (B))
+#endif
+
+#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
+#endif /* _KERNEL */
+
+#endif /* AFS_PARAM_H */
diff --git a/src/config/param.obsd33.h b/src/config/param.obsd33.h
new file mode 100644 (file)
index 0000000..a53ae72
--- /dev/null
@@ -0,0 +1,64 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_PARAM_H
+#define        AFS_PARAM_H
+
+#ifndef IGNORE_STDS_H
+#include <sys/param.h>
+#endif
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+
+#define AFS_NAMEI_ENV          1       /* User space interface to file system */
+#define AFS_64BIT_ENV          1
+#define AFS_64BIT_CLIENT       1
+#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
+
+#define        AFS_OBSD_ENV            1
+#define        AFS_OBSD31_ENV          1
+#define        AFS_OBSD32_ENV          1
+#define        AFS_OBSD33_ENV          1
+
+#define AFS_NONFSTRANS         1
+#define AFS_VM_RDWR_ENV                1
+#define AFS_VFS_ENV            1
+#define AFS_VFSINCL_ENV                1
+
+#define FTRUNC O_TRUNC
+
+#define AFS_SYSCALL            208
+#define AFS_MOUNT_AFS          "afs"
+
+#define RXK_LISTENER_ENV       1
+#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
+#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
+
+
+#ifndef IGNORE_STDS_H
+#include <afs/afs_sysnames.h>
+#endif
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef _KERNEL
+#ifdef MULTIPROCESSOR
+#define AFS_GLOBAL_SUNLOCK     1
+#endif
+#define        AFS_SHORTGID            0       /* are group id's short? */
+
+#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
+enum vcexcl { NONEXCL, EXCL };
+
+#ifndef MIN
+#define MIN(A,B) ((A) < (B) ? (A) : (B))
+#endif
+#ifndef MAX
+#define MAX(A,B) ((A) > (B) ? (A) : (B))
+#endif
+
+#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
+#endif /* _KERNEL */
+
+#endif /* AFS_PARAM_H */
diff --git a/src/config/param.obsd34.h b/src/config/param.obsd34.h
new file mode 100644 (file)
index 0000000..28ead2c
--- /dev/null
@@ -0,0 +1,64 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_PARAM_H
+#define        AFS_PARAM_H
+
+#ifndef IGNORE_STDS_H
+#include <sys/param.h>
+#endif
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+
+#define AFS_NAMEI_ENV          1       /* User space interface to file system */
+#define AFS_64BIT_ENV          1
+#define AFS_64BIT_CLIENT       1
+#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
+
+#define AFS_OBSD_ENV           1
+#define        AFS_OBSD31_ENV          1
+#define        AFS_OBSD32_ENV          1
+#define        AFS_OBSD33_ENV          1
+#define AFS_OBSD34_ENV         1
+
+#define AFS_NONFSTRANS         1
+#define AFS_VM_RDWR_ENV                1
+#define AFS_VFS_ENV            1
+#define AFS_VFSINCL_ENV                1
+
+#define FTRUNC O_TRUNC
+
+#define AFS_SYSCALL            208
+#define AFS_MOUNT_AFS          "afs"
+
+#define RXK_LISTENER_ENV       1
+#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
+#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
+
+#ifndef IGNORE_STDS_H
+#include <afs/afs_sysnames.h>
+#endif
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef _KERNEL
+#ifdef MULTIPROCESSOR
+#define AFS_GLOBAL_SUNLOCK     1
+#endif
+#define        AFS_SHORTGID            0       /* are group id's short? */
+
+#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
+enum vcexcl { NONEXCL, EXCL };
+
+#ifndef MIN
+#define MIN(A,B) ((A) < (B) ? (A) : (B))
+#endif
+#ifndef MAX
+#define MAX(A,B) ((A) > (B) ? (A) : (B))
+#endif
+
+#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
+#endif /* _KERNEL */
+
+#endif /* AFS_PARAM_H */
diff --git a/src/config/param.obsd35.h b/src/config/param.obsd35.h
new file mode 100644 (file)
index 0000000..c47e262
--- /dev/null
@@ -0,0 +1,64 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_PARAM_H
+#define        AFS_PARAM_H
+
+#ifndef IGNORE_STDS_H
+#include <sys/param.h>
+#endif
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+
+#define AFS_NAMEI_ENV          1       /* User space interface to file system */
+#define AFS_64BIT_ENV          1
+#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
+
+#define AFS_OBSD_ENV           1
+#define        AFS_OBSD31_ENV          1
+#define        AFS_OBSD32_ENV          1
+#define        AFS_OBSD33_ENV          1
+#define AFS_OBSD34_ENV         1
+#define AFS_OBSD35_ENV         1
+
+#define AFS_NONFSTRANS         1
+#define AFS_VM_RDWR_ENV                1
+#define AFS_VFS_ENV            1
+#define AFS_VFSINCL_ENV                1
+
+#define FTRUNC O_TRUNC
+
+#define AFS_SYSCALL            208
+#define AFS_MOUNT_AFS          "afs"
+
+#define RXK_LISTENER_ENV       1
+#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
+#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
+
+#ifndef IGNORE_STDS_H
+#include <afs/afs_sysnames.h>
+#endif
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef _KERNEL
+#ifdef MULTIPROCESSOR
+#define AFS_GLOBAL_SUNLOCK     1
+#endif
+#define        AFS_SHORTGID            0       /* are group id's short? */
+
+#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
+enum vcexcl { NONEXCL, EXCL };
+
+#ifndef MIN
+#define MIN(A,B) ((A) < (B) ? (A) : (B))
+#endif
+#ifndef MAX
+#define MAX(A,B) ((A) > (B) ? (A) : (B))
+#endif
+
+#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
+#endif /* _KERNEL */
+
+#endif /* AFS_PARAM_H */
diff --git a/src/config/param.obsd36.h b/src/config/param.obsd36.h
new file mode 100644 (file)
index 0000000..3023b1d
--- /dev/null
@@ -0,0 +1,66 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_PARAM_H
+#define        AFS_PARAM_H
+
+#ifndef IGNORE_STDS_H
+#include <sys/param.h>
+#endif
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+
+#define AFS_NAMEI_ENV          1       /* User space interface to file system */
+#define AFS_64BIT_ENV          1
+#define AFS_64BIT_CLIENT       1
+#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
+
+#define AFS_OBSD_ENV           1
+#define        AFS_OBSD31_ENV          1
+#define        AFS_OBSD32_ENV          1
+#define        AFS_OBSD33_ENV          1
+#define AFS_OBSD34_ENV         1
+#define AFS_OBSD35_ENV         1
+#define AFS_OBSD36_ENV         1
+
+#define AFS_NONFSTRANS         1
+#define AFS_VM_RDWR_ENV                1
+#define AFS_VFS_ENV            1
+#define AFS_VFSINCL_ENV                1
+
+#define FTRUNC O_TRUNC
+
+#define AFS_SYSCALL            208
+#define AFS_MOUNT_AFS          "afs"
+
+#define RXK_LISTENER_ENV       1
+#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
+#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
+
+#ifndef IGNORE_STDS_H
+#include <afs/afs_sysnames.h>
+#endif
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef _KERNEL
+#ifdef MULTIPROCESSOR
+#define AFS_GLOBAL_SUNLOCK     1
+#endif
+#define        AFS_SHORTGID            0       /* are group id's short? */
+
+#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
+enum vcexcl { NONEXCL, EXCL };
+
+#ifndef MIN
+#define MIN(A,B) ((A) < (B) ? (A) : (B))
+#endif
+#ifndef MAX
+#define MAX(A,B) ((A) > (B) ? (A) : (B))
+#endif
+
+#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
+#endif /* _KERNEL */
+
+#endif /* AFS_PARAM_H */
diff --git a/src/config/param.obsd37.h b/src/config/param.obsd37.h
new file mode 100644 (file)
index 0000000..7c18bd4
--- /dev/null
@@ -0,0 +1,67 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_PARAM_H
+#define        AFS_PARAM_H
+
+#ifndef IGNORE_STDS_H
+#include <sys/param.h>
+#endif
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+
+#define AFS_NAMEI_ENV          1       /* User space interface to file system */
+#define AFS_64BIT_ENV          1
+#define AFS_64BIT_CLIENT       1
+#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
+
+#define AFS_OBSD_ENV           1
+#define        AFS_OBSD31_ENV          1
+#define        AFS_OBSD32_ENV          1
+#define        AFS_OBSD33_ENV          1
+#define AFS_OBSD34_ENV         1
+#define AFS_OBSD35_ENV         1
+#define AFS_OBSD36_ENV         1
+#define AFS_OBSD37_ENV         1
+
+#define AFS_NONFSTRANS         1
+#define AFS_VM_RDWR_ENV                1
+#define AFS_VFS_ENV            1
+#define AFS_VFSINCL_ENV                1
+
+#define FTRUNC O_TRUNC
+
+#define AFS_SYSCALL            208
+#define AFS_MOUNT_AFS          "afs"
+
+#define RXK_LISTENER_ENV       1
+#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
+#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
+
+#ifndef IGNORE_STDS_H
+#include <afs/afs_sysnames.h>
+#endif
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef _KERNEL
+#ifdef MULTIPROCESSOR
+#define AFS_GLOBAL_SUNLOCK     1
+#endif
+#define        AFS_SHORTGID            0       /* are group id's short? */
+
+#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
+enum vcexcl { NONEXCL, EXCL };
+
+#ifndef MIN
+#define MIN(A,B) ((A) < (B) ? (A) : (B))
+#endif
+#ifndef MAX
+#define MAX(A,B) ((A) > (B) ? (A) : (B))
+#endif
+
+#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
+#endif /* _KERNEL */
+
+#endif /* AFS_PARAM_H */
diff --git a/src/config/param.obsd38.h b/src/config/param.obsd38.h
new file mode 100644 (file)
index 0000000..9d12020
--- /dev/null
@@ -0,0 +1,68 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_PARAM_H
+#define        AFS_PARAM_H
+
+#ifndef IGNORE_STDS_H
+#include <sys/param.h>
+#endif
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+
+#define AFS_NAMEI_ENV          1       /* User space interface to file system */
+#define AFS_64BIT_ENV          1
+#define AFS_64BIT_CLIENT       1
+#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
+
+#define AFS_OBSD_ENV           1
+#define        AFS_OBSD31_ENV          1
+#define        AFS_OBSD32_ENV          1
+#define        AFS_OBSD33_ENV          1
+#define AFS_OBSD34_ENV         1
+#define AFS_OBSD35_ENV         1
+#define AFS_OBSD36_ENV         1
+#define AFS_OBSD37_ENV         1
+#define AFS_OBSD38_ENV         1
+
+#define AFS_NONFSTRANS         1
+#define AFS_VM_RDWR_ENV                1
+#define AFS_VFS_ENV            1
+#define AFS_VFSINCL_ENV                1
+
+#define FTRUNC O_TRUNC
+
+#define AFS_SYSCALL            208
+#define AFS_MOUNT_AFS          "afs"
+
+#define RXK_LISTENER_ENV       1
+#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
+#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
+
+#ifndef IGNORE_STDS_H
+#include <afs/afs_sysnames.h>
+#endif
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef _KERNEL
+#ifdef MULTIPROCESSOR
+#define AFS_GLOBAL_SUNLOCK     1
+#endif
+#define        AFS_SHORTGID            0       /* are group id's short? */
+
+#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
+enum vcexcl { NONEXCL, EXCL };
+
+#ifndef MIN
+#define MIN(A,B) ((A) < (B) ? (A) : (B))
+#endif
+#ifndef MAX
+#define MAX(A,B) ((A) > (B) ? (A) : (B))
+#endif
+
+#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
+#endif /* _KERNEL */
+
+#endif /* AFS_PARAM_H */
diff --git a/src/config/param.obsd39.h b/src/config/param.obsd39.h
new file mode 100644 (file)
index 0000000..b4dc97c
--- /dev/null
@@ -0,0 +1,72 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_PARAM_H
+#define        AFS_PARAM_H
+
+#ifndef IGNORE_STDS_H
+#include <sys/param.h>
+#endif
+
+#define SYS_NAME               "i386_obsd39"
+#define SYS_NAME_ID            SYS_NAME_ID_i386_obsd39
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+
+#define AFS_NAMEI_ENV          1       /* User space interface to file system */
+#define AFS_64BIT_ENV          1
+#define AFS_64BIT_CLIENT       1
+#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
+
+#define AFS_OBSD_ENV           1
+#define        AFS_OBSD31_ENV          1
+#define        AFS_OBSD32_ENV          1
+#define        AFS_OBSD33_ENV          1
+#define AFS_OBSD34_ENV         1
+#define AFS_OBSD35_ENV         1
+#define AFS_OBSD36_ENV         1
+#define AFS_OBSD37_ENV         1
+#define AFS_OBSD38_ENV         1
+#define AFS_OBSD39_ENV         1
+
+#define AFS_NONFSTRANS         1
+#define AFS_VM_RDWR_ENV                1
+#define AFS_VFS_ENV            1
+#define AFS_VFSINCL_ENV                1
+
+#define FTRUNC O_TRUNC
+
+#define AFS_SYSCALL            208
+#define AFS_MOUNT_AFS          "afs"
+
+#define RXK_LISTENER_ENV       1
+#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
+#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
+
+#ifndef IGNORE_STDS_H
+#include <afs/afs_sysnames.h>
+#endif
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef _KERNEL
+#ifdef MULTIPROCESSOR
+#define AFS_GLOBAL_SUNLOCK     1
+#endif
+#define        AFS_SHORTGID            0       /* are group id's short? */
+
+#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
+enum vcexcl { NONEXCL, EXCL };
+
+#ifndef MIN
+#define MIN(A,B) ((A) < (B) ? (A) : (B))
+#endif
+#ifndef MAX
+#define MAX(A,B) ((A) > (B) ? (A) : (B))
+#endif
+
+#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
+#endif /* _KERNEL */
+
+#endif /* AFS_PARAM_H */
diff --git a/src/config/param.obsd40.h b/src/config/param.obsd40.h
new file mode 100644 (file)
index 0000000..9a14f2c
--- /dev/null
@@ -0,0 +1,68 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_PARAM_H
+#define        AFS_PARAM_H
+
+#ifndef IGNORE_STDS_H
+#include <sys/param.h>
+#endif
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+
+#define AFS_NAMEI_ENV          1       /* User space interface to file system */
+#define AFS_64BIT_ENV          1
+#define AFS_64BIT_CLIENT       1
+#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
+
+#define AFS_OBSD_ENV           1
+#define        AFS_OBSD31_ENV          1
+#define        AFS_OBSD32_ENV          1
+#define        AFS_OBSD33_ENV          1
+#define AFS_OBSD34_ENV         1
+#define AFS_OBSD35_ENV         1
+#define AFS_OBSD36_ENV         1
+#define AFS_OBSD37_ENV         1
+#define AFS_OBSD38_ENV         1
+#define AFS_OBSD39_ENV         1
+#define AFS_OBSD40_ENV         1
+
+#define AFS_NONFSTRANS         1
+#define AFS_VM_RDWR_ENV                1
+#define AFS_VFS_ENV            1
+#define AFS_VFSINCL_ENV                1
+
+#define FTRUNC O_TRUNC
+
+#define AFS_SYSCALL            208
+#define AFS_MOUNT_AFS          "afs"
+
+#define RXK_LISTENER_ENV       1
+#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
+#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
+
+#ifndef IGNORE_STDS_H
+#include <afs/afs_sysnames.h>
+#endif
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef _KERNEL
+#define AFS_GLOBAL_SUNLOCK     1
+#define        AFS_SHORTGID            0       /* are group id's short? */
+
+#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
+enum vcexcl { NONEXCL, EXCL };
+
+#ifndef MIN
+#define MIN(A,B) ((A) < (B) ? (A) : (B))
+#endif
+#ifndef MAX
+#define MAX(A,B) ((A) > (B) ? (A) : (B))
+#endif
+
+#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
+#endif /* _KERNEL */
+
+#endif /* AFS_PARAM_H */
diff --git a/src/config/param.obsd41.h b/src/config/param.obsd41.h
new file mode 100644 (file)
index 0000000..11c8494
--- /dev/null
@@ -0,0 +1,71 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_PARAM_H
+#define        AFS_PARAM_H
+
+#ifndef IGNORE_STDS_H
+#include <sys/param.h>
+#endif
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+
+#define AFS_NAMEI_ENV          1       /* User space interface to file system */
+#define AFS_64BIT_ENV          1
+#define AFS_64BIT_CLIENT       1
+#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
+
+#define AFS_OBSD_ENV           1
+#define        AFS_OBSD31_ENV          1
+#define        AFS_OBSD32_ENV          1
+#define        AFS_OBSD33_ENV          1
+#define AFS_OBSD34_ENV         1
+#define AFS_OBSD35_ENV         1
+#define AFS_OBSD36_ENV         1
+#define AFS_OBSD37_ENV         1
+#define AFS_OBSD38_ENV         1
+#define AFS_OBSD39_ENV         1
+#define AFS_OBSD40_ENV         1
+#define AFS_OBSD41_ENV         1
+
+#define AFS_NONFSTRANS         1
+#define AFS_VM_RDWR_ENV                1
+#define AFS_VFS_ENV            1
+#define AFS_VFSINCL_ENV                1
+
+#define FTRUNC O_TRUNC
+
+#define AFS_SYSCALL            208
+#define AFS_MOUNT_AFS          "afs"
+
+#define RXK_LISTENER_ENV       1
+#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
+#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
+
+#ifndef IGNORE_STDS_H
+#include <afs/afs_sysnames.h>
+#endif
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef _KERNEL
+#ifdef MULTIPROCESSOR
+#define AFS_GLOBAL_SUNLOCK     1
+#endif
+#define        AFS_SHORTGID            0       /* are group id's short? */
+
+#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
+enum vcexcl { NONEXCL, EXCL };
+
+#ifndef MIN
+#define MIN(A,B) ((A) < (B) ? (A) : (B))
+#endif
+#ifndef MAX
+#define MAX(A,B) ((A) > (B) ? (A) : (B))
+#endif
+
+#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
+#endif /* _KERNEL */
+
+#endif /* AFS_PARAM_H */
diff --git a/src/config/param.obsd42.h b/src/config/param.obsd42.h
new file mode 100644 (file)
index 0000000..a83da33
--- /dev/null
@@ -0,0 +1,72 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_PARAM_H
+#define        AFS_PARAM_H
+
+#ifndef IGNORE_STDS_H
+#include <sys/param.h>
+#endif
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+
+#define AFS_NAMEI_ENV          1       /* User space interface to file system */
+#define AFS_64BIT_ENV          1
+#define AFS_64BIT_CLIENT       1
+#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
+
+#define AFS_OBSD_ENV           1
+#define        AFS_OBSD31_ENV          1
+#define        AFS_OBSD32_ENV          1
+#define        AFS_OBSD33_ENV          1
+#define AFS_OBSD34_ENV         1
+#define AFS_OBSD35_ENV         1
+#define AFS_OBSD36_ENV         1
+#define AFS_OBSD37_ENV         1
+#define AFS_OBSD38_ENV         1
+#define AFS_OBSD39_ENV         1
+#define AFS_OBSD40_ENV         1
+#define AFS_OBSD41_ENV         1
+#define AFS_OBSD42_ENV         1
+
+#define AFS_NONFSTRANS         1
+#define AFS_VM_RDWR_ENV                1
+#define AFS_VFS_ENV            1
+#define AFS_VFSINCL_ENV                1
+
+#define FTRUNC O_TRUNC
+
+#define AFS_SYSCALL            208
+#define AFS_MOUNT_AFS          "afs"
+
+#define RXK_LISTENER_ENV       1
+#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
+#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
+
+#ifndef IGNORE_STDS_H
+#include <afs/afs_sysnames.h>
+#endif
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef _KERNEL
+#ifdef MULTIPROCESSOR
+#define AFS_GLOBAL_SUNLOCK     1
+#endif
+#define        AFS_SHORTGID            0       /* are group id's short? */
+
+#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
+enum vcexcl { NONEXCL, EXCL };
+
+#ifndef MIN
+#define MIN(A,B) ((A) < (B) ? (A) : (B))
+#endif
+#ifndef MAX
+#define MAX(A,B) ((A) > (B) ? (A) : (B))
+#endif
+
+#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
+#endif /* _KERNEL */
+
+#endif /* AFS_PARAM_H */
diff --git a/src/config/param.obsd43.h b/src/config/param.obsd43.h
new file mode 100644 (file)
index 0000000..e0cbb31
--- /dev/null
@@ -0,0 +1,73 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_PARAM_H
+#define        AFS_PARAM_H
+
+#ifndef IGNORE_STDS_H
+#include <sys/param.h>
+#endif
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+
+#define AFS_NAMEI_ENV          1       /* User space interface to file system */
+#define AFS_64BIT_ENV          1
+#define AFS_64BIT_CLIENT       1
+#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
+
+#define AFS_OBSD_ENV           1
+#define        AFS_OBSD31_ENV          1
+#define        AFS_OBSD32_ENV          1
+#define        AFS_OBSD33_ENV          1
+#define AFS_OBSD34_ENV         1
+#define AFS_OBSD35_ENV         1
+#define AFS_OBSD36_ENV         1
+#define AFS_OBSD37_ENV         1
+#define AFS_OBSD38_ENV         1
+#define AFS_OBSD39_ENV         1
+#define AFS_OBSD40_ENV         1
+#define AFS_OBSD41_ENV         1
+#define AFS_OBSD42_ENV         1
+#define AFS_OBSD43_ENV         1
+
+#define AFS_NONFSTRANS         1
+#define AFS_VM_RDWR_ENV                1
+#define AFS_VFS_ENV            1
+#define AFS_VFSINCL_ENV                1
+
+#define FTRUNC O_TRUNC
+
+#define AFS_SYSCALL            208
+#define AFS_MOUNT_AFS          "afs"
+
+#define RXK_LISTENER_ENV       1
+#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
+#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
+
+#ifndef IGNORE_STDS_H
+#include <afs/afs_sysnames.h>
+#endif
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef _KERNEL
+#ifdef MULTIPROCESSOR
+#define AFS_GLOBAL_SUNLOCK     1
+#endif
+#define        AFS_SHORTGID            0       /* are group id's short? */
+
+#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
+enum vcexcl { NONEXCL, EXCL };
+
+#ifndef MIN
+#define MIN(A,B) ((A) < (B) ? (A) : (B))
+#endif
+#ifndef MAX
+#define MAX(A,B) ((A) > (B) ? (A) : (B))
+#endif
+
+#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
+#endif /* _KERNEL */
+
+#endif /* AFS_PARAM_H */
diff --git a/src/config/param.obsd44.h b/src/config/param.obsd44.h
new file mode 100644 (file)
index 0000000..8b96c22
--- /dev/null
@@ -0,0 +1,72 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_PARAM_H
+#define        AFS_PARAM_H
+
+#ifndef IGNORE_STDS_H
+#include <sys/param.h>
+#endif
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+
+#define AFS_NAMEI_ENV          1       /* User space interface to file system */
+#define AFS_64BIT_ENV          1
+#define AFS_64BIT_CLIENT       1
+#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
+
+#define AFS_OBSD_ENV           1
+#define        AFS_OBSD31_ENV          1
+#define        AFS_OBSD32_ENV          1
+#define        AFS_OBSD33_ENV          1
+#define AFS_OBSD34_ENV         1
+#define AFS_OBSD35_ENV         1
+#define AFS_OBSD36_ENV         1
+#define AFS_OBSD37_ENV         1
+#define AFS_OBSD38_ENV         1
+#define AFS_OBSD39_ENV         1
+#define AFS_OBSD40_ENV         1
+#define AFS_OBSD41_ENV         1
+#define AFS_OBSD42_ENV         1
+#define AFS_OBSD43_ENV         1
+#define AFS_OBSD44_ENV         1
+
+#define AFS_NONFSTRANS         1
+#define AFS_VM_RDWR_ENV                1
+#define AFS_VFS_ENV            1
+#define AFS_VFSINCL_ENV                1
+
+#define FTRUNC O_TRUNC
+
+#define AFS_SYSCALL            208
+#define AFS_MOUNT_AFS          "afs"
+
+#define RXK_LISTENER_ENV       1
+#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
+#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
+
+#ifndef IGNORE_STDS_H
+#include <afs/afs_sysnames.h>
+#endif
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef _KERNEL
+#define AFS_GLOBAL_SUNLOCK     1
+#define        AFS_SHORTGID            0       /* are group id's short? */
+
+#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
+enum vcexcl { NONEXCL, EXCL };
+
+#ifndef MIN
+#define MIN(A,B) ((A) < (B) ? (A) : (B))
+#endif
+#ifndef MAX
+#define MAX(A,B) ((A) > (B) ? (A) : (B))
+#endif
+
+#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
+#endif /* _KERNEL */
+
+#endif /* AFS_PARAM_H */
diff --git a/src/config/param.obsd45.h b/src/config/param.obsd45.h
new file mode 100644 (file)
index 0000000..7a1da37
--- /dev/null
@@ -0,0 +1,72 @@
+/*
+ * Thanks to Jim Rees and University of Michigan CITI, for the initial 
+ * OpenBSD porting work.
+ */
+
+#ifndef        AFS_PARAM_H
+#define        AFS_PARAM_H
+
+#ifndef IGNORE_STDS_H
+#include <sys/param.h>
+#endif
+
+#define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
+
+#define AFS_NAMEI_ENV          1       /* User space interface to file system */
+#define AFS_64BIT_ENV          1
+#define AFS_64BIT_CLIENT       1
+#define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
+
+#define AFS_OBSD_ENV           1
+#define        AFS_OBSD31_ENV          1
+#define        AFS_OBSD32_ENV          1
+#define        AFS_OBSD33_ENV          1
+#define AFS_OBSD34_ENV         1
+#define AFS_OBSD35_ENV         1
+#define AFS_OBSD36_ENV         1
+#define AFS_OBSD37_ENV         1
+#define AFS_OBSD38_ENV         1
+#define AFS_OBSD39_ENV         1
+#define AFS_OBSD40_ENV         1
+#define AFS_OBSD41_ENV         1
+#define AFS_OBSD42_ENV         1
+#define AFS_OBSD43_ENV         1
+#define AFS_OBSD44_ENV         1
+#define AFS_OBSD45_ENV         1
+#define AFS_NONFSTRANS         1
+#define AFS_VM_RDWR_ENV                1
+#define AFS_VFS_ENV            1
+#define AFS_VFSINCL_ENV                1
+
+#define FTRUNC O_TRUNC
+
+#define AFS_SYSCALL            208
+#define AFS_MOUNT_AFS          "afs"
+
+#define RXK_LISTENER_ENV       1
+#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
+#define AFS_USE_GETTIMEOFDAY    1      /* use gettimeofday to implement rx clock */
+
+#ifndef IGNORE_STDS_H
+#include <afs/afs_sysnames.h>
+#endif
+
+/* Extra kernel definitions (from kdefs file) */
+#ifdef _KERNEL
+#define AFS_GLOBAL_SUNLOCK     1
+#define        AFS_SHORTGID            0       /* are group id's short? */
+
+#if    !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
+enum vcexcl { NONEXCL, EXCL };
+
+#ifndef MIN
+#define MIN(A,B) ((A) < (B) ? (A) : (B))
+#endif
+#ifndef MAX
+#define MAX(A,B) ((A) > (B) ? (A) : (B))
+#endif
+
+#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
+#endif /* _KERNEL */
+
+#endif /* AFS_PARAM_H */