xref: /original-bsd/usr.sbin/amd/config/os-hcx.h (revision b5ed8b48)
1 /*
2  * Copyright (c) 1990 Jan-Simon Pendry
3  * Copyright (c) 1990 Imperial College of Science, Technology & Medicine
4  * Copyright (c) 1990 The Regents of the University of California.
5  * All rights reserved.
6  *
7  * This code is derived from software contributed to Berkeley by
8  * Jan-Simon Pendry at Imperial College, London.
9  *
10  * %sccs.include.redist.c%
11  *
12  *	@(#)os-hcx.h	5.4 (Berkeley) 02/09/92
13  *
14  * $Id: os-hcx.h,v 5.2.2.1 1992/02/09 15:10:20 jsp beta $
15  *
16  * Harris HCX/UX Release 3.0 definitions for Amd (automounter)
17  */
18 
19 /*
20  * Which version of the Sun RPC library we are using
21  * This is the implementation release number, not
22  * the protocol revision number.
23  */
24 #define	RPC_3
25 
26 /*
27  * Which version of the NFS interface are we using.
28  * This is the implementation release number, not
29  * the protocol revision number.
30  */
31 #define	NFS_3
32 
33 /*
34  * Deviant call necessary.  The mount() routine in libc only works for UFS
35  * (it's a backward-compatible piece of C code which traps to mountsyscall).
36  */
37 #undef MOUNT_TRAP
38 #define	MOUNT_TRAP(type, mnt, flags, mnt_data) \
39 	mountsyscall(type, mnt->mnt_dir, flags, mnt_data)
40 
41 /*
42  * Name of filesystem types
43  */
44 #define	MOUNT_TYPE_NFS	MOUNT_NFS
45 #define	MOUNT_TYPE_UFS	MOUNT_UFS
46 
47 /*
48  * Byte ordering
49  */
50 #undef ARCH_ENDIAN
51 #ifdef _hcx
52 #define ARCH_ENDIAN "big"
53 #else
54 XXX - bizarre!
55 #endif
56