1*47512Spendry /* $Id: os-hcx.h,v 5.2 91/01/27 20:13:28 jsp Alpha $ */ 2*47512Spendry 3*47512Spendry /* 4*47512Spendry * Harris HCX/UX Release 3.0 definitions for Amd (automounter) 5*47512Spendry * 6*47512Spendry * Copyright (c) 1990 Jan-Simon Pendry 7*47512Spendry * Copyright (c) 1990 Imperial College of Science, Technology & Medicine 8*47512Spendry * Copyright (c) 1990 The Regents of the University of California. 9*47512Spendry * All rights reserved. 10*47512Spendry * 11*47512Spendry * This code is derived from software contributed to Berkeley by 12*47512Spendry * Jan-Simon Pendry at Imperial College, London. 13*47512Spendry * 14*47512Spendry * Redistribution and use in source and binary forms are permitted provided 15*47512Spendry * that: (1) source distributions retain this entire copyright notice and 16*47512Spendry * comment, and (2) distributions including binaries display the following 17*47512Spendry * acknowledgement: ``This product includes software developed by the 18*47512Spendry * University of California, Berkeley and its contributors'' in the 19*47512Spendry * documentation or other materials provided with the distribution and in 20*47512Spendry * all advertising materials mentioning features or use of this software. 21*47512Spendry * Neither the name of the University nor the names of its contributors may 22*47512Spendry * be used to endorse or promote products derived from this software without 23*47512Spendry * specific prior written permission. 24*47512Spendry * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED 25*47512Spendry * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF 26*47512Spendry * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 27*47512Spendry * 28*47512Spendry * @(#)os-hcx.h 5.1 (Berkeley) 03/17/91 29*47512Spendry * 30*47512Spendry */ 31*47512Spendry 32*47512Spendry /* 33*47512Spendry * Which version of the Sun RPC library we are using 34*47512Spendry * This is the implementation release number, not 35*47512Spendry * the protocol revision number. 36*47512Spendry */ 37*47512Spendry #define RPC_3 38*47512Spendry 39*47512Spendry /* 40*47512Spendry * Which version of the NFS interface are we using. 41*47512Spendry * This is the implementation release number, not 42*47512Spendry * the protocol revision number. 43*47512Spendry */ 44*47512Spendry #define NFS_3 45*47512Spendry 46*47512Spendry /* 47*47512Spendry * Deviant call necessary. The mount() routine in libc only works for UFS 48*47512Spendry * (it's a backward-compatible piece of C code which traps to mountsyscall). 49*47512Spendry */ 50*47512Spendry #undef MOUNT_TRAP 51*47512Spendry #define MOUNT_TRAP(type, mnt, flags, mnt_data) \ 52*47512Spendry mountsyscall(type, mnt->mnt_dir, flags, mnt_data) 53*47512Spendry 54*47512Spendry /* 55*47512Spendry * Name of filesystem types 56*47512Spendry */ 57*47512Spendry #define MOUNT_TYPE_NFS MOUNT_NFS 58*47512Spendry #define MOUNT_TYPE_UFS MOUNT_UFS 59*47512Spendry 60*47512Spendry /* 61*47512Spendry * Byte ordering 62*47512Spendry */ 63*47512Spendry #undef ARCH_ENDIAN 64*47512Spendry #ifdef _hcx 65*47512Spendry #define ARCH_ENDIAN "big" 66*47512Spendry #else 67*47512Spendry XXX - bizarre! 68*47512Spendry #endif 69