|
|
1.1 ! root 1: #include <sys/vm.h> ! 2: ! 3: #define PAGSIZ (NBPG*CLSIZE) ! 4: ! 5: #define MAXSTOR ((1L<<31) - ctob(UPAGES)) ! 6: #define MAXFILE 0xffffffff ! 7: ! 8: /* ! 9: * INSTACK tells whether its argument is a stack address. ! 10: * INUDOT tells whether its argument is in the (extended) u. area. ! 11: * These are used for consistency checking and dont have to be exact. ! 12: * ! 13: * INKERNEL tells whether its argument is a kernel space address. ! 14: */ ! 15: #define INSTACK(x) (((x)&0xf0000000) == 0x70000000) ! 16: #define INUDOT(x) (((x)&0xf0000000) == 0x70000000) ! 17: #define INKERNEL(x) (((x)&0xf0000000) == 0x80000000) ! 18: ! 19: #define KERNOFF 0x80000000
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.