X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fconfig%2Fparam.i386_obsd47.h;h=28a24dc6c93e85a438dcddb62a3337ddb2bfe379;hp=922aac79ca908c09bac640283d798102627a033e;hb=cd6bd75d1c97ce87ab1597d80fcd3cee2ea18825;hpb=5fdc2679dc973fa45bf4b3bc7f21a527492868db diff --git a/src/config/param.i386_obsd47.h b/src/config/param.i386_obsd47.h index 922aac7..28a24dc 100644 --- a/src/config/param.i386_obsd47.h +++ b/src/config/param.i386_obsd47.h @@ -1,76 +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 -#endif +#ifndef AFS_I386_PARAM_H +#define AFS_I386_PARAM_H #define SYS_NAME "i386_obsd47" #define SYS_NAME_ID SYS_NAME_ID_i386_obsd47 -#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_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_OBSD46_ENV 1 -#define AFS_OBSD47_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 -#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 */