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

Defined macros

DBNAME defined in line 7; used 2 times
INKERNEL defined in line 27; used 3 times
INSTACK defined in line 25; used 2 times
INUDOT defined in line 26; used 1 times
KERNOFF defined in line 30; used 6 times
KVTOPH defined in line 29; used 6 times
LPRMODE defined in line 8; used 2 times
MAXFILE defined in line 14; used 2 times
MAXINT defined in line 12; used 1 times
MAXSTOR defined in line 13; used 2 times
OFFMODE defined in line 9; used 2 times
PAGSIZ defined in line 5; used 3 times
TXTRNDSIZ defined in line 10; never used

Usage of this include

machine.h used 1 times
Last modified: 1982-10-27
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 861
Valid CSS Valid XHTML 1.0 Strict