xref: /netbsd/sys/arch/sgimips/include/param.h (revision 11b00c74)
1*11b00c74Ssimonb /*	$NetBSD: param.h,v 1.18 2021/05/31 14:38:56 simonb Exp $	*/
2abe9dea1Ssoren 
3abe9dea1Ssoren /*
48ac3875aSrmind  * Copyright (c) 1988 University of Utah.
5abe9dea1Ssoren  * Copyright (c) 1992, 1993
6abe9dea1Ssoren  *	The Regents of the University of California.  All rights reserved.
7abe9dea1Ssoren  *
8abe9dea1Ssoren  * This code is derived from software contributed to Berkeley by
9abe9dea1Ssoren  * the Systems Programming Group of the University of Utah Computer
10abe9dea1Ssoren  * Science Department and Ralph Campbell.
11abe9dea1Ssoren  *
12abe9dea1Ssoren  * Redistribution and use in source and binary forms, with or without
13abe9dea1Ssoren  * modification, are permitted provided that the following conditions
14abe9dea1Ssoren  * are met:
15abe9dea1Ssoren  * 1. Redistributions of source code must retain the above copyright
16abe9dea1Ssoren  *    notice, this list of conditions and the following disclaimer.
17abe9dea1Ssoren  * 2. Redistributions in binary form must reproduce the above copyright
18abe9dea1Ssoren  *    notice, this list of conditions and the following disclaimer in the
19abe9dea1Ssoren  *    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  */
36abe9dea1Ssoren 
37afb7d3cbStsutsui #ifndef	_SGIMIPS_PARAM_H_
38afb7d3cbStsutsui #define	_SGIMIPS_PARAM_H_
39afb7d3cbStsutsui 
40*11b00c74Ssimonb #ifdef _KERNEL_OPT
41*11b00c74Ssimonb #include "opt_param.h"
42*11b00c74Ssimonb #endif
43*11b00c74Ssimonb 
44209f5cf4Ssekiya #if !defined(MSGBUFSIZE)
45209f5cf4Ssekiya #define	MSGBUFSIZE	8192
46209f5cf4Ssekiya #endif
47209f5cf4Ssekiya 
48abe9dea1Ssoren #define	_MACHINE	sgimips
49abe9dea1Ssoren #define	MACHINE		"sgimips"
50e3961da5Stsutsui 
51e3961da5Stsutsui #include <mips/mips_param.h>
52abe9dea1Ssoren 
53abe9dea1Ssoren #ifdef _KERNEL
54abe9dea1Ssoren #ifndef _LOCORE
55abe9dea1Ssoren 
565eafff6dSmrg extern void	delay(unsigned long);
57abe9dea1Ssoren #define DELAY(n)	delay(n)
58abe9dea1Ssoren 
59abe9dea1Ssoren #include <machine/intr.h>
60abe9dea1Ssoren 
61abe9dea1Ssoren #endif	/* _LOCORE */
62abe9dea1Ssoren #endif	/* _KERNEL */
63afb7d3cbStsutsui 
64afb7d3cbStsutsui #endif	/* !_SGIMIPS_PARAM_H_ */
65