1*072aa173Sjdolecek /* $NetBSD: param.h,v 1.11 2019/01/07 22:00:32 jdolecek Exp $ */ 24b7a1286Ssimonb 34b7a1286Ssimonb /* 49b6bd2d9Srmind * Copyright (c) 1988 University of Utah. 54b7a1286Ssimonb * Copyright (c) 1992, 1993 64b7a1286Ssimonb * The Regents of the University of California. All rights reserved. 74b7a1286Ssimonb * 84b7a1286Ssimonb * This code is derived from software contributed to Berkeley by 94b7a1286Ssimonb * the Systems Programming Group of the University of Utah Computer 104b7a1286Ssimonb * Science Department and Ralph Campbell. 114b7a1286Ssimonb * 124b7a1286Ssimonb * Redistribution and use in source and binary forms, with or without 134b7a1286Ssimonb * modification, are permitted provided that the following conditions 144b7a1286Ssimonb * are met: 154b7a1286Ssimonb * 1. Redistributions of source code must retain the above copyright 164b7a1286Ssimonb * notice, this list of conditions and the following disclaimer. 174b7a1286Ssimonb * 2. Redistributions in binary form must reproduce the above copyright 184b7a1286Ssimonb * notice, this list of conditions and the following disclaimer in the 194b7a1286Ssimonb * 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 */ 364b7a1286Ssimonb 374b7a1286Ssimonb #ifndef _SBMIPS_PARAM_H_ 384b7a1286Ssimonb #define _SBMIPS_PARAM_H_ 394b7a1286Ssimonb 404b7a1286Ssimonb /* 414b7a1286Ssimonb * Machine dependent constants for Broadcom/Sibyte boards. 424b7a1286Ssimonb */ 434b7a1286Ssimonb 444b7a1286Ssimonb #define _MACHINE sbmips 454b7a1286Ssimonb #define MACHINE "sbmips" 46d9e51441Stsutsui 47d9e51441Stsutsui #include <mips/mips_param.h> 484b7a1286Ssimonb 494b7a1286Ssimonb #ifdef _KERNEL 504b7a1286Ssimonb #ifndef _LOCORE 514b7a1286Ssimonb 52c4bf5468Ssimonb void delay(int n); 53c4bf5468Ssimonb #define DELAY(x) delay(x) 54c4bf5468Ssimonb 554b7a1286Ssimonb #include <machine/systemsw.h> 564b7a1286Ssimonb #include <machine/intr.h> 574b7a1286Ssimonb 584b7a1286Ssimonb #endif /* _LOCORE */ 594b7a1286Ssimonb #endif /* _KERNEL */ 604b7a1286Ssimonb 614b7a1286Ssimonb #endif /* !_SBMIPS_PARAM_H_ */ 62