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:  *	@(#)piwhoami.h	5.1 (Berkeley) 6/5/85
   7:  */
   8: 
   9: /*
  10:  *	am i generating an obj file (OBJ),
  11:  *	postfix binary input to the 2nd pass of the portable c compiler (PC),
  12:  *	or pTrees (PTREE)?
  13:  */
  14: #define OBJ
  15: #undef  PC
  16: #undef  PTREE
  17: 
  18: /*
  19:  *	we assume one of the following will be defined by the preprocessor:
  20:  *	vax	for vaxes
  21:  *	pdp11	for pdp11's
  22:  *	mc68000	for motorola mc68000's
  23:  */
  24: 
  25: /*
  26:  *	hardware characteristics:
  27:  *	address size (16 or 32 bits) and byte ordering (normal or dec11 family).
  28:  */
  29: #ifdef vax
  30: #undef  ADDR16
  31: #define ADDR32
  32: #define DEC11
  33: #endif vax
  34: #ifdef mc68000
  35: #undef  ADDR16
  36: #define ADDR32
  37: #undef  DEC11
  38: #endif mc68000
  39: #ifdef pdp11
  40: #define ADDR16
  41: #undef  ADDR32
  42: #define DEC11
  43: #endif pdp11
  44: 
  45: /*
  46:  *	am i pi or pxp?
  47:  */
  48: #define PI
  49: #undef  PXP
  50: 
  51: /*
  52:  *	am i both passes, or am i only one of the two passes pi0 or pi1?
  53:  */
  54: #define PI01
  55: #undef  PI0
  56: #undef  PI1
  57: #define DEBUG

Defined macros

ADDR16 defined in line 40; used 2 times
ADDR32 defined in line 36; used 1 times
  • in line 41
DEBUG defined in line 57; never used
DEC11 defined in line 42; used 1 times
  • in line 37
OBJ defined in line 14; never used
PI defined in line 48; never used
PI01 defined in line 54; never used
Last modified: 1985-06-06
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1322
Valid CSS Valid XHTML 1.0 Strict