xref: /netbsd-src/sys/arch/prep/include/cpu.h (revision d9c77208553f8bd1d7a1c333bc05cddb59ac6b23)
1*d9c77208Smatt /*	$NetBSD: cpu.h,v 1.10 2011/06/20 06:35:40 matt Exp $	*/
237eb9eebSnonaka 
337eb9eebSnonaka /*
437eb9eebSnonaka  * Copyright (C) 1995-1997 Wolfgang Solfrank.
537eb9eebSnonaka  * Copyright (C) 1995-1997 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  */
33*d9c77208Smatt #ifndef	_PREP_CPU_H_
34*d9c77208Smatt #define	_PREP_CPU_H_
3537eb9eebSnonaka 
36*d9c77208Smatt #if defined(_KERNEL) && !defined(_MODULE)
37d974db0aSgarbled #define	CPU_MAXNUM	2
38d736b3d5Sgarbled extern char bootpath[];
3937eb9eebSnonaka #endif
4037eb9eebSnonaka 
4137eb9eebSnonaka #include <powerpc/cpu.h>
4237eb9eebSnonaka 
43*d9c77208Smatt #endif	/* _PREP_CPU_H_ */
44