cputypes.h revision 553
1553Srgrimes/* 2553Srgrimes * Copyright (c) 1993 Christopher G. Demetriou 3553Srgrimes * All rights reserved. 4553Srgrimes * 5553Srgrimes * Redistribution and use in source and binary forms, with or without 6553Srgrimes * modification, are permitted provided that the following conditions 7553Srgrimes * are met: 8553Srgrimes * 1. Redistributions of source code must retain the above copyright 9553Srgrimes * notice, this list of conditions and the following disclaimer. 10553Srgrimes * 2. Redistributions in binary form must reproduce the above copyright 11553Srgrimes * notice, this list of conditions and the following disclaimer in the 12553Srgrimes * documentation and/or other materials provided with the distribution. 13553Srgrimes * 3. The name of the author may not be used to endorse or promote products 14553Srgrimes * derived from this software withough specific prior written permission 15553Srgrimes * 16553Srgrimes * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 17553Srgrimes * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 18553Srgrimes * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 19553Srgrimes * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 20553Srgrimes * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 21553Srgrimes * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22553Srgrimes * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23553Srgrimes * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24553Srgrimes * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25553Srgrimes * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26553Srgrimes * 27553Srgrimes * $Id$ 28553Srgrimes */ 29553Srgrimes 30553Srgrimes/* 31553Srgrimes * Classes of Processor 32553Srgrimes */ 33553Srgrimes 34553Srgrimes#define CPUCLASS_286 0 35553Srgrimes#define CPUCLASS_386 1 36553Srgrimes#define CPUCLASS_486 2 37553Srgrimes#define CPUCLASS_586 3 38553Srgrimes 39553Srgrimes/* 40553Srgrimes * Kinds of Processor 41553Srgrimes */ 42553Srgrimes 43553Srgrimes#define CPU_286 0 /* Intel 80286 */ 44553Srgrimes#define CPU_386SX 1 /* Intel 80386SX */ 45553Srgrimes#define CPU_386 2 /* Intel 80386DX */ 46553Srgrimes#define CPU_486SX 3 /* Intel 80486SX */ 47553Srgrimes#define CPU_486 4 /* Intel 80486DX */ 48553Srgrimes#define CPU_586 5 /* Intel P.....m (I hate lawyers; it's TM) */ 49553Srgrimes 50