xref: /original-bsd/usr.sbin/amd/config/os-hcx.h (revision 6c8be42f)
1 /* $Id: os-hcx.h,v 5.2 91/01/27 20:13:28 jsp Alpha $ */
2 
3 /*
4  * Harris HCX/UX Release 3.0 definitions for Amd (automounter)
5  *
6  * Copyright (c) 1990 Jan-Simon Pendry
7  * Copyright (c) 1990 Imperial College of Science, Technology & Medicine
8  * Copyright (c) 1990 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-hcx.h	5.2 (Berkeley) 03/17/91
17  *
18  */
19 
20 /*
21  * Which version of the Sun RPC library we are using
22  * This is the implementation release number, not
23  * the protocol revision number.
24  */
25 #define	RPC_3
26 
27 /*
28  * Which version of the NFS interface are we using.
29  * This is the implementation release number, not
30  * the protocol revision number.
31  */
32 #define	NFS_3
33 
34 /*
35  * Deviant call necessary.  The mount() routine in libc only works for UFS
36  * (it's a backward-compatible piece of C code which traps to mountsyscall).
37  */
38 #undef MOUNT_TRAP
39 #define	MOUNT_TRAP(type, mnt, flags, mnt_data) \
40 	mountsyscall(type, mnt->mnt_dir, flags, mnt_data)
41 
42 /*
43  * Name of filesystem types
44  */
45 #define	MOUNT_TYPE_NFS	MOUNT_NFS
46 #define	MOUNT_TYPE_UFS	MOUNT_UFS
47 
48 /*
49  * Byte ordering
50  */
51 #undef ARCH_ENDIAN
52 #ifdef _hcx
53 #define ARCH_ENDIAN "big"
54 #else
55 XXX - bizarre!
56 #endif
57