1*072aa173Sjdolecek /* $NetBSD: param.h,v 1.6 2019/01/07 22:00:31 jdolecek Exp $ */ 204faabf0Stsutsui 304faabf0Stsutsui /* 49b6bd2d9Srmind * Copyright (c) 1988 University of Utah. 504faabf0Stsutsui * Copyright (c) 1992, 1993 604faabf0Stsutsui * The Regents of the University of California. All rights reserved. 704faabf0Stsutsui * 804faabf0Stsutsui * This code is derived from software contributed to Berkeley by 904faabf0Stsutsui * the Systems Programming Group of the University of Utah Computer 1004faabf0Stsutsui * Science Department and Ralph Campbell. 1104faabf0Stsutsui * 1204faabf0Stsutsui * Redistribution and use in source and binary forms, with or without 1304faabf0Stsutsui * modification, are permitted provided that the following conditions 1404faabf0Stsutsui * are met: 1504faabf0Stsutsui * 1. Redistributions of source code must retain the above copyright 1604faabf0Stsutsui * notice, this list of conditions and the following disclaimer. 1704faabf0Stsutsui * 2. Redistributions in binary form must reproduce the above copyright 1804faabf0Stsutsui * notice, this list of conditions and the following disclaimer in the 1904faabf0Stsutsui * documentation and/or other materials provided with the distribution. 2004faabf0Stsutsui * 3. Neither the name of the University nor the names of its contributors 2104faabf0Stsutsui * may be used to endorse or promote products derived from this software 2204faabf0Stsutsui * without specific prior written permission. 2304faabf0Stsutsui * 2404faabf0Stsutsui * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2504faabf0Stsutsui * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2604faabf0Stsutsui * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2704faabf0Stsutsui * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2804faabf0Stsutsui * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2904faabf0Stsutsui * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 3004faabf0Stsutsui * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 3104faabf0Stsutsui * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3204faabf0Stsutsui * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3304faabf0Stsutsui * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3404faabf0Stsutsui * SUCH DAMAGE. 3504faabf0Stsutsui */ 3604faabf0Stsutsui 3704faabf0Stsutsui #ifndef _EWS4800MIPS_PARAM_H_ 3804faabf0Stsutsui #define _EWS4800MIPS_PARAM_H_ 3904faabf0Stsutsui 4004faabf0Stsutsui #define _MACHINE ews4800mips 4104faabf0Stsutsui #define MACHINE "ews4800mips" 4204faabf0Stsutsui 432e4462e0Stsutsui #include <mips/mips_param.h> 442e4462e0Stsutsui 4504faabf0Stsutsui #ifdef _KERNEL 4604faabf0Stsutsui #ifndef _LOCORE 4704faabf0Stsutsui 4804faabf0Stsutsui extern void delay(unsigned); 4904faabf0Stsutsui #define DELAY(n) delay(n) 5004faabf0Stsutsui 5104faabf0Stsutsui /* provide spl*() */ 5204faabf0Stsutsui #include <machine/intr.h> 5304faabf0Stsutsui 5404faabf0Stsutsui #endif /* !_LOCORE */ 5504faabf0Stsutsui #endif /* _KERNEL */ 5604faabf0Stsutsui 5704faabf0Stsutsui #endif /* !_EWS4800MIPS_PARAM_H_ */ 58