regs.d.in revision 210198
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 2004 Sun Microsystems, Inc. All rights reserved. 24 * Use is subject to license terms. 25 */ 26 27#pragma ident "%Z%%M% %I% %E% SMI" 28 29inline int R_GS = @GS@; 30#pragma D binding "1.0" R_GS 31inline int R_FS = @FS@; 32#pragma D binding "1.0" R_FS 33inline int R_ES = @ES@; 34#pragma D binding "1.0" R_ES 35inline int R_DS = @DS@; 36#pragma D binding "1.0" R_DS 37 38inline int R_EDI = @EDI@; 39#pragma D binding "1.0" R_EDI 40inline int R_ESI = @ESI@; 41#pragma D binding "1.0" R_ESI 42inline int R_EBP = @EBP@; 43#pragma D binding "1.0" R_EBP 44inline int R_ESP = @ESP@; 45#pragma D binding "1.0" R_ESP 46inline int R_EBX = @EBX@; 47#pragma D binding "1.0" R_EBX 48inline int R_EDX = @EDX@; 49#pragma D binding "1.0" R_EDX 50inline int R_ECX = @ECX@; 51#pragma D binding "1.0" R_ECX 52inline int R_EAX = @EAX@; 53#pragma D binding "1.0" R_EAX 54 55inline int R_TRAPNO = @TRAPNO@; 56#pragma D binding "1.0" R_TRAPNO 57inline int R_ERR = @ERR@; 58#pragma D binding "1.0" R_ERR 59inline int R_EIP = @EIP@; 60#pragma D binding "1.0" R_EIP 61inline int R_CS = @CS@; 62#pragma D binding "1.0" R_CS 63inline int R_EFL = @EFL@; 64#pragma D binding "1.0" R_EFL 65inline int R_UESP = @UESP@; 66#pragma D binding "1.0" R_UESP 67inline int R_SS = @SS@; 68#pragma D binding "1.0" R_SS 69 70inline int R_PC = R_EIP; 71#pragma D binding "1.0" R_PC 72inline int R_SP = R_UESP; 73#pragma D binding "1.0" R_SP 74inline int R_PS = R_EFL; 75#pragma D binding "1.0" R_PS 76inline int R_R0 = R_EAX; 77#pragma D binding "1.0" R_R0 78inline int R_R1 = R_EBX; 79#pragma D binding "1.0" R_R1 80 81inline int R_RSP = @REG_RSP@; 82#pragma D binding "1.0" R_RSP 83inline int R_RFL = @REG_RFL@; 84#pragma D binding "1.0" R_RFL 85inline int R_RIP = @REG_RIP@; 86#pragma D binding "1.0" R_RIP 87inline int R_RAX = @REG_RAX@; 88#pragma D binding "1.0" R_RAX 89inline int R_RCX = @REG_RCX@; 90#pragma D binding "1.0" R_RCX 91inline int R_RDX = @REG_RDX@; 92#pragma D binding "1.0" R_RDX 93inline int R_RBX = @REG_RBX@; 94#pragma D binding "1.0" R_RBX 95inline int R_RBP = @REG_RBP@; 96#pragma D binding "1.0" R_RBP 97inline int R_RSI = @REG_RSI@; 98#pragma D binding "1.0" R_RSI 99inline int R_RDI = @REG_RDI@; 100#pragma D binding "1.0" R_RDI 101inline int R_R8 = @REG_R8@; 102#pragma D binding "1.0" R_R8 103inline int R_R9 = @REG_R9@; 104#pragma D binding "1.0" R_R9 105inline int R_R10 = @REG_R10@; 106#pragma D binding "1.0" R_R10 107inline int R_R11 = @REG_R11@; 108#pragma D binding "1.0" R_R11 109inline int R_R12 = @REG_R12@; 110#pragma D binding "1.0" R_R12 111inline int R_R13 = @REG_R13@; 112#pragma D binding "1.0" R_R13 113inline int R_R14 = @REG_R14@; 114#pragma D binding "1.0" R_R14 115inline int R_R15 = @REG_R15@; 116#pragma D binding "1.0" R_R15 117 118