1*e70f7591Smiod /* $OpenBSD: param.h,v 1.5 2013/11/02 23:06:18 miod Exp $ */ 2184e2458Sderaadt 302b01b5eSaoyama /* 402b01b5eSaoyama * Copyright (c) 1999 Steve Murphree, Jr. 502b01b5eSaoyama * Copyright (c) 1988 University of Utah. 602b01b5eSaoyama * Copyright (c) 1982, 1986, 1990 The Regents of the University of California. 702b01b5eSaoyama * All rights reserved. 802b01b5eSaoyama * 902b01b5eSaoyama * This code is derived from software contributed to Berkeley by 1002b01b5eSaoyama * the Systems Programming Group of the University of Utah Computer 1102b01b5eSaoyama * Science Department. 1202b01b5eSaoyama * 1302b01b5eSaoyama * Redistribution and use in source and binary forms, with or without 1402b01b5eSaoyama * modification, are permitted provided that the following conditions 1502b01b5eSaoyama * are met: 1602b01b5eSaoyama * 1. Redistributions of source code must retain the above copyright 1702b01b5eSaoyama * notice, this list of conditions and the following disclaimer. 1802b01b5eSaoyama * 2. Redistributions in binary form must reproduce the above copyright 1902b01b5eSaoyama * notice, this list of conditions and the following disclaimer in the 2002b01b5eSaoyama * documentation and/or other materials provided with the distribution. 2102b01b5eSaoyama * 3. Neither the name of the University nor the names of its contributors 2202b01b5eSaoyama * may be used to endorse or promote products derived from this software 2302b01b5eSaoyama * without specific prior written permission. 2402b01b5eSaoyama * 2502b01b5eSaoyama * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2602b01b5eSaoyama * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2702b01b5eSaoyama * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2802b01b5eSaoyama * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2902b01b5eSaoyama * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 3002b01b5eSaoyama * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 3102b01b5eSaoyama * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 3202b01b5eSaoyama * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3302b01b5eSaoyama * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3402b01b5eSaoyama * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3502b01b5eSaoyama * SUCH DAMAGE. 3602b01b5eSaoyama */ 373180e169Smiod 3802b01b5eSaoyama #ifndef _MACHINE_PARAM_H_ 3902b01b5eSaoyama #define _MACHINE_PARAM_H_ 4002b01b5eSaoyama 4102b01b5eSaoyama #define _MACHINE luna88k 4202b01b5eSaoyama #define MACHINE "luna88k" 433180e169Smiod 443180e169Smiod #include <m88k/param.h> 4502b01b5eSaoyama 4602b01b5eSaoyama /* 473180e169Smiod * The ROM monitor uses the bottom 128KB. The kernel will allocate PTEs to map 483180e169Smiod * this space, but the kernel must be linked with a start address past 493180e169Smiod * these 128KB. 5002b01b5eSaoyama */ 5102b01b5eSaoyama #define KERNBASE 0x00000000 /* start of kernel virtual */ 52*e70f7591Smiod #define KERNTEXTOFF 0x00080000 /* start of kernel text */ 5302b01b5eSaoyama 54184e2458Sderaadt #endif /* _MACHINE_PARAM_H_ */ 55