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