#ifdef __cplusplus
extern "C" {
#endif
#ifndef H_SCCSID
#include <sccs.h>
#endif /* ~H_SCCSID */
H_SCCSID(@(#)ix370.h	1.12	AIX)	/* Modified 9/17/89 00:36:40 */
/* 
 * (C) Copyright IBM Corp. 1989 
 * All Rights Reserved 
 * Licensed Materials - Property of IBM 
 */
/* H_SCCSID(@(#) ix370.h 1.7     LM 09:37:37 9/15/86 C 16:00:05 5/8/88)   


/* ix370.h defines the global names used by IX370 */


#define OFF	0
#define ON	1

#define READ	0
#define WRITE	1

#define OCT	8
#define DEC	10
#define HEX	16

#define	LINE_LG	80
#define BUFF_SZ	100
#define	RGN_NO	20
#define	NAME_LG	8
#define	MASTER 	"IX370"
#define	MACS 	"MACS"
#define	DOASM 	"DOASM"
#define	SERIES1 	"SERIES1"

/* file descriptor's */

#define	U370	 "/dev/tss"
#define	MEM	 "/dev/mem"

#define UNXDFILE "/usr/src/uts/u370/cf/sysunx.dfile"
#define SYSGENDFILE  "/usr/src/uts/u370/cf/sysgen.dfile"
#define NETGENDFILE  "/usr/src/uts/u370/cf/netgen.dfile"
#define FEPDFILE "/usr/src/uts/u370/cf/fep.dfile"

/* module descriptor's */

#define VRYRGN   "/etc/genfm.dir/vryrgn"
#define SYSUNX   "/etc/genfm.dir/sysunx"
#define SYSGEN   "/etc/genfm.dir/sysgen"
#define NETGEN   "/etc/genfm.dir/netgen"
#define SORTRGN  "/etc/genfm.dir/sortrgn"
#define VINT   	 "/etc/vint"
#define OPS  	 "/etc/ops"
#define SYSRCS   "/etc/don.dir/sysrcs"

#define SPHASE1  "EXECUTE SCRIPT.PHASE1.SYSGEN"
#define SPHASE2  "EXECUTE SCRIPT.PHASE2.SYSGEN"
#define SPHASE3  "EXECUTE SCRIPT.PHASE3.SYSGEN"
#define NPHASE1  "SCRIPT.PHASE1.NETGEN"

/*         
 *  Definition of PATHNAMES for the routines: 
 *		initsub, termsub and term
 *
 */

#define   SYS_STATE		"/etc/init.state"
#define   DOFF			"/etc/doff"
#define   ACT_SUBSYS		"/etc/subsys.dir/ACT_subsys"
#define   TMP_SUBSYS		"/etc/subsys.dir/TMP_subsys"
#define   MOVE			"/bin/mv"

extern int RGNERR;
extern int MANDPRT;

#define upper(c) (c>='a' && c<='z') ? c - ('a'-'A') : c 
#ifdef __cplusplus
#include <string.h>
#define Eq(a,b)		(strcmp(a,b) == 0)
}
#endif
#define Eq(a,b)		(strcmp(a,b) == 0)
