add _MACHINE and _MACHINE_ARCH, which are like MACHINE and MACHINE_ARCH,

execpt without quotes.  meant to be __CONCAT()ted for easy #includes
of machine-dependent headers for MI code (e.g. for the MI ISA/EISA/PCI/TC
bus code).
This commit is contained in:
cgd 1996-03-04 05:04:10 +00:00
parent 7f1ba9f148
commit 18ec26aa21
14 changed files with 43 additions and 15 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.11 1996/02/01 22:28:53 mycroft Exp $ */
/* $NetBSD: param.h,v 1.12 1996/03/04 05:04:10 cgd Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -45,7 +45,9 @@
/*
* Machine dependent constants for the Alpha.
*/
#define _MACHINE alpha
#define MACHINE "alpha"
#define _MACHINE_ARCH alpha
#define MACHINE_ARCH "alpha"
#define MID_MACHINE MID_ALPHA

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.27 1996/03/01 23:30:08 cgd Exp $ */
/* $NetBSD: param.h,v 1.28 1996/03/04 05:04:14 cgd Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -47,7 +47,9 @@
/*
* Machine dependent constants for amiga
*/
#define _MACHINE amiga
#define MACHINE "amiga"
#define _MACHINE_ARCH m68k
#define MACHINE_ARCH "m68k"
#define MID_MACHINE MID_M68K

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.4 1996/03/01 23:30:15 cgd Exp $ */
/* $NetBSD: param.h,v 1.5 1996/03/04 05:04:16 cgd Exp $ */
/*
* Copyright (c) 1994,1995 Mark Brinicombe.
@ -31,7 +31,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: param.h,v 1.4 1996/03/01 23:30:15 cgd Exp $
* $Id: param.h,v 1.5 1996/03/04 05:04:16 cgd Exp $
*/
#ifndef _ARM32_PARAM_H_
@ -46,7 +46,9 @@
*/
/*#define ovbcopy bcopy */ /* XXX should probably have long gone by now */
#define _MACHINE arm32
#define MACHINE "arm32"
#define _MACHINE_ARCH arm32
#define MACHINE_ARCH "arm32"
#define MID_MACHINE MID_ARM6

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.12 1996/03/01 23:30:19 cgd Exp $ */
/* $NetBSD: param.h,v 1.13 1996/03/04 05:04:20 cgd Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -48,7 +48,9 @@
/*
* Machine dependent constants for atari
*/
#define _MACHINE atari
#define MACHINE "atari"
#define _MACHINE_ARCH m68k
#define MACHINE_ARCH "m68k"
#define MID_MACHINE MID_M68K

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.24 1996/02/01 22:30:16 mycroft Exp $ */
/* $NetBSD: param.h,v 1.25 1996/03/04 05:04:23 cgd Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -45,7 +45,9 @@
/*
* Machine dependent constants for HP9000 series 300.
*/
#define _MACHINE hp300
#define MACHINE "hp300"
#define _MACHINE_ARCH m68k
#define MACHINE_ARCH "m68k"
#define MID_MACHINE MID_M68K4K

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.28 1996/03/01 23:30:24 cgd Exp $ */
/* $NetBSD: param.h,v 1.29 1996/03/04 05:04:26 cgd Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -50,7 +50,9 @@
#endif
#endif
#define _MACHINE i386
#define MACHINE "i386"
#define _MACHINE_ARCH i386
#define MACHINE_ARCH "i386"
#define MID_MACHINE MID_I386

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.24 1996/02/17 14:50:40 briggs Exp $ */
/* $NetBSD: param.h,v 1.25 1996/03/04 05:04:29 cgd Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -86,7 +86,9 @@
/*
* Machine dependent constants for Macintosh II-and-similar series.
*/
#define _MACHINE mac68k
#define MACHINE "mac68k"
#define _MACHINE_ARCH m68k
#define MACHINE_ARCH "m68k"
#define MID_MACHINE MID_M68K

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.4 1996/03/01 23:30:34 cgd Exp $ */
/* $NetBSD: param.h,v 1.5 1996/03/04 05:04:31 cgd Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -45,7 +45,9 @@
/*
* Machine dependent constants for mvme68k, based on HP9000 series 300.
*/
#define _MACHINE mvme68k
#define MACHINE "mvme68k"
#define _MACHINE_ARCH m68k
#define MACHINE_ARCH "m68k"
#define MID_MACHINE MID_M68K

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.14 1996/03/01 23:30:38 cgd Exp $ */
/* $NetBSD: param.h,v 1.15 1996/03/04 05:04:34 cgd Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -52,7 +52,9 @@
#include <machine/cpu.h>
#endif
#define _MACHINE pc532
#define MACHINE "pc532"
#define _MACHINE_ARCH ns32k
#define MACHINE_ARCH "ns32k"
#define MID_MACHINE MID_NS32532

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.14 1996/03/01 23:30:43 cgd Exp $ */
/* $NetBSD: param.h,v 1.15 1996/03/04 05:04:36 cgd Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -45,7 +45,9 @@
/*
* Machine dependent constants for DEC Station 3100.
*/
#define _MACHINE pmax
#define MACHINE "pmax"
#define _MACHINE_ARCH mips
#define MACHINE_ARCH "mips"
#define MID_MACHINE MID_PMAX

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.21 1996/02/22 21:59:08 pk Exp $ */
/* $NetBSD: param.h,v 1.22 1996/03/04 05:04:38 cgd Exp $ */
/*
* Copyright (c) 1992, 1993
@ -47,7 +47,9 @@
/*
* Machine dependent constants for Sun-4c (SPARCstation)
*/
#define _MACHINE sparc
#define MACHINE "sparc"
#define _MACHINE_ARCH sparc
#define MACHINE_ARCH "sparc"
#define MID_MACHINE MID_SPARC

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.33 1996/03/01 23:30:49 cgd Exp $ */
/* $NetBSD: param.h,v 1.34 1996/03/04 05:04:40 cgd Exp $ */
/*
* Copyright (c) 1994, 1995 Gordon W. Ross
@ -48,7 +48,9 @@
/*
* Machine dependent constants for the Sun3 series.
*/
#define _MACHINE sun3
#define MACHINE "sun3"
#define _MACHINE_ARCH m68k
#define MACHINE_ARCH "m68k"
#define MID_MACHINE MID_M68K

View File

@ -1,4 +1,4 @@
/* $NetBSD: param3.h,v 1.33 1996/03/01 23:30:49 cgd Exp $ */
/* $NetBSD: param3.h,v 1.34 1996/03/04 05:04:40 cgd Exp $ */
/*
* Copyright (c) 1994, 1995 Gordon W. Ross
@ -48,7 +48,9 @@
/*
* Machine dependent constants for the Sun3 series.
*/
#define _MACHINE sun3
#define MACHINE "sun3"
#define _MACHINE_ARCH m68k
#define MACHINE_ARCH "m68k"
#define MID_MACHINE MID_M68K

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.18 1996/03/02 14:27:55 ragge Exp $ */
/* $NetBSD: param.h,v 1.19 1996/03/04 05:04:43 cgd Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
@ -47,7 +47,9 @@
* Machine dependent constants for VAX.
*/
#define _MACHINE vax
#define MACHINE "vax"
#define _MACHINE_ARCH vax
#define MACHINE_ARCH "vax"
#define MID_MACHINE MID_VAX