cputypes.h revision 13765
150472Speter/*
237Srgrimes * Copyright (c) 1993 Christopher G. Demetriou
337Srgrimes * All rights reserved.
437Srgrimes *
537Srgrimes * Redistribution and use in source and binary forms, with or without
637Srgrimes * modification, are permitted provided that the following conditions
737Srgrimes * are met:
837Srgrimes * 1. Redistributions of source code must retain the above copyright
937Srgrimes *    notice, this list of conditions and the following disclaimer.
109306Sbde * 2. Redistributions in binary form must reproduce the above copyright
1137Srgrimes *    notice, this list of conditions and the following disclaimer in the
12646Sdg *    documentation and/or other materials provided with the distribution.
139306Sbde * 3. The name of the author may not be used to endorse or promote products
14646Sdg *    derived from this software without specific prior written permission
156489Sjoerg *
166489Sjoerg * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
176489Sjoerg * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
186489Sjoerg * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
196489Sjoerg * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
209306Sbde * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
219306Sbde * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22119915Syar * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23646Sdg * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24646Sdg * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25646Sdg * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26119915Syar *
27646Sdg *	$Id: cputypes.h,v 1.4 1995/12/24 08:10:50 davidg Exp $
28646Sdg */
29646Sdg
30646Sdg#ifndef _MACHINE_CPUTYPES_H_
31646Sdg#define _MACHINE_CPUTYPES_H_ 1
32646Sdg
336489Sjoerg/*
34646Sdg *	Classes of Processor
35119915Syar */
36119915Syar
37646Sdg#define	CPUCLASS_286	0
3837Srgrimes#define	CPUCLASS_386	1
3970164Sphk#define	CPUCLASS_486	2
4070164Sphk#define	CPUCLASS_586	3
4137Srgrimes#define CPUCLASS_686	4
4237Srgrimes
4337Srgrimes/*
4437Srgrimes *	Kinds of Processor
4537Srgrimes */
4637Srgrimes
4737Srgrimes#define	CPU_286		0	/* Intel 80286 */
4837Srgrimes#define	CPU_386SX	1	/* Intel 80386SX */
4937Srgrimes#define	CPU_386		2	/* Intel 80386DX */
5037Srgrimes#define	CPU_486SX	3	/* Intel 80486SX */
5137Srgrimes#define	CPU_486		4	/* Intel 80486DX */
52262955Smarcel#define	CPU_586		5	/* Intel P.....m (I hate lawyers; it's TM) */
53262955Smarcel#define	CPU_486DLC	6	/* Cyrix 486DLC */
5437Srgrimes#define CPU_686		7	/* Pentium Pro */
55862Sache
5637Srgrimes#endif /* _MACHINE_CPUTYPES_H_ */
57862Sache