From: Jim Rees Date: Fri, 4 Apr 2003 21:15:54 +0000 (+0000) Subject: openbsd-33-20030404 X-Git-Tag: openafs-devel-1_3_50~276 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=75f02de7034f20663781cf20851ef8d6f5ed5f46;p=packages%2Fo%2Fopenafs.git openbsd-33-20030404 param file for OpenBSD 3.3. untested but "should work." --- diff --git a/src/config/afs_sysnames.h b/src/config/afs_sysnames.h index 90b1ae6ec..f3709d30f 100644 --- a/src/config/afs_sysnames.h +++ b/src/config/afs_sysnames.h @@ -183,6 +183,7 @@ #define SYS_NAME_ID_i386_obsd31 2600 #define SYS_NAME_ID_i386_obsd32 2601 +#define SYS_NAME_ID_i386_obsd33 2602 /* * Placeholder to keep system-wide standard flags since this file is included by all diff --git a/src/config/param.i386_obsd33.h b/src/config/param.i386_obsd33.h new file mode 100644 index 000000000..5b161ec8e --- /dev/null +++ b/src/config/param.i386_obsd33.h @@ -0,0 +1,61 @@ +/* + * Jim Rees, University of Michigan CITI + */ + +#ifndef AFS_PARAM_H +#define AFS_PARAM_H + +#ifndef IGNORE_STDS_H +#include +#endif + +#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_IOPS_ENV 1 /* Needed for NAMEI */ +#define AFS_OBSD_ENV 1 +#define AFS_NONFSTRANS 1 +#define AFS_KERBEROS_ENV 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 +#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 */