1 1.9 simonb /* $NetBSD: param.h,v 1.9 2021/05/31 14:38:55 simonb Exp $ */ 2 1.1 chris 3 1.1 chris /* 4 1.1 chris * Copyright (c) 1994,1995 Mark Brinicombe. 5 1.1 chris * All rights reserved. 6 1.1 chris * 7 1.1 chris * Redistribution and use in source and binary forms, with or without 8 1.1 chris * modification, are permitted provided that the following conditions 9 1.1 chris * are met: 10 1.1 chris * 1. Redistributions of source code must retain the above copyright 11 1.1 chris * notice, this list of conditions and the following disclaimer. 12 1.1 chris * 2. Redistributions in binary form must reproduce the above copyright 13 1.1 chris * notice, this list of conditions and the following disclaimer in the 14 1.1 chris * documentation and/or other materials provided with the distribution. 15 1.1 chris * 3. All advertising materials mentioning features or use of this software 16 1.1 chris * must display the following acknowledgement: 17 1.1 chris * This product includes software developed by the RiscBSD team. 18 1.1 chris * 4. The name "RiscBSD" nor the name of the author may be used to 19 1.1 chris * endorse or promote products derived from this software without specific 20 1.1 chris * prior written permission. 21 1.1 chris * 22 1.1 chris * THIS SOFTWARE IS PROVIDED BY RISCBSD ``AS IS'' AND ANY EXPRESS OR IMPLIED 23 1.1 chris * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 24 1.1 chris * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 25 1.1 chris * IN NO EVENT SHALL RISCBSD OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 26 1.1 chris * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 27 1.1 chris * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 1.1 chris * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 1.1 chris * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 1.1 chris * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 1.1 chris * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 1.1 chris * SUCH DAMAGE. 33 1.1 chris */ 34 1.1 chris 35 1.2 matt #ifndef _CATS_PARAM_H_ 36 1.2 matt #define _CATS_PARAM_H_ 37 1.1 chris 38 1.9 simonb #ifdef _KERNEL_OPT 39 1.9 simonb #include "opt_param.h" 40 1.9 simonb #endif 41 1.9 simonb 42 1.1 chris /* 43 1.1 chris * Machine dependent constants for ARM6+ processors 44 1.1 chris */ 45 1.1 chris 46 1.2 matt #define _MACHINE cats 47 1.2 matt #define MACHINE "cats" 48 1.5 chris 49 1.5 chris /* 50 1.5 chris * cats boot dmesg is bigger than 4k 51 1.5 chris */ 52 1.6 tsutsui #ifndef MSGBUFSIZE 53 1.5 chris #define MSGBUFSIZE (2*NBPG) 54 1.6 tsutsui #endif 55 1.1 chris 56 1.1 chris #include <arm/arm32/param.h> 57 1.1 chris 58 1.8 skrll /* at this offset we mmap() the PCI IO range in display drivers */ 59 1.8 skrll #define PCI_MAGIC_IO_RANGE 0x7c000000 60 1.8 skrll 61 1.2 matt #endif /* _CATS_PARAM_H_ */ 62