pseudo_inst.hh revision 10553
19792Sandreas.hansson@arm.com/* 29792Sandreas.hansson@arm.com * Copyright (c) 2014 Advanced Micro Devices, Inc. 39792Sandreas.hansson@arm.com * All rights reserved. 49792Sandreas.hansson@arm.com * 59792Sandreas.hansson@arm.com * Redistribution and use in source and binary forms, with or without 69792Sandreas.hansson@arm.com * modification, are permitted provided that the following conditions are 79792Sandreas.hansson@arm.com * met: redistributions of source code must retain the above copyright 89792Sandreas.hansson@arm.com * notice, this list of conditions and the following disclaimer; 99792Sandreas.hansson@arm.com * redistributions in binary form must reproduce the above copyright 109792Sandreas.hansson@arm.com * notice, this list of conditions and the following disclaimer in the 119792Sandreas.hansson@arm.com * documentation and/or other materials provided with the distribution; 129792Sandreas.hansson@arm.com * neither the name of the copyright holders nor the names of its 134390Sktlim@umich.edu * contributors may be used to endorse or promote products derived from 143134Srdreslin@umich.edu * this software without specific prior written permission. 153134Srdreslin@umich.edu * 163134Srdreslin@umich.edu * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 173134Srdreslin@umich.edu * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 183134Srdreslin@umich.edu * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 193134Srdreslin@umich.edu * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 203134Srdreslin@umich.edu * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 213134Srdreslin@umich.edu * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 223134Srdreslin@umich.edu * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 233134Srdreslin@umich.edu * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 243134Srdreslin@umich.edu * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 253134Srdreslin@umich.edu * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 263134Srdreslin@umich.edu * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 273134Srdreslin@umich.edu * 283134Srdreslin@umich.edu * Authors: Alexandru Dutu 293134Srdreslin@umich.edu */ 303134Srdreslin@umich.edu 313134Srdreslin@umich.edu#ifndef __ARCH_POWER_PSEUDO_INST_HH__ 323134Srdreslin@umich.edu#define __ARCH_POWER_PSEUDO_INST_HH__ 333134Srdreslin@umich.edu 343134Srdreslin@umich.edu#include "arch/generic/pseudo_inst.hh" 353134Srdreslin@umich.edu#include "base/misc.hh" 363134Srdreslin@umich.edu 373134Srdreslin@umich.educlass ThreadContext; 383134Srdreslin@umich.edu 399792Sandreas.hansson@arm.comnamespace PowerISA { 403134Srdreslin@umich.edu using GenericISA::m5Syscall; 413134Srdreslin@umich.edu using GenericISA::m5PageFault; 429792Sandreas.hansson@arm.com} 433134Srdreslin@umich.edu 443134Srdreslin@umich.edu#endif // __ARCH_POWER_PSEUDO_INST_HH__ 459792Sandreas.hansson@arm.com 469792Sandreas.hansson@arm.com