xref: /netbsd-src/sys/arch/ibmnws/include/cpu.h (revision d9c77208553f8bd1d7a1c333bc05cddb59ac6b23)
1*d9c77208Smatt /*	$NetBSD: cpu.h,v 1.3 2011/06/20 06:35:40 matt Exp $	*/
23dc55c12Smatt 
33dc55c12Smatt /*
43dc55c12Smatt  * Copyright (C) 1995-1997 Wolfgang Solfrank.
53dc55c12Smatt  * Copyright (C) 1995-1997 TooLs GmbH.
63dc55c12Smatt  * All rights reserved.
73dc55c12Smatt  *
83dc55c12Smatt  * Redistribution and use in source and binary forms, with or without
93dc55c12Smatt  * modification, are permitted provided that the following conditions
103dc55c12Smatt  * are met:
113dc55c12Smatt  * 1. Redistributions of source code must retain the above copyright
123dc55c12Smatt  *    notice, this list of conditions and the following disclaimer.
133dc55c12Smatt  * 2. Redistributions in binary form must reproduce the above copyright
143dc55c12Smatt  *    notice, this list of conditions and the following disclaimer in the
153dc55c12Smatt  *    documentation and/or other materials provided with the distribution.
163dc55c12Smatt  * 3. All advertising materials mentioning features or use of this software
173dc55c12Smatt  *    must display the following acknowledgement:
183dc55c12Smatt  *	This product includes software developed by TooLs GmbH.
193dc55c12Smatt  * 4. The name of TooLs GmbH may not be used to endorse or promote products
203dc55c12Smatt  *    derived from this software without specific prior written permission.
213dc55c12Smatt  *
223dc55c12Smatt  * THIS SOFTWARE IS PROVIDED BY TOOLS GMBH ``AS IS'' AND ANY EXPRESS OR
233dc55c12Smatt  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
243dc55c12Smatt  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
253dc55c12Smatt  * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
263dc55c12Smatt  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
273dc55c12Smatt  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
283dc55c12Smatt  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
293dc55c12Smatt  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
303dc55c12Smatt  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
313dc55c12Smatt  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
323dc55c12Smatt  */
33*d9c77208Smatt #ifndef	_IBMNWS_CPU_H_
34*d9c77208Smatt #define	_IBMNWS_CPU_H_
353dc55c12Smatt 
36*d9c77208Smatt #if defined(_KERNEL) && !defined(_MODULE)
373dc55c12Smatt #define	CPU_MAXNUM	1
383dc55c12Smatt extern char *bootpath;
393dc55c12Smatt #endif
403dc55c12Smatt 
413dc55c12Smatt #include <powerpc/cpu.h>
423dc55c12Smatt 
43*d9c77208Smatt #endif	/* _IBMNWS_CPU_H_ */
44