mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
OpenBSD: Add config headers for new(er) OS versions.
The OS-specific config header files have not kept up with the newer releases of OpenBSD. This patch corrects that by adding header files for OpenBSD versions from 4.9 to 5.3 (the newest version currently under development). Reviewed-on: http://gerrit.openafs.org/8927 Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil> Reviewed-by: Derrick Brashear <shadow@your-file-system.com> Tested-by: BuildBot <buildbot@rampaginggeek.com> (cherry picked from commit 20a54b02521b40b07e4ec87df55a1e9a2549c881) Change-Id: I9ee66dbba300d5a68bc294a14dd9463441143371 Reviewed-on: http://gerrit.openafs.org/9661 Reviewed-by: Simon Wilkinson <simonxwilkinson@gmail.com> Reviewed-by: Andrew Deason <adeason@sinenomine.net> Reviewed-by: Benjamin Kaduk <kaduk@mit.edu> Reviewed-by: Derrick Brashear <shadow@your-file-system.com> Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de> Tested-by: BuildBot <buildbot@rampaginggeek.com>
This commit is contained in:
parent
1243f1c034
commit
323d961862
@ -759,6 +759,11 @@ case $AFS_SYSNAME in
|
|||||||
*_obsd46) AFS_PARAM_COMMON=param.obsd46.h ;;
|
*_obsd46) AFS_PARAM_COMMON=param.obsd46.h ;;
|
||||||
*_obsd47) AFS_PARAM_COMMON=param.obsd47.h ;;
|
*_obsd47) AFS_PARAM_COMMON=param.obsd47.h ;;
|
||||||
*_obsd48) AFS_PARAM_COMMON=param.obsd48.h ;;
|
*_obsd48) AFS_PARAM_COMMON=param.obsd48.h ;;
|
||||||
|
*_obsd49) AFS_PARAM_COMMON=param.obsd49.h ;;
|
||||||
|
*_obsd50) AFS_PARAM_COMMON=param.obsd50.h ;;
|
||||||
|
*_obsd51) AFS_PARAM_COMMON=param.obsd51.h ;;
|
||||||
|
*_obsd52) AFS_PARAM_COMMON=param.obsd52.h ;;
|
||||||
|
*_obsd53) AFS_PARAM_COMMON=param.obsd53.h ;;
|
||||||
*_linux22) AFS_PARAM_COMMON=param.linux22.h ;;
|
*_linux22) AFS_PARAM_COMMON=param.linux22.h ;;
|
||||||
*_linux24) AFS_PARAM_COMMON=param.linux24.h ;;
|
*_linux24) AFS_PARAM_COMMON=param.linux24.h ;;
|
||||||
*_linux26) AFS_PARAM_COMMON=param.linux26.h ;;
|
*_linux26) AFS_PARAM_COMMON=param.linux26.h ;;
|
||||||
|
@ -276,6 +276,11 @@
|
|||||||
#define SYS_NAME_ID_i386_obsd46 2615
|
#define SYS_NAME_ID_i386_obsd46 2615
|
||||||
#define SYS_NAME_ID_i386_obsd47 2616
|
#define SYS_NAME_ID_i386_obsd47 2616
|
||||||
#define SYS_NAME_ID_i386_obsd48 2617
|
#define SYS_NAME_ID_i386_obsd48 2617
|
||||||
|
#define SYS_NAME_ID_i386_obsd49 2618
|
||||||
|
#define SYS_NAME_ID_i386_obsd50 2619
|
||||||
|
#define SYS_NAME_ID_i386_obsd51 2620
|
||||||
|
#define SYS_NAME_ID_i386_obsd52 2621
|
||||||
|
#define SYS_NAME_ID_i386_obsd53 2622
|
||||||
|
|
||||||
#define SYS_NAME_ID_amd64_linux2 2700
|
#define SYS_NAME_ID_amd64_linux2 2700
|
||||||
#define SYS_NAME_ID_amd64_linux22 2701
|
#define SYS_NAME_ID_amd64_linux22 2701
|
||||||
@ -336,6 +341,11 @@
|
|||||||
#define SYS_NAME_ID_amd64_obsd46 4015
|
#define SYS_NAME_ID_amd64_obsd46 4015
|
||||||
#define SYS_NAME_ID_amd64_obsd47 4016
|
#define SYS_NAME_ID_amd64_obsd47 4016
|
||||||
#define SYS_NAME_ID_amd64_obsd48 4017
|
#define SYS_NAME_ID_amd64_obsd48 4017
|
||||||
|
#define SYS_NAME_ID_amd64_obsd49 4018
|
||||||
|
#define SYS_NAME_ID_amd64_obsd50 4019
|
||||||
|
#define SYS_NAME_ID_amd64_obsd51 4020
|
||||||
|
#define SYS_NAME_ID_amd64_obsd52 4021
|
||||||
|
#define SYS_NAME_ID_amd64_obsd53 4022
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Placeholder to keep system-wide standard flags since this file is included by all
|
* Placeholder to keep system-wide standard flags since this file is included by all
|
||||||
|
19
src/config/param.amd64_obsd49.h
Normal file
19
src/config/param.amd64_obsd49.h
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
/*
|
||||||
|
* 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_obsd49"
|
||||||
|
#define SYS_NAME_ID SYS_NAME_ID_amd64_obsd49
|
||||||
|
|
||||||
|
#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 AFS_64BITUSERPOINTER_ENV 1
|
||||||
|
#define AFSLITTLE_ENDIAN 1
|
||||||
|
|
||||||
|
#endif /* AFS_AMD64_PARAM_H */
|
19
src/config/param.amd64_obsd50.h
Normal file
19
src/config/param.amd64_obsd50.h
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
/*
|
||||||
|
* 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_obsd50"
|
||||||
|
#define SYS_NAME_ID SYS_NAME_ID_amd64_obsd50
|
||||||
|
|
||||||
|
#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 AFS_64BITUSERPOINTER_ENV 1
|
||||||
|
#define AFSLITTLE_ENDIAN 1
|
||||||
|
|
||||||
|
#endif /* AFS_AMD64_PARAM_H */
|
19
src/config/param.amd64_obsd51.h
Normal file
19
src/config/param.amd64_obsd51.h
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
/*
|
||||||
|
* 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_obsd51"
|
||||||
|
#define SYS_NAME_ID SYS_NAME_ID_amd64_obsd51
|
||||||
|
|
||||||
|
#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 AFS_64BITUSERPOINTER_ENV 1
|
||||||
|
#define AFSLITTLE_ENDIAN 1
|
||||||
|
|
||||||
|
#endif /* AFS_AMD64_PARAM_H */
|
19
src/config/param.amd64_obsd52.h
Normal file
19
src/config/param.amd64_obsd52.h
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
/*
|
||||||
|
* 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_obsd52"
|
||||||
|
#define SYS_NAME_ID SYS_NAME_ID_amd64_obsd52
|
||||||
|
|
||||||
|
#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 AFS_64BITUSERPOINTER_ENV 1
|
||||||
|
#define AFSLITTLE_ENDIAN 1
|
||||||
|
|
||||||
|
#endif /* AFS_AMD64_PARAM_H */
|
19
src/config/param.amd64_obsd53.h
Normal file
19
src/config/param.amd64_obsd53.h
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
/*
|
||||||
|
* 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_obsd53"
|
||||||
|
#define SYS_NAME_ID SYS_NAME_ID_amd64_obsd53
|
||||||
|
|
||||||
|
#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 AFS_64BITUSERPOINTER_ENV 1
|
||||||
|
#define AFSLITTLE_ENDIAN 1
|
||||||
|
|
||||||
|
#endif /* AFS_AMD64_PARAM_H */
|
25
src/config/param.i386_obsd49.h
Normal file
25
src/config/param.i386_obsd49.h
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* 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_obsd49"
|
||||||
|
#define SYS_NAME_ID SYS_NAME_ID_i386_obsd49
|
||||||
|
|
||||||
|
#define AFS_X86_XBSD_ENV 1
|
||||||
|
#define AFS_X86_ENV 1
|
||||||
|
#define AFSLITTLE_ENDIAN 1
|
||||||
|
|
||||||
|
#ifdef _KERNEL
|
||||||
|
void bcopy(const void *, void *, size_t);
|
||||||
|
|
||||||
|
static inline void *memmove(void *dst, const void *src, size_t len) {
|
||||||
|
bcopy(src, dst, len);
|
||||||
|
return(dst);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* AFS_I386_PARAM_H */
|
25
src/config/param.i386_obsd50.h
Normal file
25
src/config/param.i386_obsd50.h
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* 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_obsd50"
|
||||||
|
#define SYS_NAME_ID SYS_NAME_ID_i386_obsd50
|
||||||
|
|
||||||
|
#define AFS_X86_XBSD_ENV 1
|
||||||
|
#define AFS_X86_ENV 1
|
||||||
|
#define AFSLITTLE_ENDIAN 1
|
||||||
|
|
||||||
|
#ifdef _KERNEL
|
||||||
|
void bcopy(const void *, void *, size_t);
|
||||||
|
|
||||||
|
static inline void *memmove(void *dst, const void *src, size_t len) {
|
||||||
|
bcopy(src, dst, len);
|
||||||
|
return(dst);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* AFS_I386_PARAM_H */
|
25
src/config/param.i386_obsd51.h
Normal file
25
src/config/param.i386_obsd51.h
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* 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_obsd51"
|
||||||
|
#define SYS_NAME_ID SYS_NAME_ID_i386_obsd51
|
||||||
|
|
||||||
|
#define AFS_X86_XBSD_ENV 1
|
||||||
|
#define AFS_X86_ENV 1
|
||||||
|
#define AFSLITTLE_ENDIAN 1
|
||||||
|
|
||||||
|
#ifdef _KERNEL
|
||||||
|
void bcopy(const void *, void *, size_t);
|
||||||
|
|
||||||
|
static inline void *memmove(void *dst, const void *src, size_t len) {
|
||||||
|
bcopy(src, dst, len);
|
||||||
|
return(dst);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* AFS_I386_PARAM_H */
|
25
src/config/param.i386_obsd52.h
Normal file
25
src/config/param.i386_obsd52.h
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* 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_obsd52"
|
||||||
|
#define SYS_NAME_ID SYS_NAME_ID_i386_obsd52
|
||||||
|
|
||||||
|
#define AFS_X86_XBSD_ENV 1
|
||||||
|
#define AFS_X86_ENV 1
|
||||||
|
#define AFSLITTLE_ENDIAN 1
|
||||||
|
|
||||||
|
#ifdef _KERNEL
|
||||||
|
void bcopy(const void *, void *, size_t);
|
||||||
|
|
||||||
|
static inline void *memmove(void *dst, const void *src, size_t len) {
|
||||||
|
bcopy(src, dst, len);
|
||||||
|
return(dst);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* AFS_I386_PARAM_H */
|
25
src/config/param.i386_obsd53.h
Normal file
25
src/config/param.i386_obsd53.h
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* 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_obsd53"
|
||||||
|
#define SYS_NAME_ID SYS_NAME_ID_i386_obsd53
|
||||||
|
|
||||||
|
#define AFS_X86_XBSD_ENV 1
|
||||||
|
#define AFS_X86_ENV 1
|
||||||
|
#define AFSLITTLE_ENDIAN 1
|
||||||
|
|
||||||
|
#ifdef _KERNEL
|
||||||
|
void bcopy(const void *, void *, size_t);
|
||||||
|
|
||||||
|
static inline void *memmove(void *dst, const void *src, size_t len) {
|
||||||
|
bcopy(src, dst, len);
|
||||||
|
return(dst);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* AFS_I386_PARAM_H */
|
83
src/config/param.obsd49.h
Normal file
83
src/config/param.obsd49.h
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
/*
|
||||||
|
* 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_OBSD46_ENV 1
|
||||||
|
#define AFS_OBSD47_ENV 1
|
||||||
|
#define AFS_OBSD48_ENV 1
|
||||||
|
#define AFS_OBSD49_ENV 1
|
||||||
|
#undef AFS_NONFSTRANS
|
||||||
|
#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
|
||||||
|
|
||||||
|
#ifndef TAILQ_ENTRY
|
||||||
|
#include <sys/queue.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 */
|
84
src/config/param.obsd50.h
Normal file
84
src/config/param.obsd50.h
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
/*
|
||||||
|
* 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_OBSD46_ENV 1
|
||||||
|
#define AFS_OBSD47_ENV 1
|
||||||
|
#define AFS_OBSD48_ENV 1
|
||||||
|
#define AFS_OBSD49_ENV 1
|
||||||
|
#define AFS_OBSD50_ENV 1
|
||||||
|
#undef AFS_NONFSTRANS
|
||||||
|
#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
|
||||||
|
|
||||||
|
#ifndef TAILQ_ENTRY
|
||||||
|
#include <sys/queue.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 */
|
85
src/config/param.obsd51.h
Normal file
85
src/config/param.obsd51.h
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
/*
|
||||||
|
* 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_OBSD46_ENV 1
|
||||||
|
#define AFS_OBSD47_ENV 1
|
||||||
|
#define AFS_OBSD48_ENV 1
|
||||||
|
#define AFS_OBSD49_ENV 1
|
||||||
|
#define AFS_OBSD50_ENV 1
|
||||||
|
#define AFS_OBSD51_ENV 1
|
||||||
|
#undef AFS_NONFSTRANS
|
||||||
|
#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
|
||||||
|
|
||||||
|
#ifndef TAILQ_ENTRY
|
||||||
|
#include <sys/queue.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 */
|
86
src/config/param.obsd52.h
Normal file
86
src/config/param.obsd52.h
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
/*
|
||||||
|
* 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_OBSD46_ENV 1
|
||||||
|
#define AFS_OBSD47_ENV 1
|
||||||
|
#define AFS_OBSD48_ENV 1
|
||||||
|
#define AFS_OBSD49_ENV 1
|
||||||
|
#define AFS_OBSD50_ENV 1
|
||||||
|
#define AFS_OBSD51_ENV 1
|
||||||
|
#define AFS_OBSD52_ENV 1
|
||||||
|
#undef AFS_NONFSTRANS
|
||||||
|
#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
|
||||||
|
|
||||||
|
#ifndef TAILQ_ENTRY
|
||||||
|
#include <sys/queue.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 */
|
87
src/config/param.obsd53.h
Normal file
87
src/config/param.obsd53.h
Normal file
@ -0,0 +1,87 @@
|
|||||||
|
/*
|
||||||
|
* 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_OBSD46_ENV 1
|
||||||
|
#define AFS_OBSD47_ENV 1
|
||||||
|
#define AFS_OBSD48_ENV 1
|
||||||
|
#define AFS_OBSD49_ENV 1
|
||||||
|
#define AFS_OBSD50_ENV 1
|
||||||
|
#define AFS_OBSD51_ENV 1
|
||||||
|
#define AFS_OBSD52_ENV 1
|
||||||
|
#define AFS_OBSD53_ENV 1
|
||||||
|
#undef AFS_NONFSTRANS
|
||||||
|
#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
|
||||||
|
|
||||||
|
#ifndef TAILQ_ENTRY
|
||||||
|
#include <sys/queue.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 */
|
Loading…
x
Reference in New Issue
Block a user