Commit | Line | Data |
---|---|---|
e1a31032 KM |
1 | /* $Id: os-xinu43.h,v 5.2 90/06/23 22:21:01 jsp Rel $ */ |
2 | ||
3 | /* | |
4 | * mt Xinu 4.3 (MORE/bsd) definitions for Amd (automounter) | |
5 | * Should work on both Vax and HP ... | |
6 | * | |
7 | * Copyright (c) 1989 Jan-Simon Pendry | |
8 | * Copyright (c) 1989 Imperial College of Science, Technology & Medicine | |
9 | * Copyright (c) 1989 The Regents of the University of California. | |
10 | * All rights reserved. | |
11 | * | |
12 | * This code is derived from software contributed to Berkeley by | |
13 | * Jan-Simon Pendry at Imperial College, London. | |
14 | * | |
15 | * %sccs.include.redist.c% | |
16 | * | |
17 | * @(#)os-xinu43.h 5.1 (Berkeley) %G% | |
18 | */ | |
19 | ||
20 | /* | |
21 | * Does the compiler grok void * | |
22 | */ | |
23 | #define VOIDP | |
24 | ||
25 | /* | |
26 | * Which version of the Sun RPC library we are using | |
27 | * This is the implementation release number, not | |
28 | * the protocol revision number. | |
29 | */ | |
30 | #define RPC_4 | |
31 | ||
32 | /* | |
33 | * mt Xinu have a compatibility problem | |
34 | * with getreq vs. getreqset. On SunOS | |
35 | * getreqset takes a pointer to an fd_set, | |
36 | * whereas on MORE/bsd, getreq takes a | |
37 | * fd_set directly (cf. an integer on SunOS). | |
38 | */ | |
39 | #define svc_getreqset(p) svc_getreq(*p) | |
40 | ||
41 | /* | |
42 | * Which version of the NFS interface are we using. | |
43 | * This is the implementation release number, not | |
44 | * the protocol revision number. | |
45 | */ | |
46 | #define NFS_4 | |
47 | ||
48 | /* | |
49 | * Name of filesystem types | |
50 | */ | |
51 | #define MOUNT_TYPE_NFS "nfs" | |
52 | #define MOUNT_TYPE_UFS "ufs" | |
53 | #undef MTAB_TYPE_UFS | |
54 | #define MTAB_TYPE_UFS "ufs" | |
55 | ||
56 | /* | |
57 | * Byte ordering | |
58 | */ | |
59 | #ifndef BYTE_ORDER | |
60 | #include <machine/endian.h> | |
61 | #endif /* BYTE_ORDER */ | |
62 | ||
63 | #undef ARCH_ENDIAN | |
64 | #if BYTE_ORDER == LITTLE_ENDIAN | |
65 | #define ARCH_ENDIAN "little" | |
66 | #else | |
67 | #if BYTE_ORDER == BIG_ENDIAN | |
68 | #define ARCH_ENDIAN "big" | |
69 | #else | |
70 | XXX - Probably no hope of running Amd on this machine! | |
71 | #endif /* BIG */ | |
72 | #endif /* LITTLE */ | |
73 | ||
74 | /* | |
75 | * Type of a file handle | |
76 | */ | |
77 | #undef NFS_FH_TYPE | |
78 | #define NFS_FH_TYPE caddr_t | |
79 | ||
80 | /* | |
81 | * Type of filesystem type | |
82 | */ | |
83 | #undef MTYPE_TYPE | |
84 | #define MTYPE_TYPE char * |