xref: /openbsd-src/sys/arch/macppc/include/param.h (revision 74f9a82031b977c62c749a9778b92cd52f3bcce5)
1*74f9a820Sderaadt /*	$OpenBSD: param.h,v 1.6 2014/04/07 16:29:06 deraadt Exp $	*/
252c13d20Sdrahn 
352c13d20Sdrahn /*-
452c13d20Sdrahn  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
552c13d20Sdrahn  * Copyright (C) 1995, 1996 TooLs GmbH.
652c13d20Sdrahn  * All rights reserved.
752c13d20Sdrahn  *
852c13d20Sdrahn  * Redistribution and use in source and binary forms, with or without
952c13d20Sdrahn  * modification, are permitted provided that the following conditions
1052c13d20Sdrahn  * are met:
1152c13d20Sdrahn  * 1. Redistributions of source code must retain the above copyright
1252c13d20Sdrahn  *    notice, this list of conditions and the following disclaimer.
1352c13d20Sdrahn  * 2. Redistributions in binary form must reproduce the above copyright
1452c13d20Sdrahn  *    notice, this list of conditions and the following disclaimer in the
1552c13d20Sdrahn  *    documentation and/or other materials provided with the distribution.
1652c13d20Sdrahn  * 3. All advertising materials mentioning features or use of this software
1752c13d20Sdrahn  *    must display the following acknowledgement:
1852c13d20Sdrahn  *	This product includes software developed by TooLs GmbH.
1952c13d20Sdrahn  * 4. The name of TooLs GmbH may not be used to endorse or promote products
2052c13d20Sdrahn  *    derived from this software without specific prior written permission.
2152c13d20Sdrahn  *
2252c13d20Sdrahn  * THIS SOFTWARE IS PROVIDED BY TOOLS GMBH ``AS IS'' AND ANY EXPRESS OR
2352c13d20Sdrahn  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
2452c13d20Sdrahn  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2552c13d20Sdrahn  * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2652c13d20Sdrahn  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
2752c13d20Sdrahn  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
2852c13d20Sdrahn  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
2952c13d20Sdrahn  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
3052c13d20Sdrahn  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
3152c13d20Sdrahn  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3252c13d20Sdrahn  */
3352c13d20Sdrahn 
34184e2458Sderaadt #ifndef	_MACHINE_PARAM_H_
35184e2458Sderaadt #define	_MACHINE_PARAM_H_
36184e2458Sderaadt 
3752c13d20Sdrahn #ifdef	_KERNEL
3852c13d20Sdrahn #ifndef	_LOCORE
3952c13d20Sdrahn #include <machine/cpu.h>
4052c13d20Sdrahn #endif	/* _LOCORE */
4152c13d20Sdrahn #endif
4252c13d20Sdrahn 
4352c13d20Sdrahn #include <powerpc/param.h>
4452c13d20Sdrahn 
4552c13d20Sdrahn #define	MACHINE		"macppc"
4652c13d20Sdrahn #define	_MACHINE	macppc
4752c13d20Sdrahn 
4852c13d20Sdrahn #define	KERNBASE	0x100000
4952c13d20Sdrahn 
50*74f9a820Sderaadt #define	MSGBUFSIZE	(4 * PAGE_SIZE)
51184e2458Sderaadt 
52184e2458Sderaadt #endif /* _MACHINE_PARAM_H_ */
53