Annotation of sys/arch/mac68k/include/param.h, Revision 1.1
1.1 ! nbrk 1: /* $OpenBSD: param.h,v 1.21 2006/06/11 20:48:13 miod Exp $ */
! 2: /* $NetBSD: param.h,v 1.28 1997/03/01 06:57:45 scottr Exp $ */
! 3:
! 4: /*
! 5: * Copyright (c) 1988 University of Utah.
! 6: * Copyright (c) 1982, 1990 The Regents of the University of California.
! 7: * All rights reserved.
! 8: *
! 9: * This code is derived from software contributed to Berkeley by
! 10: * the Systems Programming Group of the University of Utah Computer
! 11: * Science Department.
! 12: *
! 13: * Redistribution and use in source and binary forms, with or without
! 14: * modification, are permitted provided that the following conditions
! 15: * are met:
! 16: * 1. Redistributions of source code must retain the above copyright
! 17: * notice, this list of conditions and the following disclaimer.
! 18: * 2. Redistributions in binary form must reproduce the above copyright
! 19: * notice, this list of conditions and the following disclaimer in the
! 20: * documentation and/or other materials provided with the distribution.
! 21: * 3. Neither the name of the University nor the names of its contributors
! 22: * may be used to endorse or promote products derived from this software
! 23: * without specific prior written permission.
! 24: *
! 25: * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
! 26: * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
! 27: * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
! 28: * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
! 29: * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
! 30: * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
! 31: * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
! 32: * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
! 33: * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
! 34: * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! 35: * SUCH DAMAGE.
! 36: */
! 37: /*-
! 38: * Copyright (C) 1993 Allen K. Briggs, Chris P. Caputo,
! 39: * Michael L. Finch, Bradley A. Grantham, and
! 40: * Lawrence A. Kesteloot
! 41: * All rights reserved.
! 42: *
! 43: * Redistribution and use in source and binary forms, with or without
! 44: * modification, are permitted provided that the following conditions
! 45: * are met:
! 46: * 1. Redistributions of source code must retain the above copyright
! 47: * notice, this list of conditions and the following disclaimer.
! 48: * 2. Redistributions in binary form must reproduce the above copyright
! 49: * notice, this list of conditions and the following disclaimer in the
! 50: * documentation and/or other materials provided with the distribution.
! 51: * 3. All advertising materials mentioning features or use of this software
! 52: * must display the following acknowledgement:
! 53: * This product includes software developed by the Alice Group.
! 54: * 4. The names of the Alice Group or any of its members may not be used
! 55: * to endorse or promote products derived from this software without
! 56: * specific prior written permission.
! 57: *
! 58: * THIS SOFTWARE IS PROVIDED BY THE ALICE GROUP ``AS IS'' AND ANY EXPRESS OR
! 59: * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! 60: * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
! 61: * IN NO EVENT SHALL THE ALICE GROUP BE LIABLE FOR ANY DIRECT, INDIRECT,
! 62: * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
! 63: * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
! 64: * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
! 65: * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
! 66: * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
! 67: * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
! 68: *
! 69: */
! 70: /*
! 71: * from: Utah $Hdr: machparam.h 1.11 89/08/14$
! 72: *
! 73: * @(#)param.h 7.8 (Berkeley) 6/28/91
! 74: */
! 75:
! 76: #ifndef _MAC68K_PARAM_H_
! 77: #define _MAC68K_PARAM_H_
! 78:
! 79: /*
! 80: * Machine dependent constants for Macintosh II-and-similar series.
! 81: */
! 82: #define _MACHINE mac68k
! 83: #define MACHINE "mac68k"
! 84:
! 85: #define PAGE_SHIFT 12
! 86:
! 87: #define KERNBASE 0x00000000 /* start of kernel virtual */
! 88:
! 89: #define UPAGES 3 /* pages of u-area */
! 90:
! 91: #include <m68k/param.h>
! 92:
! 93: #define MSGBUFSIZE 4096
! 94:
! 95: #if defined(_KERNEL) && !defined(_LOCORE)
! 96: void delay(unsigned);
! 97: #define DELAY(ms) delay(ms)
! 98: #endif /* _KERNEL && !_LOCORE */
! 99:
! 100: #endif /* _MAC68K_PARAM_H_ */
CVSweb