FBSD: Use ucontext for FreeBSD 10+ on amd64
[openafs.git] / src / config / param.amd64_fbsd_112.h
1 #ifndef AFS_PARAM_H
2 #define AFS_PARAM_H
3
4 /* Machine / Operating system information */
5 #define SYS_NAME        "amd64_fbsd_112"
6 #define SYS_NAME_ID     SYS_NAME_ID_amd64_fbsd_112
7
8 #define AFS_64BITPOINTER_ENV 1
9
10 #ifndef UKERNEL
11 /* This section for kernel libafs compiles only */
12
13 #define AFS_64BITUSERPOINTER_ENV 1
14
15 #define AFS_FBSD50_ENV 1
16 #define AFS_FBSD51_ENV 1
17 #define AFS_FBSD52_ENV 1
18 #define AFS_FBSD53_ENV 1
19 #define AFS_FBSD60_ENV 1
20 #define AFS_FBSD61_ENV 1
21 #define AFS_FBSD62_ENV 1
22 #define AFS_FBSD70_ENV 1
23 #define AFS_FBSD71_ENV 1
24 #define AFS_FBSD72_ENV 1
25 #define AFS_FBSD73_ENV 1
26 #define AFS_FBSD80_ENV 1
27 #define AFS_FBSD81_ENV 1
28 #define AFS_FBSD82_ENV 1
29 #define AFS_FBSD83_ENV 1
30 #define AFS_FBSD84_ENV 1
31 #define AFS_FBSD90_ENV 1
32 #define AFS_FBSD91_ENV 1
33 #define AFS_FBSD92_ENV 1
34 #define AFS_FBSD93_ENV 1
35 #define AFS_FBSD100_ENV 1
36 #define AFS_FBSD101_ENV 1
37 #define AFS_FBSD102_ENV 1
38 #define AFS_FBSD103_ENV 1
39 #define AFS_FBSD110_ENV 1
40 #define AFS_FBSD111_ENV 1
41 #define AFS_FBSD112_ENV 1
42
43 #define AFS_X86_FBSD50_ENV 1
44 #define AFS_X86_FBSD60_ENV 1 /* added at 70--ie, some changes should port <-- */
45 #define AFS_X86_FBSD62_ENV 1
46 #define AFS_X86_FBSD70_ENV 1
47 #define AFS_X86_FBSD71_ENV 1
48 #define AFS_X86_FBSD72_ENV 1
49 #define AFS_X86_FBSD73_ENV 1
50 #define AFS_X86_FBSD80_ENV 1
51 #define AFS_X86_FBSD81_ENV 1
52 #define AFS_X86_FBSD82_ENV 1
53 #define AFS_X86_FBSD83_ENV 1
54 #define AFS_X86_FBSD84_ENV 1
55 #define AFS_X86_FBSD90_ENV 1
56 #define AFS_X86_FBSD91_ENV 1
57 #define AFS_X86_FBSD92_ENV 1
58 #define AFS_X86_FBSD93_ENV 1
59 #define AFS_X86_FBSD100_ENV 1
60 #define AFS_X86_FBSD101_ENV 1
61 #define AFS_X86_FBSD102_ENV 1
62 #define AFS_X86_FBSD103_ENV 1
63 #define AFS_X86_FBSD110_ENV 1
64 #define AFS_X86_FBSD111_ENV 1
65 #define AFS_X86_FBSD112_ENV 1
66
67 #else /* !defined(UKERNEL) */
68
69 /* This section for user space compiles only */
70
71 #define AFS_USR_FBSD50_ENV 1
72 #define AFS_USR_FBSD51_ENV 1
73 #define AFS_USR_FBSD52_ENV 1
74 #define AFS_USR_FBSD53_ENV 1
75 #define AFS_USR_FBSD60_ENV 1
76 #define AFS_USR_FBSD61_ENV 1
77 #define AFS_USR_FBSD70_ENV 1
78 #define AFS_USR_FBSD71_ENV 1
79 #define AFS_USR_FBSD72_ENV 1
80 #define AFS_USR_FBSD73_ENV 1
81 #define AFS_USR_FBSD80_ENV 1
82 #define AFS_USR_FBSD81_ENV 1
83 #define AFS_USR_FBSD82_ENV 1
84 #define AFS_USR_FBSD83_ENV 1
85 #define AFS_USR_FBSD84_ENV 1
86 #define AFS_USR_FBSD90_ENV 1
87 #define AFS_USR_FBSD91_ENV 1
88 #define AFS_USR_FBSD92_ENV 1
89 #define AFS_USR_FBSD93_ENV 1
90 #define AFS_USR_FBSD100_ENV 1
91 #define AFS_USR_FBSD101_ENV 1
92 #define AFS_USR_FBSD102_ENV 1
93 #define AFS_USR_FBSD103_ENV 1
94 #define AFS_USR_FBSD110_ENV 1
95 #define AFS_USR_FBSD111_ENV 1
96 #define AFS_USR_FBSD112_ENV 1
97
98 #endif /* !defined(UKERNEL) */
99
100 #define USE_UCONTEXT
101
102 #endif /* AFS_PARAM_H */