|
|
1.1 ! root 1: /* machine.h 4.1 81/05/14 */ ! 2: ! 3: #include <sys/vm.h> ! 4: ! 5: #define PAGSIZ (NBPG*CLSIZE) ! 6: ! 7: #define DBNAME "adb\n" ! 8: #define LPRMODE "%R" ! 9: #define OFFMODE "+%R" ! 10: #define TXTRNDSIZ PAGSIZ ! 11: ! 12: #define MAXINT 0x7fffffff ! 13: #define MAXSTOR ((1L<<31) - ctob(UPAGES)) ! 14: #define MAXFILE 0xffffffff ! 15: ! 16: /* ! 17: * INSTACK tells whether its argument is a stack address. ! 18: * INUDOT tells whether its argument is in the (extended) u. area. ! 19: * These are used for consistency checking and dont have to be exact. ! 20: * ! 21: * INKERNEL tells whether its argument is a kernel space address. ! 22: * KVTOPH trims a kernel virtal address back to its offset ! 23: * in the kernel address space. ! 24: */ ! 25: #define INSTACK(x) (((x)&0xf0000000) == 0x70000000) ! 26: #define INUDOT(x) (((x)&0xf0000000) == 0x70000000) ! 27: #define INKERNEL(x) (((x)&0xf0000000) == 0x80000000) ! 28: ! 29: #define KVTOPH(x) ((x)&~ 0x80000000) ! 30: #define KERNOFF 0x80000000
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.