int.hh revision 4277
12623SN/A/* 22623SN/A * Copyright (c) 2007 The Hewlett-Packard Development Company 32623SN/A * All rights reserved. 42623SN/A * 52623SN/A * Redistribution and use of this software in source and binary forms, 62623SN/A * with or without modification, are permitted provided that the 72623SN/A * following conditions are met: 82623SN/A * 92623SN/A * The software must be used only for Non-Commercial Use which means any 102623SN/A * use which is NOT directed to receiving any direct monetary 112623SN/A * compensation for, or commercial advantage from such use. Illustrative 122623SN/A * examples of non-commercial use are academic research, personal study, 132623SN/A * teaching, education and corporate research & development. 142623SN/A * Illustrative examples of commercial use are distributing products for 152623SN/A * commercial advantage and providing services using the software for 162623SN/A * commercial advantage. 172623SN/A * 182623SN/A * If you wish to use this software or functionality therein that may be 192623SN/A * covered by patents for commercial use, please contact: 202623SN/A * Director of Intellectual Property Licensing 212623SN/A * Office of Strategy and Technology 222623SN/A * Hewlett-Packard Company 232623SN/A * 1501 Page Mill Road 242623SN/A * Palo Alto, California 94304 252623SN/A * 262623SN/A * Redistributions of source code must retain the above copyright notice, 272665Ssaidi@eecs.umich.edu * this list of conditions and the following disclaimer. Redistributions 282665Ssaidi@eecs.umich.edu * in binary form must reproduce the above copyright notice, this list of 292623SN/A * conditions and the following disclaimer in the documentation and/or 302623SN/A * other materials provided with the distribution. Neither the name of 313170Sstever@eecs.umich.edu * the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its 322623SN/A * contributors may be used to endorse or promote products derived from 332623SN/A * this software without specific prior written permission. No right of 342623SN/A * sublicense is granted herewith. Derivatives of the software and 353348Sbinkertn@umich.edu * output created using the software may be prepared, but only for 363348Sbinkertn@umich.edu * Non-Commercial Uses. Derivatives of the software may be shared with 372623SN/A * others provided: (i) the others agree to abide by the list of 382901Ssaidi@eecs.umich.edu * conditions herein which includes the Non-Commercial Use restrictions; 392623SN/A * and (ii) such Derivatives of the software include the above copyright 402623SN/A * notice to acknowledge the contribution from this software where 412623SN/A * applicable, this list of conditions and the disclaimer below. 422623SN/A * 432856Srdreslin@umich.edu * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 442856Srdreslin@umich.edu * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 452856Srdreslin@umich.edu * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 462856Srdreslin@umich.edu * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 472856Srdreslin@umich.edu * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 482856Srdreslin@umich.edu * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 492856Srdreslin@umich.edu * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 502856Srdreslin@umich.edu * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 512856Srdreslin@umich.edu * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 522856Srdreslin@umich.edu * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 532623SN/A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 542623SN/A * 552623SN/A * Authors: Gabe Black 562623SN/A */ 572623SN/A 582623SN/A#ifndef __ARCH_X86_INTREGS_HH__ 592680Sktlim@umich.edu#define __ARCH_X86_INTREGS_HH__ 602680Sktlim@umich.edu 612623SN/Anamespace X86ISA 622623SN/A{ 632680Sktlim@umich.edu enum IntRegIndex 642623SN/A { 652623SN/A INTREG_RAX, 662623SN/A INTREG_RCX, 672623SN/A INTREG_RDX, 682623SN/A INTREG_RBX, 693349Sbinkertn@umich.edu INTREG_RSP, 702623SN/A INTREG_RBP, 712623SN/A INTREG_RSI, 722623SN/A INTREG_RDI, 732623SN/A INTREG_R8W, 742623SN/A INTREG_R9W, 752623SN/A INTREG_R10W, 763349Sbinkertn@umich.edu INTREG_R11W, 772623SN/A INTREG_R12W, 783184Srdreslin@umich.edu INTREG_R13W, 793184Srdreslin@umich.edu INTREG_R14W, 802623SN/A INTREG_R15W, 812623SN/A NUM_INTREGS 822623SN/A }; 832623SN/A}; 842623SN/A 852631SN/A#endif // __ARCH_X86_INTERRUPTS_HH__ 862631SN/A