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:  *	@(#)pcwhoami.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: #undef  OBJ
  15: #define 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 pdp11
  35: #   define  ADDR16
  36: #   undef   ADDR32
  37: #   define  DEC11
  38: #endif vax
  39: #ifdef mc68000
  40: #   undef   ADDR16
  41: #   define  ADDR32
  42: #   undef   DEC11
  43: #endif mc68000
  44: #ifdef z8000
  45: #   define  ADDR16
  46: #   undef   ADDR32
  47: #   undef   DEC11
  48: #endif z8000
  49: 
  50: /*
  51:  *	am i pi or pxp?
  52:  */
  53: #define PI
  54: #undef  PXP
  55: 
  56: /*
  57:  *	am i both passes, or am i only one of the two passes pi0 or pi1?
  58:  */
  59: #define PI01
  60: #undef  PI0
  61: #undef  PI1

Defined macros

ADDR16 defined in line 45; used 2 times
ADDR32 defined in line 41; used 2 times
DEC11 defined in line 37; used 2 times
PC defined in line 15; never used
PI defined in line 53; never used
PI01 defined in line 59; never used
Last modified: 1985-06-06
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 626
Valid CSS Valid XHTML 1.0 Strict