|
|
1.1 ! root 1: /* vmparam.h 4.1 11/9/80 */ ! 2: ! 3: /* ! 4: * Machine dependent constants ! 5: */ ! 6: #define NBBY 8 /* number of bits in a byte */ ! 7: #define NBPG 512 /* number of bytes per page */ ! 8: #define PGSHIFT 9 /* LOG2(NBPG) */ ! 9: #define NPTEPG (NBPG/(sizeof (struct pte))) ! 10: /* number of ptes per page */ ! 11: #define PGOFSET (NBPG-1) /* byte offset into page */ ! 12: #define CLOFSET (CLSIZE*NBPG-1) /* for clusters, like PGOFSET */ ! 13: #define USRSTACK (0x80000000-UPAGES*NBPG) ! 14: /* Start of user stack */ ! 15: #define P1TOP 0x200000 /* boundary between P0 and P1 regions */ ! 16: #define AST 0x04000000 /* ast level */ ! 17: ! 18: /* ! 19: * Virtual memory related constants ! 20: * ! 21: * note: USRPTSIZE is well known in locore.s ! 22: */ ! 23: #define SLOP 16 ! 24: #define MAXTSIZ (6*2048-SLOP) /* max text size (clicks) */ ! 25: #define MAXDSIZ (11*1024-16-SLOP) /* max data size (clicks) */ ! 26: #define MAXSSIZ (11*1024-16-SLOP) /* max stack size (clicks) */ ! 27: #define USRPTSIZE (8*NPTEPG) /* max number of pages of page tables ! 28: for resident processes, this is ! 29: known in locore.s */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.