/*
 * |-----------------------------------------------------------|
 * | Copyright (c) 1991, 1990 MIPS Computer Systems, Inc.      |
 * | All Rights Reserved                                       |
 * |-----------------------------------------------------------|
 * |          Restricted Rights Legend                         |
 * | Use, duplication, or disclosure by the Government is      |
 * | subject to restrictions as set forth in                   |
 * | subparagraph (c)(1)(ii) of the Rights in Technical        |
 * | Data and Computer Software Clause of DFARS 252.227-7013.  |
 * |         MIPS Computer Systems, Inc.                       |
 * |         950 DeGuigne Avenue                               |
 * |         Sunnyvale, California 94088-3650, USA             |
 * |-----------------------------------------------------------|
 */
/* $Header: machine_info.h,v 1.8.2.1 92/06/24 13:56:49 marker Exp $ */

#ifndef	_MACHINE_INFO_
#define	_MACHINE_INFO_	1

#if defined(__STDC__)
int machine_info(int);
#else
int machine_info();
#endif

/*
 * Commands
 */

#define MI_MACHINE	0	/* machine type */
#define MI_MACHCLASS	1	/* machine class */

/*
 * Machine types
 */

#define MIT_UNKNOWN	0
#define MIT_M500	1
#define MIT_M800	2
#define MIT_M1000	3
#define MIT_M2000_6	4
#define MIT_M2000_8	5
#define MIT_M120_3	6
#define MIT_M120_5	7
#define MIT_R2030	8
#define MIT_R3240	9
#define MIT_R6280	10
#define MIT_R3030	11
#define MIT_RB3125	12
#define	MIT_RESERVED	13
#define MIT_R6260	14
#define MIT_RB3133      105

/*
 * Machine classes
 */

#define MIC_UNKNOWN	0
#define MIC_1		1	/* class 1: M500/800/1000 */
#define MIC_2		2	/* class 2: RC6280/M2000* */
#define MIC_3		3	/* class 3: RC3240/M120*  */
#define MIC_4		4	/* class 4: RC2030/RC3030 */

#endif	_MACHINE_INFO_
