xref: /csrg-svn/usr.sbin/amd/config/os-hcx.h (revision 47534)
147512Spendry /* $Id: os-hcx.h,v 5.2 91/01/27 20:13:28 jsp Alpha $ */
247512Spendry 
347512Spendry /*
447512Spendry  * Harris HCX/UX Release 3.0 definitions for Amd (automounter)
547512Spendry  *
647512Spendry  * Copyright (c) 1990 Jan-Simon Pendry
747512Spendry  * Copyright (c) 1990 Imperial College of Science, Technology & Medicine
847512Spendry  * Copyright (c) 1990 The Regents of the University of California.
947512Spendry  * All rights reserved.
1047512Spendry  *
1147512Spendry  * This code is derived from software contributed to Berkeley by
1247512Spendry  * Jan-Simon Pendry at Imperial College, London.
1347512Spendry  *
14*47534Spendry  * %sccs.include.redist.c%
1547512Spendry  *
16*47534Spendry  *	@(#)os-hcx.h	5.2 (Berkeley) 03/17/91
1747512Spendry  *
1847512Spendry  */
1947512Spendry 
2047512Spendry /*
2147512Spendry  * Which version of the Sun RPC library we are using
2247512Spendry  * This is the implementation release number, not
2347512Spendry  * the protocol revision number.
2447512Spendry  */
2547512Spendry #define	RPC_3
2647512Spendry 
2747512Spendry /*
2847512Spendry  * Which version of the NFS interface are we using.
2947512Spendry  * This is the implementation release number, not
3047512Spendry  * the protocol revision number.
3147512Spendry  */
3247512Spendry #define	NFS_3
3347512Spendry 
3447512Spendry /*
3547512Spendry  * Deviant call necessary.  The mount() routine in libc only works for UFS
3647512Spendry  * (it's a backward-compatible piece of C code which traps to mountsyscall).
3747512Spendry  */
3847512Spendry #undef MOUNT_TRAP
3947512Spendry #define	MOUNT_TRAP(type, mnt, flags, mnt_data) \
4047512Spendry 	mountsyscall(type, mnt->mnt_dir, flags, mnt_data)
4147512Spendry 
4247512Spendry /*
4347512Spendry  * Name of filesystem types
4447512Spendry  */
4547512Spendry #define	MOUNT_TYPE_NFS	MOUNT_NFS
4647512Spendry #define	MOUNT_TYPE_UFS	MOUNT_UFS
4747512Spendry 
4847512Spendry /*
4947512Spendry  * Byte ordering
5047512Spendry  */
5147512Spendry #undef ARCH_ENDIAN
5247512Spendry #ifdef _hcx
5347512Spendry #define ARCH_ENDIAN "big"
5447512Spendry #else
5547512Spendry XXX - bizarre!
5647512Spendry #endif
57