1 /* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. 8 * 9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 * or http://www.opensolaris.org/os/licensing. 11 * See the License for the specific language governing permissions 12 * and limitations under the License. 13 * 14 * When distributing Covered Code, include this CDDL HEADER in each 15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 * If applicable, add the following below this CDDL HEADER, with the 17 * fields enclosed by brackets "[]" replaced with your own identifying 18 * information: Portions Copyright [yyyy] [name of copyright owner] 19 * 20 * CDDL HEADER END 21 * 22 * $FreeBSD$ 23 */ 24 /* 25 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 26 * Use is subject to license terms. 27 */ 28 29 /* Copyright (c) 1990, 1991 UNIX System Laboratories, Inc. */ 30 31 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ 32 /* All Rights Reserved */ 33 34 #ifndef _REGSET_H 35 #define _REGSET_H 36 37 /* 38 * #pragma ident "@(#)regset.h 1.11 05/06/08 SMI" 39 */ 40 41 #ifdef __cplusplus 42 extern "C" { 43 #endif 44 45 #define REG_ZERO 0 46 #define REG_RA 1 47 #define REG_SP 2 48 #define REG_GP 3 49 #define REG_TP 4 50 #define REG_T0 5 51 #define REG_T1 6 52 #define REG_T2 7 53 #define REG_S0 8 54 #define REG_FP 8 55 #define REG_S1 9 56 #define REG_A0 10 57 #define REG_A1 11 58 #define REG_A2 12 59 #define REG_A3 13 60 #define REG_A4 14 61 #define REG_A5 15 62 #define REG_A6 16 63 #define REG_A7 17 64 #define REG_S2 18 65 #define REG_S3 19 66 #define REG_S4 20 67 #define REG_S5 21 68 #define REG_S6 22 69 #define REG_S7 23 70 #define REG_S8 24 71 #define REG_S9 25 72 #define REG_S10 26 73 #define REG_S11 27 74 #define REG_T3 28 75 #define REG_T4 29 76 #define REG_T5 30 77 #define REG_T6 31 78 #define REG_PC 32 79 80 #ifdef __cplusplus 81 } 82 #endif 83 84 #endif /* _REGSET_H */ 85