param.h revision 1.8
11.8Srmind/*	$NetBSD: param.h,v 1.8 2011/02/08 20:20:12 rmind Exp $	*/
21.1Ssimonb
31.1Ssimonb/*
41.8Srmind * Copyright (c) 1988 University of Utah.
51.1Ssimonb * Copyright (c) 1992, 1993
61.1Ssimonb *	The Regents of the University of California.  All rights reserved.
71.4Sagc *
81.4Sagc * This code is derived from software contributed to Berkeley by
91.4Sagc * the Systems Programming Group of the University of Utah Computer
101.4Sagc * Science Department and Ralph Campbell.
111.4Sagc *
121.4Sagc * Redistribution and use in source and binary forms, with or without
131.4Sagc * modification, are permitted provided that the following conditions
141.4Sagc * are met:
151.4Sagc * 1. Redistributions of source code must retain the above copyright
161.4Sagc *    notice, this list of conditions and the following disclaimer.
171.4Sagc * 2. Redistributions in binary form must reproduce the above copyright
181.4Sagc *    notice, this list of conditions and the following disclaimer in the
191.4Sagc *    documentation and/or other materials provided with the distribution.
201.4Sagc * 3. Neither the name of the University nor the names of its contributors
211.4Sagc *    may be used to endorse or promote products derived from this software
221.4Sagc *    without specific prior written permission.
231.4Sagc *
241.4Sagc * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
251.4Sagc * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
261.4Sagc * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
271.4Sagc * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
281.4Sagc * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
291.4Sagc * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
301.4Sagc * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
311.4Sagc * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
321.4Sagc * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
331.4Sagc * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
341.4Sagc * SUCH DAMAGE.
351.4Sagc */
361.1Ssimonb
371.1Ssimonb#ifndef _EVBMIPS_PARAM_H_
381.1Ssimonb#define _EVBMIPS_PARAM_H_
391.1Ssimonb
401.1Ssimonb/*
411.1Ssimonb * Machine-dependent constants (VM, etc) common across MIPS cpus
421.1Ssimonb */
431.1Ssimonb
441.1Ssimonb#include <mips/mips_param.h>
451.1Ssimonb
461.1Ssimonb/*
471.1Ssimonb * Machine dependent constants for MIPS evaluation boards.
481.1Ssimonb */
491.1Ssimonb
501.1Ssimonb#define	_MACHINE	evbmips
511.1Ssimonb#define	MACHINE		"evbmips"
521.1Ssimonb
531.1Ssimonb#define	DEV_BSIZE	512
541.1Ssimonb#define	DEV_BSHIFT	9		/* log2(DEV_BSIZE) */
551.1Ssimonb#define BLKDEV_IOSIZE	2048
561.1Ssimonb#define	MAXPHYS		(64 * 1024)	/* max raw I/O transfer size */
571.1Ssimonb
581.1Ssimonb#ifdef _KERNEL
591.1Ssimonb#ifndef _LOCORE
601.1Ssimonb
611.1Ssimonbvoid	delay(int n);
621.2Ssimonb#define	DELAY	 	delay
631.1Ssimonb
641.1Ssimonb#include <machine/intr.h>
651.1Ssimonb
661.1Ssimonb#endif	/* !_LOCORE */
671.1Ssimonb#endif	/* _KERNEL */
681.1Ssimonb
691.1Ssimonb#endif	/* !_EVBMIPS_PARAM_H_ */
70