xref: /netbsd-src/sys/arch/rs6000/include/cpu.h (revision d9c77208553f8bd1d7a1c333bc05cddb59ac6b23)
1*d9c77208Smatt /*	$NetBSD: cpu.h,v 1.2 2011/06/20 06:35:41 matt Exp $	*/
268fe5b6fSgarbled 
368fe5b6fSgarbled /*
468fe5b6fSgarbled  * Copyright (C) 1995-1997 Wolfgang Solfrank.
568fe5b6fSgarbled  * Copyright (C) 1995-1997 TooLs GmbH.
668fe5b6fSgarbled  * All rights reserved.
768fe5b6fSgarbled  *
868fe5b6fSgarbled  * Redistribution and use in source and binary forms, with or without
968fe5b6fSgarbled  * modification, are permitted provided that the following conditions
1068fe5b6fSgarbled  * are met:
1168fe5b6fSgarbled  * 1. Redistributions of source code must retain the above copyright
1268fe5b6fSgarbled  *    notice, this list of conditions and the following disclaimer.
1368fe5b6fSgarbled  * 2. Redistributions in binary form must reproduce the above copyright
1468fe5b6fSgarbled  *    notice, this list of conditions and the following disclaimer in the
1568fe5b6fSgarbled  *    documentation and/or other materials provided with the distribution.
1668fe5b6fSgarbled  * 3. All advertising materials mentioning features or use of this software
1768fe5b6fSgarbled  *    must display the following acknowledgement:
1868fe5b6fSgarbled  *	This product includes software developed by TooLs GmbH.
1968fe5b6fSgarbled  * 4. The name of TooLs GmbH may not be used to endorse or promote products
2068fe5b6fSgarbled  *    derived from this software without specific prior written permission.
2168fe5b6fSgarbled  *
2268fe5b6fSgarbled  * THIS SOFTWARE IS PROVIDED BY TOOLS GMBH ``AS IS'' AND ANY EXPRESS OR
2368fe5b6fSgarbled  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
2468fe5b6fSgarbled  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2568fe5b6fSgarbled  * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2668fe5b6fSgarbled  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
2768fe5b6fSgarbled  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
2868fe5b6fSgarbled  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
2968fe5b6fSgarbled  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
3068fe5b6fSgarbled  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
3168fe5b6fSgarbled  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3268fe5b6fSgarbled  */
33*d9c77208Smatt #ifndef	_RS6000_CPU_H_
34*d9c77208Smatt #define	_RS6000_CPU_H_
3568fe5b6fSgarbled 
36*d9c77208Smatt #if defined(_KERNEL) && !defined(_MODULE)
3768fe5b6fSgarbled #define	CPU_MAXNUM	1
3868fe5b6fSgarbled extern char bootpath[];
3968fe5b6fSgarbled #endif
4068fe5b6fSgarbled 
4168fe5b6fSgarbled #include <powerpc/cpu.h>
4268fe5b6fSgarbled 
43*d9c77208Smatt #endif	/* _RS6000_CPU_H_ */
44