param.h revision 1.11
11.11Stsutsui/* $NetBSD: param.h,v 1.11 2011/03/18 16:35:03 tsutsui Exp $ */ 21.1Sthorpej 31.1Sthorpej/* 41.10Srmind * Copyright (c) 1988 University of Utah. 51.1Sthorpej * Copyright (c) 1992, 1993 61.1Sthorpej * The Regents of the University of California. All rights reserved. 71.5Sagc * 81.5Sagc * This code is derived from software contributed to Berkeley by 91.5Sagc * the Systems Programming Group of the University of Utah Computer 101.5Sagc * Science Department and Ralph Campbell. 111.5Sagc * 121.5Sagc * Redistribution and use in source and binary forms, with or without 131.5Sagc * modification, are permitted provided that the following conditions 141.5Sagc * are met: 151.5Sagc * 1. Redistributions of source code must retain the above copyright 161.5Sagc * notice, this list of conditions and the following disclaimer. 171.5Sagc * 2. Redistributions in binary form must reproduce the above copyright 181.5Sagc * notice, this list of conditions and the following disclaimer in the 191.5Sagc * documentation and/or other materials provided with the distribution. 201.5Sagc * 3. Neither the name of the University nor the names of its contributors 211.5Sagc * may be used to endorse or promote products derived from this software 221.5Sagc * without specific prior written permission. 231.5Sagc * 241.5Sagc * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 251.5Sagc * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 261.5Sagc * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 271.5Sagc * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 281.5Sagc * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 291.5Sagc * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 301.5Sagc * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 311.5Sagc * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 321.5Sagc * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 331.5Sagc * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 341.5Sagc * SUCH DAMAGE. 351.5Sagc * 361.5Sagc * from: Utah Hdr: machparam.h 1.11 89/08/14 371.5Sagc * 381.5Sagc * @(#)param.h 8.1 (Berkeley) 6/10/93 391.5Sagc */ 401.1Sthorpej 411.1Sthorpej#ifndef _ALGOR_PARAM_H_ 421.1Sthorpej#define _ALGOR_PARAM_H_ 431.1Sthorpej 441.1Sthorpej/* 451.3Ssimonb * Machine dependent constants for Algorithmics boards. 461.1Sthorpej */ 471.1Sthorpej 481.1Sthorpej#define _MACHINE algor 491.1Sthorpej#define MACHINE "algor" 501.1Sthorpej 511.11Stsutsui#include <mips/mips_param.h> 521.11Stsutsui 531.1Sthorpej#define DEV_BSIZE 512 541.1Sthorpej#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */ 551.1Sthorpej#define BLKDEV_IOSIZE 2048 561.1Sthorpej#define MAXPHYS (64 * 1024) /* max raw I/O transfer size */ 571.1Sthorpej 581.1Sthorpej#ifdef _KERNEL 591.1Sthorpej#ifndef _LOCORE 601.1Sthorpej 611.7Sgdamorevoid delay(int n); 621.7Sgdamore#define DELAY delay 631.1Sthorpej 641.1Sthorpej#include <machine/intr.h> 651.1Sthorpej 661.1Sthorpej#endif /* !_LOCORE */ 671.1Sthorpej#endif /* _KERNEL */ 681.1Sthorpej 691.1Sthorpej#endif /* !_ALGOR_PARAM_H_ */ 70