xref: /original-bsd/usr.sbin/amd/config/os-hlh42.h (revision 9d1db70c)
1 /* $Id: os-hlh42.h,v 5.2 90/06/23 22:20:46 jsp Rel $ */
2 
3 /*
4  * HLH OTS definitions for Amd (automounter)
5  *
6  * Copyright (c) 1989 Jan-Simon Pendry
7  * Copyright (c) 1989 Imperial College of Science, Technology & Medicine
8  * Copyright (c) 1989 The Regents of the University of California.
9  * All rights reserved.
10  *
11  * This code is derived from software contributed to Berkeley by
12  * Jan-Simon Pendry at Imperial College, London.
13  *
14  * %sccs.include.redist.c%
15  *
16  *	@(#)os-hlh42.h	5.1 (Berkeley) 06/29/90
17  */
18 
19 /*
20  * Does the compiler grok void *
21  */
22 #undef	VOIDP
23 
24 /*
25  * Which version of the Sun RPC library we are using
26  * This is the implementation release number, not
27  * the protocol revision number.
28  */
29 #define	RPC_3
30 
31 /*
32  * Which version of the NFS interface are we using.
33  * This is the implementation release number, not
34  * the protocol revision number.
35  */
36 #define	NFS_3
37 
38 /*
39  * Byte ordering
40  */
41 #undef ARCH_ENDIAN
42 #if defined(hlh)
43 #define	ARCH_ENDIAN	"little"
44 #endif
45 
46 /*
47  * Name of filesystem types
48  */
49 #define	MOUNT_TYPE_NFS	MOUNT_NFS
50 #define	MOUNT_TYPE_UFS	MOUNT_UFS
51 
52 /*
53  * Miscellaneous HLH 4.2 incantations
54  */
55 #define	strchr	index
56 #define strrchr	rindex
57 #define sigmask(x)	(1 << ((x)-1))
58 
59 /*
60  * HLH's 4.2 needs the extra RPC definitions.
61  */
62 #define MISC_RPC
63