|
|
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 (KERNOFF - 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) (((int)(x)&0xf0000000) == 0xb0000000) ! 24: #define INUDOT(x) (((int)(x)&0xf0000000) == 0xb0000000) ! 25: #define INKERNEL(x) (((int)(x)&0xf0000000) == 0xc0000000) ! 26: ! 27: #define KERNOFF 0xc0000000 ! 28: #define KERNSTART 0x800
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.