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 /* 23 * Copyright 2003 Sun Microsystems, Inc. All rights reserved. 24 * Use is subject to license terms. 25 */ 26 27 inline int R_G0 = 0; 28 #pragma D binding "1.0" R_G0 29 inline int R_G1 = 1; 30 #pragma D binding "1.0" R_G1 31 inline int R_G2 = 2; 32 #pragma D binding "1.0" R_G2 33 inline int R_G3 = 3; 34 #pragma D binding "1.0" R_G3 35 inline int R_G4 = 4; 36 #pragma D binding "1.0" R_G4 37 inline int R_G5 = 5; 38 #pragma D binding "1.0" R_G5 39 inline int R_G6 = 6; 40 #pragma D binding "1.0" R_G6 41 inline int R_G7 = 7; 42 #pragma D binding "1.0" R_G7 43 44 inline int R_O0 = 8; 45 #pragma D binding "1.0" R_O0 46 inline int R_O1 = 9; 47 #pragma D binding "1.0" R_O1 48 inline int R_O2 = 10; 49 #pragma D binding "1.0" R_O2 50 inline int R_O3 = 11; 51 #pragma D binding "1.0" R_O3 52 inline int R_O4 = 12; 53 #pragma D binding "1.0" R_O4 54 inline int R_O5 = 13; 55 #pragma D binding "1.0" R_O5 56 inline int R_O6 = 14; 57 #pragma D binding "1.0" R_O6 58 inline int R_O7 = 15; 59 #pragma D binding "1.0" R_O7 60 61 inline int R_L0 = 16; 62 #pragma D binding "1.0" R_L0 63 inline int R_L1 = 17; 64 #pragma D binding "1.0" R_L1 65 inline int R_L2 = 18; 66 #pragma D binding "1.0" R_L2 67 inline int R_L3 = 19; 68 #pragma D binding "1.0" R_L3 69 inline int R_L4 = 20; 70 #pragma D binding "1.0" R_L4 71 inline int R_L5 = 21; 72 #pragma D binding "1.0" R_L5 73 inline int R_L6 = 22; 74 #pragma D binding "1.0" R_L6 75 inline int R_L7 = 23; 76 #pragma D binding "1.0" R_L7 77 78 inline int R_I0 = 24; 79 #pragma D binding "1.0" R_I0 80 inline int R_I1 = 25; 81 #pragma D binding "1.0" R_I1 82 inline int R_I2 = 26; 83 #pragma D binding "1.0" R_I2 84 inline int R_I3 = 27; 85 #pragma D binding "1.0" R_I3 86 inline int R_I4 = 28; 87 #pragma D binding "1.0" R_I4 88 inline int R_I5 = 29; 89 #pragma D binding "1.0" R_I5 90 inline int R_I6 = 30; 91 #pragma D binding "1.0" R_I6 92 inline int R_I7 = 31; 93 #pragma D binding "1.0" R_I7 94 95 inline int R_CCR = 32; 96 #pragma D binding "1.0" R_CCR 97 inline int R_PC = 33; 98 #pragma D binding "1.0" R_PC 99 inline int R_nPC = 34; 100 #pragma D binding "1.0" R_nPC 101 inline int R_NPC = R_nPC; 102 #pragma D binding "1.0" R_NPC 103 inline int R_Y = 35; 104 #pragma D binding "1.0" R_Y 105 inline int R_ASI = 36; 106 #pragma D binding "1.0" R_ASI 107 inline int R_FPRS = 37; 108 #pragma D binding "1.0" R_FPRS 109 inline int R_PS = R_CCR; 110 #pragma D binding "1.0" R_PS 111 inline int R_SP = R_O6; 112 #pragma D binding "1.0" R_SP 113 inline int R_FP = R_I6; 114 #pragma D binding "1.0" R_FP 115 inline int R_R0 = R_O0; 116 #pragma D binding "1.0" R_R0 117 inline int R_R1 = R_O1; 118 #pragma D binding "1.0" R_R1 119