xref: /netbsd-src/sys/arch/algor/include/param.h (revision 072aa173aac7c432ba19e5847a7eae6ca201fc78)
1*072aa173Sjdolecek /*	$NetBSD: param.h,v 1.12 2019/01/07 22:00:30 jdolecek Exp $	*/
216b9c606Sthorpej 
316b9c606Sthorpej /*
49b6bd2d9Srmind  * Copyright (c) 1988 University of Utah.
516b9c606Sthorpej  * Copyright (c) 1992, 1993
616b9c606Sthorpej  *	The Regents of the University of California.  All rights reserved.
716b9c606Sthorpej  *
816b9c606Sthorpej  * This code is derived from software contributed to Berkeley by
916b9c606Sthorpej  * the Systems Programming Group of the University of Utah Computer
1016b9c606Sthorpej  * Science Department and Ralph Campbell.
1116b9c606Sthorpej  *
1216b9c606Sthorpej  * Redistribution and use in source and binary forms, with or without
1316b9c606Sthorpej  * modification, are permitted provided that the following conditions
1416b9c606Sthorpej  * are met:
1516b9c606Sthorpej  * 1. Redistributions of source code must retain the above copyright
1616b9c606Sthorpej  *    notice, this list of conditions and the following disclaimer.
1716b9c606Sthorpej  * 2. Redistributions in binary form must reproduce the above copyright
1816b9c606Sthorpej  *    notice, this list of conditions and the following disclaimer in the
1916b9c606Sthorpej  *    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  *
36aad01611Sagc  * from: Utah Hdr: machparam.h 1.11 89/08/14
37aad01611Sagc  *
38aad01611Sagc  *	@(#)param.h	8.1 (Berkeley) 6/10/93
39aad01611Sagc  */
4016b9c606Sthorpej 
4116b9c606Sthorpej #ifndef _ALGOR_PARAM_H_
4216b9c606Sthorpej #define _ALGOR_PARAM_H_
4316b9c606Sthorpej 
4416b9c606Sthorpej /*
459f5c9664Ssimonb  * Machine dependent constants for Algorithmics boards.
4616b9c606Sthorpej  */
4716b9c606Sthorpej 
4816b9c606Sthorpej #define	_MACHINE	algor
4916b9c606Sthorpej #define	MACHINE		"algor"
5016b9c606Sthorpej 
51ad0452baStsutsui #include <mips/mips_param.h>
52ad0452baStsutsui 
5316b9c606Sthorpej #ifdef _KERNEL
5416b9c606Sthorpej #ifndef _LOCORE
5516b9c606Sthorpej 
56c1194014Sgdamore void	delay(int n);
57c1194014Sgdamore #define	DELAY	delay
5816b9c606Sthorpej 
5916b9c606Sthorpej #include <machine/intr.h>
6016b9c606Sthorpej 
6116b9c606Sthorpej #endif	/* !_LOCORE */
6216b9c606Sthorpej #endif	/* _KERNEL */
6316b9c606Sthorpej 
6416b9c606Sthorpej #endif	/* !_ALGOR_PARAM_H_ */
65