/* "@(#)param.h	5.1	6/9/86" */
/* param.h */

#define NOFILE 64          /* max open files per process */
#define MAXPID 2147483647  /* max process id */
#define MAXUID 60000       /* max user id */
#define MAXLINK 255        /* max links */
#define MAXPATHLEN 1024    /* max path len */
#define MAXNAMLEN 255      /* max name len */

#define HZ 1000            /* Ticks/second of the clock */
#define NCARGS 4096        /* # characters in exec arglist */


#define NBPW sizeof(int)   /* number of bytes in an integer */

#define BSIZE 4096         /* size of file system block (bytes) */
#define SBUFSIZE BSIZE     /* system buffer size */
#define BSHIFT 12          /* LOG2(BSIZE) */
#define BMASK 0xfff        /* BSIZE-1 */
#define FsBSIZE(dev) BSIZE
#define FsBSHIFT(dev) BSHIFT
#define FsBMASK(dev) BMASK


#define NULL 0
#define CMASK 0            /* default mask for file creation */
#define DIRSIZ 16          /* max characters per directory */

/* New additions */
#define TRUE               1 
#define FALSE              0

#define PageSize           4096
#define PageSize1          4095

#define HalfwordPart       65536

#define CodeSeg            0
#define DataSeg            1
#define QueueSeg           2
