xref: /netbsd-src/sys/arch/prep/include/param.h (revision 2f4b6c09660726e881cbf1ec5fb937f456fb5dea)
1*2f4b6c09Smacallan /*	$NetBSD: param.h,v 1.7 2011/07/28 01:44:50 macallan Exp $	*/
237eb9eebSnonaka 
337eb9eebSnonaka /*-
437eb9eebSnonaka  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
537eb9eebSnonaka  * Copyright (C) 1995, 1996 TooLs GmbH.
637eb9eebSnonaka  * All rights reserved.
737eb9eebSnonaka  *
837eb9eebSnonaka  * Redistribution and use in source and binary forms, with or without
937eb9eebSnonaka  * modification, are permitted provided that the following conditions
1037eb9eebSnonaka  * are met:
1137eb9eebSnonaka  * 1. Redistributions of source code must retain the above copyright
1237eb9eebSnonaka  *    notice, this list of conditions and the following disclaimer.
1337eb9eebSnonaka  * 2. Redistributions in binary form must reproduce the above copyright
1437eb9eebSnonaka  *    notice, this list of conditions and the following disclaimer in the
1537eb9eebSnonaka  *    documentation and/or other materials provided with the distribution.
1637eb9eebSnonaka  * 3. All advertising materials mentioning features or use of this software
1737eb9eebSnonaka  *    must display the following acknowledgement:
1837eb9eebSnonaka  *	This product includes software developed by TooLs GmbH.
1937eb9eebSnonaka  * 4. The name of TooLs GmbH may not be used to endorse or promote products
2037eb9eebSnonaka  *    derived from this software without specific prior written permission.
2137eb9eebSnonaka  *
2237eb9eebSnonaka  * THIS SOFTWARE IS PROVIDED BY TOOLS GMBH ``AS IS'' AND ANY EXPRESS OR
2337eb9eebSnonaka  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
2437eb9eebSnonaka  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2537eb9eebSnonaka  * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2637eb9eebSnonaka  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
2737eb9eebSnonaka  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
2837eb9eebSnonaka  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
2937eb9eebSnonaka  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
3037eb9eebSnonaka  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
3137eb9eebSnonaka  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3237eb9eebSnonaka  */
3337eb9eebSnonaka 
3437eb9eebSnonaka /*
3537eb9eebSnonaka  * Machine dependent constants for PowerPC (32-bit only currently)
3637eb9eebSnonaka  */
37179b37abSmatt #if defined(_KERNEL) && !defined(_MODULE)
38179b37abSmatt 
3937eb9eebSnonaka #define	MACHINE			"prep"
4037eb9eebSnonaka #define	KERNBASE		0x100000
41179b37abSmatt #define	__NO_FIXED_MSGBUF
42299d82b7Skiyohara 
43*2f4b6c09Smacallan #endif /* _KERNEL && !_MODULE */
44*2f4b6c09Smacallan 
45299d82b7Skiyohara /* at this offset we mmap() the PCI IO range in display drivers */
46299d82b7Skiyohara #define PCI_MAGIC_IO_RANGE	0xf2000000
47179b37abSmatt 
48179b37abSmatt #include <powerpc/param.h>
49