#ifdef __cplusplus
extern "C" {
#endif
#ifndef H_SCCSID
#include <sccs.h>
#endif /* ~H_SCCSID */
H_SCCSID(@(#)sysconst.h	1.8	AIX)	/* Modified 9/17/89 01:42:25 */
/* H_SCCSID(@(#)sysconst.h	1.3	LCC)	/* Modified: 9/15/86 09:56:32 */
/* 
 * (C) Copyright IBM Corp. 1989 
 * All Rights Reserved 
 * Licensed Materials - Property of IBM 
 */
/*
   sethpath(2) buffer sizes
	from `ipath.h 1.2' original
*/

#define	IPATHSZ		15		/* max length of ipath entry	*/
#define	IPATHLEN	8		/* max number of ipath entries	*/
#define	IBUFLEN		(IPATHLEN*IPATHSZ)	/* size of ipath buffer */


/*
   Paging system constants
	from `pagsiz.h 1.3' original
*/

#ifndef	BSIZE
#ifdef  u370
#define	BSIZE	4096
#define	BMASK	4095
#define	BSHIFT	12
#else  ~u370
#define	BSIZE	1024
#define	BMASK	1023
#define	BSHIFT	10
#endif ~u370
#endif ~BSIZE

#if vax
#define	NBPG	512
#define	CLSIZE	2
#endif

#ifdef	SRITEK
#define	NBPG	4096
#define	CLSIZE	1
#endif	SRITEK

#if	defined(NBPG) && defined(CLSIZE)
#define	PAGSIZ	(NBPG*CLSIZE)
#define	PAGRND	((PAGSIZ)-1)
#define	PGOFSET	(NBPG-1)	/* byte offset into page */
#define	CLOFSET	(CLSIZE*NBPG-1)
#endif	defined(NBPG) && defined(CLSIZE)


/*
   Local file system buffer size
	from `setlocal.h -- not checked in'
*/

#define	LOCALSZ		30		/* max length of /local entry */


/*
   Valign alignment constant
	from `valign.h 1.2' original
*/

#define	VALSIZ	1024
#ifdef __cplusplus
}
#endif
