FBSD: Add support for FreeBSD 12.1

Change-Id: I5779c586b6b1255de0ee0dea66b09f3a5dffddc1
Reviewed-on: https://gerrit.openafs.org/13982
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
This commit is contained in:
Tim Creech 2019-12-09 21:13:58 -05:00 committed by Benjamin Kaduk
parent 20dc283226
commit 71ce9fff8e
3 changed files with 98 additions and 0 deletions

View File

@ -243,6 +243,7 @@
#define SYS_NAME_ID_i386_fbsd_112 2142
#define SYS_NAME_ID_i386_fbsd_113 2143
#define SYS_NAME_ID_i386_fbsd_120 2160
#define SYS_NAME_ID_i386_fbsd_121 2161
#define SYS_NAME_ID_ia64_linux2 2200
#define SYS_NAME_ID_ia64_linux22 2201
@ -358,6 +359,7 @@
#define SYS_NAME_ID_amd64_fbsd_112 3042
#define SYS_NAME_ID_amd64_fbsd_113 3043
#define SYS_NAME_ID_amd64_fbsd_120 3060
#define SYS_NAME_ID_amd64_fbsd_121 3061
#define SYS_NAME_ID_amd64_w2k 3400

View File

@ -0,0 +1,50 @@
#ifndef AFS_PARAM_H
#define AFS_PARAM_H
/* Machine / Operating system information */
#define SYS_NAME "amd64_fbsd_121"
#define SYS_NAME_ID SYS_NAME_ID_amd64_fbsd_121
#define AFS_64BITPOINTER_ENV 1
#ifndef UKERNEL
/* This section for kernel libafs compiles only */
#define AFS_64BITUSERPOINTER_ENV 1
#define AFS_FBSD101_ENV 1
#define AFS_FBSD102_ENV 1
#define AFS_FBSD103_ENV 1
#define AFS_FBSD104_ENV 1
#define AFS_FBSD110_ENV 1
#define AFS_FBSD111_ENV 1
#define AFS_FBSD120_ENV 1
#define AFS_FBSD121_ENV 1
#define AFS_X86_FBSD101_ENV 1
#define AFS_X86_FBSD102_ENV 1
#define AFS_X86_FBSD103_ENV 1
#define AFS_X86_FBSD104_ENV 1
#define AFS_X86_FBSD110_ENV 1
#define AFS_X86_FBSD111_ENV 1
#define AFS_X86_FBSD120_ENV 1
#define AFS_X86_FBSD121_ENV 1
#else /* !defined(UKERNEL) */
/* This section for user space compiles only */
#define AFS_USR_FBSD101_ENV 1
#define AFS_USR_FBSD102_ENV 1
#define AFS_USR_FBSD103_ENV 1
#define AFS_USR_FBSD104_ENV 1
#define AFS_USR_FBSD110_ENV 1
#define AFS_USR_FBSD111_ENV 1
#define AFS_USR_FBSD120_ENV 1
#define AFS_USR_FBSD121_ENV 1
#endif /* !defined(UKERNEL) */
#define USE_UCONTEXT
#endif /* AFS_PARAM_H */

View File

@ -0,0 +1,46 @@
#ifndef AFS_PARAM_H
#define AFS_PARAM_H
/* Machine / Operating system information */
#define SYS_NAME "i386_fbsd_121"
#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_121
#define AFS_FAKEOPEN_ENV 1 /* call afs_FakeOpen as if !AFS_VM_RDWR */
#ifndef UKERNEL
/* This section for kernel libafs compiles only */
#define AFS_FBSD101_ENV 1
#define AFS_FBSD102_ENV 1
#define AFS_FBSD103_ENV 1
#define AFS_FBSD104_ENV 1
#define AFS_FBSD110_ENV 1
#define AFS_FBSD111_ENV 1
#define AFS_FBSD120_ENV 1
#define AFS_FBSD121_ENV 1
#define AFS_X86_FBSD101_ENV 1
#define AFS_X86_FBSD102_ENV 1
#define AFS_X86_FBSD103_ENV 1
#define AFS_X86_FBSD104_ENV 1
#define AFS_X86_FBSD110_ENV 1
#define AFS_X86_FBSD111_ENV 1
#define AFS_X86_FBSD120_ENV 1
#define AFS_X86_FBSD121_ENV 1
#else /* !defined(UKERNEL) */
/* This section for user space compiles only */
#define AFS_USR_FBSD101_ENV 1
#define AFS_USR_FBSD102_ENV 1
#define AFS_USR_FBSD103_ENV 1
#define AFS_USR_FBSD104_ENV 1
#define AFS_USR_FBSD110_ENV 1
#define AFS_USR_FBSD111_ENV 1
#define AFS_USR_FBSD120_ENV 1
#define AFS_USR_FBSD121_ENV 1
#endif /* !defined(UKERNEL) */
#endif /* AFS_PARAM_H */