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>
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"
;;
*_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 ;;
#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
/*
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */
* 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 */
/*
- * 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 */
/*
- * 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 */
/*
- * 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 */
/*
- * 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 */
/*
- * 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 */
/*
- * 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 */
/*
- * 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 */
/*
- * 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 */
/*
- * 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 */
/*
- * 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 */
/*
- * 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 */
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */
/*
- * 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 */
* 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 */
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */
--- /dev/null
+/*
+ * 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 */