cputypes.h revision 2495
176195Sbrian/*
276195Sbrian * Copyright (c) 1993 Christopher G. Demetriou
376358Sbrian * All rights reserved.
476358Sbrian *
576358Sbrian * Redistribution and use in source and binary forms, with or without
676195Sbrian * modification, are permitted provided that the following conditions
776195Sbrian * are met:
876195Sbrian * 1. Redistributions of source code must retain the above copyright
976195Sbrian *    notice, this list of conditions and the following disclaimer.
1076195Sbrian * 2. Redistributions in binary form must reproduce the above copyright
1176195Sbrian *    notice, this list of conditions and the following disclaimer in the
1276195Sbrian *    documentation and/or other materials provided with the distribution.
1376195Sbrian * 3. The name of the author may not be used to endorse or promote products
1476195Sbrian *    derived from this software withough specific prior written permission
1576195Sbrian *
1676195Sbrian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1776195Sbrian * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1876195Sbrian * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1976195Sbrian * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
2076195Sbrian * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2176195Sbrian * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2276195Sbrian * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2376195Sbrian * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2476195Sbrian * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2576195Sbrian * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2676195Sbrian *
2776195Sbrian *	$Id: cputypes.h,v 1.2 1993/11/07 17:42:49 wollman Exp $
2876195Sbrian */
2976195Sbrian
3076195Sbrian#ifndef _MACHINE_CPUTYPES_H_
3176195Sbrian#define _MACHINE_CPUTYPES_H_ 1
3276195Sbrian
3376195Sbrian/*
3476195Sbrian *	Classes of Processor
3576195Sbrian */
3676195Sbrian
3776195Sbrian#define	CPUCLASS_286	0
3876195Sbrian#define	CPUCLASS_386	1
3976195Sbrian#define	CPUCLASS_486	2
4076195Sbrian#define	CPUCLASS_586	3
4176195Sbrian
4276195Sbrian/*
4376195Sbrian *	Kinds of Processor
4476195Sbrian */
4576195Sbrian
4676195Sbrian#define	CPU_286		0	/* Intel 80286 */
4776195Sbrian#define	CPU_386SX	1	/* Intel 80386SX */
4876195Sbrian#define	CPU_386		2	/* Intel 80386DX */
4976195Sbrian#define	CPU_486SX	3	/* Intel 80486SX */
5076195Sbrian#define	CPU_486		4	/* Intel 80486DX */
5176195Sbrian#define	CPU_586		5	/* Intel P.....m (I hate lawyers; it's TM) */
5276195Sbrian#define	CPU_486DLC	6	/* Cyrix 486DLC */
5376848Sbrian
5476853Sbrian#endif /* _MACHINE_CPUTYPES_H_ */
5576853Sbrian