1 1.1 chs /* 2 1.1 chs * CDDL HEADER START 3 1.1 chs * 4 1.1 chs * The contents of this file are subject to the terms of the 5 1.1 chs * Common Development and Distribution License, Version 1.0 only 6 1.1 chs * (the "License"). You may not use this file except in compliance 7 1.1 chs * with the License. 8 1.1 chs * 9 1.1 chs * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 1.1 chs * or http://www.opensolaris.org/os/licensing. 11 1.1 chs * See the License for the specific language governing permissions 12 1.1 chs * and limitations under the License. 13 1.1 chs * 14 1.1 chs * When distributing Covered Code, include this CDDL HEADER in each 15 1.1 chs * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 1.1 chs * If applicable, add the following below this CDDL HEADER, with the 17 1.1 chs * fields enclosed by brackets "[]" replaced with your own identifying 18 1.1 chs * information: Portions Copyright [yyyy] [name of copyright owner] 19 1.1 chs * 20 1.1 chs * CDDL HEADER END 21 1.1 chs */ 22 1.1 chs /* 23 1.1 chs * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 24 1.1 chs * Use is subject to license terms. 25 1.1 chs */ 26 1.1 chs 27 1.1 chs #pragma ident "%Z%%M% %I% %E% SMI" 28 1.1 chs 29 1.1 chs inline int R_GS = @GS@; 30 1.1 chs #pragma D binding "1.0" R_GS 31 1.1 chs inline int R_FS = @FS@; 32 1.1 chs #pragma D binding "1.0" R_FS 33 1.1 chs inline int R_ES = @ES@; 34 1.1 chs #pragma D binding "1.0" R_ES 35 1.1 chs inline int R_DS = @DS@; 36 1.1 chs #pragma D binding "1.0" R_DS 37 1.1 chs 38 1.1 chs inline int R_EDI = @EDI@; 39 1.1 chs #pragma D binding "1.0" R_EDI 40 1.1 chs inline int R_ESI = @ESI@; 41 1.1 chs #pragma D binding "1.0" R_ESI 42 1.1 chs inline int R_EBP = @EBP@; 43 1.1 chs #pragma D binding "1.0" R_EBP 44 1.1 chs inline int R_ESP = @ESP@; 45 1.1 chs #pragma D binding "1.0" R_ESP 46 1.1 chs inline int R_EBX = @EBX@; 47 1.1 chs #pragma D binding "1.0" R_EBX 48 1.1 chs inline int R_EDX = @EDX@; 49 1.1 chs #pragma D binding "1.0" R_EDX 50 1.1 chs inline int R_ECX = @ECX@; 51 1.1 chs #pragma D binding "1.0" R_ECX 52 1.1 chs inline int R_EAX = @EAX@; 53 1.1 chs #pragma D binding "1.0" R_EAX 54 1.1 chs 55 1.1 chs inline int R_TRAPNO = @TRAPNO@; 56 1.1 chs #pragma D binding "1.0" R_TRAPNO 57 1.1 chs inline int R_ERR = @ERR@; 58 1.1 chs #pragma D binding "1.0" R_ERR 59 1.1 chs inline int R_EIP = @EIP@; 60 1.1 chs #pragma D binding "1.0" R_EIP 61 1.1 chs inline int R_CS = @CS@; 62 1.1 chs #pragma D binding "1.0" R_CS 63 1.1 chs inline int R_EFL = @EFL@; 64 1.1 chs #pragma D binding "1.0" R_EFL 65 1.1 chs inline int R_UESP = @UESP@; 66 1.1 chs #pragma D binding "1.0" R_UESP 67 1.1 chs inline int R_SS = @SS@; 68 1.1 chs #pragma D binding "1.0" R_SS 69 1.1 chs 70 1.1 chs inline int R_PC = R_EIP; 71 1.1 chs #pragma D binding "1.0" R_PC 72 1.1 chs inline int R_SP = R_UESP; 73 1.1 chs #pragma D binding "1.0" R_SP 74 1.1 chs inline int R_PS = R_EFL; 75 1.1 chs #pragma D binding "1.0" R_PS 76 1.1 chs inline int R_R0 = R_EAX; 77 1.1 chs #pragma D binding "1.0" R_R0 78 1.1 chs inline int R_R1 = R_EBX; 79 1.1 chs #pragma D binding "1.0" R_R1 80 1.1 chs 81 1.1 chs inline int R_RSP = @REG_RSP@; 82 1.1 chs #pragma D binding "1.0" R_RSP 83 1.1 chs inline int R_RFL = @REG_RFL@; 84 1.1 chs #pragma D binding "1.0" R_RFL 85 1.1 chs inline int R_RIP = @REG_RIP@; 86 1.1 chs #pragma D binding "1.0" R_RIP 87 1.1 chs inline int R_RAX = @REG_RAX@; 88 1.1 chs #pragma D binding "1.0" R_RAX 89 1.1 chs inline int R_RCX = @REG_RCX@; 90 1.1 chs #pragma D binding "1.0" R_RCX 91 1.1 chs inline int R_RDX = @REG_RDX@; 92 1.1 chs #pragma D binding "1.0" R_RDX 93 1.1 chs inline int R_RBX = @REG_RBX@; 94 1.1 chs #pragma D binding "1.0" R_RBX 95 1.1 chs inline int R_RBP = @REG_RBP@; 96 1.1 chs #pragma D binding "1.0" R_RBP 97 1.1 chs inline int R_RSI = @REG_RSI@; 98 1.1 chs #pragma D binding "1.0" R_RSI 99 1.1 chs inline int R_RDI = @REG_RDI@; 100 1.1 chs #pragma D binding "1.0" R_RDI 101 1.1 chs inline int R_R8 = @REG_R8@; 102 1.1 chs #pragma D binding "1.0" R_R8 103 1.1 chs inline int R_R9 = @REG_R9@; 104 1.1 chs #pragma D binding "1.0" R_R9 105 1.1 chs inline int R_R10 = @REG_R10@; 106 1.1 chs #pragma D binding "1.0" R_R10 107 1.1 chs inline int R_R11 = @REG_R11@; 108 1.1 chs #pragma D binding "1.0" R_R11 109 1.1 chs inline int R_R12 = @REG_R12@; 110 1.1 chs #pragma D binding "1.0" R_R12 111 1.1 chs inline int R_R13 = @REG_R13@; 112 1.1 chs #pragma D binding "1.0" R_R13 113 1.1 chs inline int R_R14 = @REG_R14@; 114 1.1 chs #pragma D binding "1.0" R_R14 115 1.1 chs inline int R_R15 = @REG_R15@; 116 1.1 chs #pragma D binding "1.0" R_R15 117 1.1 chs 118