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