xref: /netbsd-src/sys/arch/amigappc/include/param.h (revision 656c43404f14ffc90f37099083503aaeafb776b8)
1*656c4340Sphx /*	$NetBSD: param.h,v 1.14 2015/11/12 12:01:53 phx Exp $	*/
20ce3451dSis 
3b6cfe437Sphx /*-
4b6cfe437Sphx  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
5b6cfe437Sphx  * Copyright (C) 1995, 1996 TooLs GmbH.
60ce3451dSis  * All rights reserved.
70ce3451dSis  *
8aad01611Sagc  * Redistribution and use in source and binary forms, with or without
9aad01611Sagc  * modification, are permitted provided that the following conditions
10aad01611Sagc  * are met:
11aad01611Sagc  * 1. Redistributions of source code must retain the above copyright
12aad01611Sagc  *    notice, this list of conditions and the following disclaimer.
13aad01611Sagc  * 2. Redistributions in binary form must reproduce the above copyright
14aad01611Sagc  *    notice, this list of conditions and the following disclaimer in the
15aad01611Sagc  *    documentation and/or other materials provided with the distribution.
160ce3451dSis  * 3. All advertising materials mentioning features or use of this software
170ce3451dSis  *    must display the following acknowledgement:
18b6cfe437Sphx  *	This product includes software developed by TooLs GmbH.
19b6cfe437Sphx  * 4. The name of TooLs GmbH may not be used to endorse or promote products
20b6cfe437Sphx  *    derived from this software without specific prior written permission.
210ce3451dSis  *
22b6cfe437Sphx  * THIS SOFTWARE IS PROVIDED BY TOOLS GMBH ``AS IS'' AND ANY EXPRESS OR
23b6cfe437Sphx  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
24b6cfe437Sphx  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
25b6cfe437Sphx  * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26b6cfe437Sphx  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
27b6cfe437Sphx  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
28b6cfe437Sphx  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
29b6cfe437Sphx  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
30b6cfe437Sphx  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
31b6cfe437Sphx  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
320ce3451dSis  */
330ce3451dSis 
340ce3451dSis /*
35b6cfe437Sphx  * Machine dependent constants for PowerPC (32-bit only currently)
360ce3451dSis  */
37179b37abSmatt #if defined(_KERNEL) && !defined(_MODULE)
380ce3451dSis 
39179b37abSmatt #define	MACHINE			"amigappc"
40179b37abSmatt #define	KERNBASE		0x8000000 /* XXX valid for CyberstormPPC */
41b6cfe437Sphx #define	__NO_FIXED_MSGBUF
420ce3451dSis 
43179b37abSmatt #endif /* _KERNEL && !_MODULE */
440ce3451dSis 
45b6cfe437Sphx #include <powerpc/param.h>
46*656c4340Sphx 
47*656c4340Sphx /* We need the same btop macro in device drivers for m68k and powerpc */
48*656c4340Sphx #define MD_BTOP(pa)		(pa)
49