|
|
1.1 ! root 1: /* ! 2: * static char ID[] = "@(#) sdp1.h: 1.1 1/6/82"; ! 3: */ ! 4: ! 5: /* ! 6: * SDP user-dependent constants ! 7: * ! 8: * BYTEBITS 2**BYTEBITS == sze of a page, in bytres ! 9: * DFILELENG maximum size of a SDP paging file, in pages ! 10: * DFILES initial number of files in an addres space ! 11: * DPARTITIONS number of page frames in each partition ! 12: * DPARTSIZE number of page frame partitions ! 13: * DPARTRESET usage count at which partition sizes are ! 14: * recomputed ! 15: * HITPARTITION page frame partition for hash table collisions ! 16: * ITEMID the type of C data structure for an itemid ! 17: * ITEMIDSIZE inumber of bytes in an itemid ! 18: * ITEMSIZE number of bits in an itemid ! 19: * MAXATTACH maximum number of concurrently opened address ! 20: * spaces ! 21: * MAXFILES maximum number of files comprising an address ! 22: * space ! 23: * MISPARTITION page frame partition for initial hash table ! 24: * symbols and aux entries ! 25: * MODE mode for open() calls ! 26: * NAMELENG maximum size of an address space file name ! 27: * NUMBERFRAMES number of SDP paging frames ! 28: * PAGEBITS 2**PAGEBITS == size of an address space, in ! 29: * pages ! 30: * SVSPACE SDP address space id for slot vectors ! 31: * SVPARTITION page frame partition for slot vectors ! 32: * SYMSPACE SDP address space id for global symbol table ! 33: * AUXSPACE SDP address space id for aux entries ! 34: * TEMPLATE template for all address space file names ! 35: */ ! 36: ! 37: #define BYTEBITS 9 ! 38: #define DFILELENG {40000} ! 39: #define DFILES 1 ! 40: #if AR16WR ! 41: #define DPARTITIONS {20} ! 42: #else ! 43: #define DPARTITIONS {40} ! 44: #endif ! 45: #define DPARTSIZE 1 ! 46: #define DPARTRESET -1 ! 47: #define HITPARTITION 0 ! 48: #define ITEMID long ! 49: #define ITEMSIZE 32 ! 50: #define ITEMIDSIZE 4 ! 51: #define MAXATTACH 3 /* > largest address space id */ ! 52: #define MAXFILES 1 ! 53: #define MISPARTITION 0 ! 54: #define MODE 0600 ! 55: #define NAMELENG 30 ! 56: #if !AR16WR ! 57: #define NUMBERFRAMES 40 ! 58: #else ! 59: #define NUMBERFRAMES 20 /* DPARTSIZE * DPARTITIONS == NUMBERFRAMES */ ! 60: #endif ! 61: #define PAGEBITS 15 ! 62: #define SVSPACE 1 ! 63: #define SVPARTITION 0 ! 64: #define SYMSPACE 0 ! 65: #define AUXSPACE 2 ! 66: #define TEMPLATE "sdp__"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.