Annotation of sys/arch/mac68k/include/vmparam.h, Revision 1.1
1.1 ! nbrk 1: /* $OpenBSD: vmparam.h,v 1.16 2006/09/17 22:23:40 miod Exp $ */
! 2: /* $NetBSD: vmparam.h,v 1.8 1996/11/15 14:21:00 briggs 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: vmparam.h 1.16 91/01/18$
! 72: *
! 73: * @(#)vmparam.h 7.3 (Berkeley) 5/7/91
! 74: */
! 75:
! 76: #ifndef _MAC68K_VMPARAM_H_
! 77: #define _MAC68K_VMPARAM_H_
! 78:
! 79: /*
! 80: * Machine dependent constants for mac68k -- mostly derived from hp300.
! 81: */
! 82:
! 83: #include <m68k/vmparam.h>
! 84:
! 85: /*
! 86: * Constants which control the way the VM system deals with memory segments.
! 87: * Most mac68k systems have only 1 physical memory segment, but some have 2.
! 88: *
! 89: * On the systems that have multiple segments, specifically the IIsi and
! 90: * IIci, the optimal configuration is to put the higher-density SIMMs in
! 91: * bank B. This is because the on-board video uses main memory in bank A
! 92: * for the framebuffer, and a memory controller prevents access during
! 93: * video refresh cycles. Even if both banks contain the same amount of
! 94: * RAM, a minimum of ~320KB will be subtracted from the amount in bank A
! 95: * for the framebuffer (if on-board video is in use).
! 96: */
! 97: #define VM_PHYSSEG_MAX 8
! 98: #define VM_PHYSSEG_STRAT VM_PSTRAT_BIGFIRST
! 99:
! 100: #endif /* _MAC68K_VMPARAM_H_ */
CVSweb