Path: blob/main/sys/cddl/dev/dtrace/riscv/regset.h
48375 views
/*1* CDDL HEADER START2*3* The contents of this file are subject to the terms of the4* Common Development and Distribution License, Version 1.0 only5* (the "License"). You may not use this file except in compliance6* with the License.7*8* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE9* or http://www.opensolaris.org/os/licensing.10* See the License for the specific language governing permissions11* and limitations under the License.12*13* When distributing Covered Code, include this CDDL HEADER in each14* file and include the License file at usr/src/OPENSOLARIS.LICENSE.15* If applicable, add the following below this CDDL HEADER, with the16* fields enclosed by brackets "[]" replaced with your own identifying17* information: Portions Copyright [yyyy] [name of copyright owner]18*19* CDDL HEADER END20*21*/22/*23* Copyright 2004 Sun Microsystems, Inc. All rights reserved.24* Use is subject to license terms.25*/2627/* Copyright (c) 1990, 1991 UNIX System Laboratories, Inc. */2829/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */30/* All Rights Reserved */3132#ifndef _REGSET_H33#define _REGSET_H3435/*36*/3738#ifdef __cplusplus39extern "C" {40#endif4142#define REG_ZERO 043#define REG_RA 144#define REG_SP 245#define REG_GP 346#define REG_TP 447#define REG_T0 548#define REG_T1 649#define REG_T2 750#define REG_S0 851#define REG_FP 852#define REG_S1 953#define REG_A0 1054#define REG_A1 1155#define REG_A2 1256#define REG_A3 1357#define REG_A4 1458#define REG_A5 1559#define REG_A6 1660#define REG_A7 1761#define REG_S2 1862#define REG_S3 1963#define REG_S4 2064#define REG_S5 2165#define REG_S6 2266#define REG_S7 2367#define REG_S8 2468#define REG_S9 2569#define REG_S10 2670#define REG_S11 2771#define REG_T3 2872#define REG_T4 2973#define REG_T5 3074#define REG_T6 3175#define REG_PC 327677#ifdef __cplusplus78}79#endif8081#endif /* _REGSET_H */828384