ntmakefile-20040602
[openafs.git] / src / config / param.ppc_nbsd20.h
1 #ifndef UKERNEL
2 /* This section for kernel libafs compiles only */
3
4 #ifndef AFS_PARAM_H
5 #define AFS_PARAM_H
6
7 #include <sys/param.h>
8
9 #define SYS_NAME       "macppc_nbsd20"
10 #define SYS_NAME_ID    SYS_NAME_ID_macppc_nbsd20
11
12 #define AFS_PPC_ENV 1
13 #define AFSBIG_ENDIAN   1
14
15 #endif /* AFS_PARAM_H */
16
17 #else /* !defined(UKERNEL) */
18
19 /* This section for user space compiles only */
20
21 #ifndef AFS_PARAM_H
22 #define AFS_PARAM_H
23
24
25 #define UKERNEL                 1       /* user space kernel */
26 #define AFS_ENV                 1
27 #define AFS_VFSINCL_ENV         1
28 #define AFS_NBSD_ENV            1
29 #define AFS_NBSD15_ENV          1
30 #define AFS_NBSD16_ENV          1
31 #define AFS_NBSD20_ENV          1
32 #define AFS_NONFSTRANS 1
33 #define AFS_KERBEROS_ENV
34
35 #define AFS_MOUNT_AFS "afs"     /* The name of the filesystem type. */
36 #define AFS_SYSCALL 210
37 #define AFS_NAMEI_ENV         1 /* User space interface to file system */
38 #define AFS_64BIT_IOPS_ENV    1 /* Needed for NAMEI */
39 #include <afs/afs_sysnames.h>
40
41 #define AFS_USERSPACE_IP_ADDR 1
42 #define RXK_LISTENER_ENV      1
43 #define AFS_GCPAGS            0 /* if nonzero, garbage collect PAGs */
44
45 /* Machine / Operating system information */
46 #define SYS_NAME       "i386_nbsd16"
47 #define SYS_NAME_ID    SYS_NAME_ID_i386_nbsd16
48 #define AFSLITTLE_ENDIAN    1
49 #define AFS_HAVE_FFS        1   /* Use system's ffs. */
50 #define AFS_HAVE_STATVFS    0   /* System doesn't support statvfs */
51 #define AFS_VM_RDWR_ENV     1   /* read/write implemented via VM */
52
53 #define afsio_iov       uio_iov
54 #define afsio_iovcnt    uio_iovcnt
55 #define afsio_offset    uio_offset
56 #define afsio_seg       uio_segflg
57 #define afsio_fmode     uio_fmode
58 #define afsio_resid     uio_resid
59 #define AFS_UIOSYS      1
60 #define AFS_UIOUSER     UIO_USERSPACE
61 #define AFS_CLBYTES     MCLBYTES
62 #define AFS_MINCHANGE   2
63 #define VATTR_NULL      usr_vattr_null
64
65 #define AFS_DIRENT
66 #ifndef CMSERVERPREF
67 #define CMSERVERPREF
68 #endif
69
70 #include <limits.h>
71 #include <sys/param.h>
72 #include <sys/types.h>
73 #include <sys/mount.h>
74 #include <sys/fcntl.h>
75 #include <netinet/in.h>
76 #include <sys/uio.h>
77 #include <sys/socket.h>
78
79 #endif /* AFS_PARAM_H */
80
81 #endif /* !defined(UKERNEL) */