1: /*
   2:  * Copyright (c) 1980 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)whoami.h	5.1 (Berkeley) 6/5/85
   7:  */
   8: 
   9: /*
  10:  *	we assume one of the following will be defined by the preprocessor:
  11:  *	vax	for vaxes
  12:  *	pdp11	for pdp11's
  13:  *	mc68000	for motorola mc68000's
  14:  */
  15: 
  16: /*
  17:  *	hardware characteristics:
  18:  *	address size (16 or 32 bits) and byte ordering (normal or dec11 family).
  19:  */
  20: #ifdef vax
  21: #undef  ADDR16
  22: #define ADDR32
  23: #define DEC11
  24: #endif vax
  25: #ifdef mc68000
  26: #undef  ADDR16
  27: #define ADDR32
  28: #undef  DEC11
  29: #endif mc68000
  30: #ifdef pdp11
  31: #define ADDR16
  32: #undef  ADDR32
  33: #define DEC11
  34: #endif pdp11
  35: 
  36: /*
  37:  *	am i pi or pxp?
  38:  */
  39: #undef PI
  40: #define PXP
  41: 
  42: /*
  43:  *	am i both passes, or am i only one of the two passes pi0 or pi1?
  44:  */
  45: #define PI01
  46: #undef  PI0
  47: #undef  PI1

Defined macros

ADDR16 defined in line 31; used 2 times
ADDR32 defined in line 27; used 1 times
  • in line 32
DEC11 defined in line 33; used 1 times
  • in line 28
PI01 defined in line 45; never used

Usage of this include

Last modified: 1985-06-06
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 880
Valid CSS Valid XHTML 1.0 Strict