1*b1b36fc1Ssimonb /* $NetBSD: param.h,v 1.22 2021/05/31 14:38:56 simonb Exp $ */ 22be6df07Stsubai 32be6df07Stsubai /*- 42be6df07Stsubai * Copyright (C) 1995, 1996 Wolfgang Solfrank. 52be6df07Stsubai * Copyright (C) 1995, 1996 TooLs GmbH. 62be6df07Stsubai * All rights reserved. 72be6df07Stsubai * 82be6df07Stsubai * Redistribution and use in source and binary forms, with or without 92be6df07Stsubai * modification, are permitted provided that the following conditions 102be6df07Stsubai * are met: 112be6df07Stsubai * 1. Redistributions of source code must retain the above copyright 122be6df07Stsubai * notice, this list of conditions and the following disclaimer. 132be6df07Stsubai * 2. Redistributions in binary form must reproduce the above copyright 142be6df07Stsubai * notice, this list of conditions and the following disclaimer in the 152be6df07Stsubai * documentation and/or other materials provided with the distribution. 162be6df07Stsubai * 3. All advertising materials mentioning features or use of this software 172be6df07Stsubai * must display the following acknowledgement: 182be6df07Stsubai * This product includes software developed by TooLs GmbH. 192be6df07Stsubai * 4. The name of TooLs GmbH may not be used to endorse or promote products 202be6df07Stsubai * derived from this software without specific prior written permission. 212be6df07Stsubai * 222be6df07Stsubai * THIS SOFTWARE IS PROVIDED BY TOOLS GMBH ``AS IS'' AND ANY EXPRESS OR 232be6df07Stsubai * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 242be6df07Stsubai * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 252be6df07Stsubai * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 262be6df07Stsubai * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 272be6df07Stsubai * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 282be6df07Stsubai * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 292be6df07Stsubai * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 302be6df07Stsubai * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 312be6df07Stsubai * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 322be6df07Stsubai */ 332be6df07Stsubai 34*b1b36fc1Ssimonb #ifdef _KERNEL_OPT 35*b1b36fc1Ssimonb #include "opt_param.h" 36*b1b36fc1Ssimonb #endif 37*b1b36fc1Ssimonb 382be6df07Stsubai /* 392be6df07Stsubai * Machine dependent constants for PowerPC (32-bit only currently) 402be6df07Stsubai */ 41179b37abSmatt #if defined(_KERNEL) && !defined(_MODULE) 42179b37abSmatt 432be6df07Stsubai #define MACHINE "macppc" 442be6df07Stsubai #define KERNBASE 0x100000 452be6df07Stsubai 462be6df07Stsubai /* 47a6d8d89aSmatt * 4KB isn't enough for a full boot message for a macppc system anymore 48a6d8d89aSmatt */ 49a6d8d89aSmatt #ifndef MSGBUFSIZE 50416a4792Smacallan #define MSGBUFSIZE (8*NBPG) 51a6d8d89aSmatt #endif 52a6d8d89aSmatt 534b81ad3aSmacallan #endif /* _KERNEL && !_MODULE */ 544b81ad3aSmacallan 5512dbe7fbSmacallan /* at this offset we mmap() the PCI IO range in display drivers */ 5612dbe7fbSmacallan #define PCI_MAGIC_IO_RANGE 0xf2000000 57179b37abSmatt 58179b37abSmatt #include <powerpc/param.h> 59