xref: /netbsd/sys/arch/evbmips/include/param.h (revision 3bd8b2d3)
1*3bd8b2d3Ssimonb /*	$NetBSD: param.h,v 1.12 2022/03/16 04:31:54 simonb Exp $	*/
231e40c8cSsimonb 
331e40c8cSsimonb /*
48ac3875aSrmind  * Copyright (c) 1988 University of Utah.
531e40c8cSsimonb  * Copyright (c) 1992, 1993
631e40c8cSsimonb  *	The Regents of the University of California.  All rights reserved.
731e40c8cSsimonb  *
831e40c8cSsimonb  * This code is derived from software contributed to Berkeley by
931e40c8cSsimonb  * the Systems Programming Group of the University of Utah Computer
1031e40c8cSsimonb  * Science Department and Ralph Campbell.
1131e40c8cSsimonb  *
1231e40c8cSsimonb  * Redistribution and use in source and binary forms, with or without
1331e40c8cSsimonb  * modification, are permitted provided that the following conditions
1431e40c8cSsimonb  * are met:
1531e40c8cSsimonb  * 1. Redistributions of source code must retain the above copyright
1631e40c8cSsimonb  *    notice, this list of conditions and the following disclaimer.
1731e40c8cSsimonb  * 2. Redistributions in binary form must reproduce the above copyright
1831e40c8cSsimonb  *    notice, this list of conditions and the following disclaimer in the
1931e40c8cSsimonb  *    documentation and/or other materials provided with the distribution.
20aad01611Sagc  * 3. Neither the name of the University nor the names of its contributors
21aad01611Sagc  *    may be used to endorse or promote products derived from this software
22aad01611Sagc  *    without specific prior written permission.
23aad01611Sagc  *
24aad01611Sagc  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
25aad01611Sagc  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26aad01611Sagc  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27aad01611Sagc  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
28aad01611Sagc  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29aad01611Sagc  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30aad01611Sagc  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31aad01611Sagc  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32aad01611Sagc  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33aad01611Sagc  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34aad01611Sagc  * SUCH DAMAGE.
35aad01611Sagc  */
3631e40c8cSsimonb 
3731e40c8cSsimonb #ifndef _EVBMIPS_PARAM_H_
3831e40c8cSsimonb #define _EVBMIPS_PARAM_H_
3931e40c8cSsimonb 
4031e40c8cSsimonb /*
4131e40c8cSsimonb  * Machine dependent constants for MIPS evaluation boards.
4231e40c8cSsimonb  */
4331e40c8cSsimonb 
4431e40c8cSsimonb #define	_MACHINE	evbmips
4531e40c8cSsimonb #define	MACHINE		"evbmips"
4631e40c8cSsimonb 
471f906990Stsutsui #include <mips/mips_param.h>
481f906990Stsutsui 
4931e40c8cSsimonb #ifdef _KERNEL
5031e40c8cSsimonb #ifndef _LOCORE
5131e40c8cSsimonb 
52*3bd8b2d3Ssimonb #ifndef __HIDE_DELAY
5331e40c8cSsimonb void	delay(int n);
541d3f88cfSmrg #define	DELAY(x)	 	delay(x)
55*3bd8b2d3Ssimonb #endif	/* __HIDE_DELAY */
5631e40c8cSsimonb 
5731e40c8cSsimonb #include <machine/intr.h>
5831e40c8cSsimonb 
5931e40c8cSsimonb #endif	/* !_LOCORE */
6031e40c8cSsimonb #endif	/* _KERNEL */
6131e40c8cSsimonb 
6231e40c8cSsimonb #endif	/* !_EVBMIPS_PARAM_H_ */
63