pseudo_inst.cc revision 10553
110553Salexandru.dutu@amd.com/* 210553Salexandru.dutu@amd.com * Copyright (c) 2014 Advanced Micro Devices, Inc. 310553Salexandru.dutu@amd.com * All rights reserved. 410553Salexandru.dutu@amd.com * 510553Salexandru.dutu@amd.com * Redistribution and use in source and binary forms, with or without 610553Salexandru.dutu@amd.com * modification, are permitted provided that the following conditions are 710553Salexandru.dutu@amd.com * met: redistributions of source code must retain the above copyright 810553Salexandru.dutu@amd.com * notice, this list of conditions and the following disclaimer; 910553Salexandru.dutu@amd.com * redistributions in binary form must reproduce the above copyright 1010553Salexandru.dutu@amd.com * notice, this list of conditions and the following disclaimer in the 1110553Salexandru.dutu@amd.com * documentation and/or other materials provided with the distribution; 1210553Salexandru.dutu@amd.com * neither the name of the copyright holders nor the names of its 1310553Salexandru.dutu@amd.com * contributors may be used to endorse or promote products derived from 1410553Salexandru.dutu@amd.com * this software without specific prior written permission. 1510553Salexandru.dutu@amd.com * 1610553Salexandru.dutu@amd.com * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1710553Salexandru.dutu@amd.com * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1810553Salexandru.dutu@amd.com * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 1910553Salexandru.dutu@amd.com * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 2010553Salexandru.dutu@amd.com * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2110553Salexandru.dutu@amd.com * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2210553Salexandru.dutu@amd.com * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2310553Salexandru.dutu@amd.com * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2410553Salexandru.dutu@amd.com * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2510553Salexandru.dutu@amd.com * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2610553Salexandru.dutu@amd.com * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2710553Salexandru.dutu@amd.com * 2810553Salexandru.dutu@amd.com * Authors: Alexandru Dutu 2910553Salexandru.dutu@amd.com */ 3010553Salexandru.dutu@amd.com 3110553Salexandru.dutu@amd.com#include "arch/generic/pseudo_inst.hh" 3210553Salexandru.dutu@amd.com#include "base/misc.hh" 3310553Salexandru.dutu@amd.com 3410553Salexandru.dutu@amd.comclass ThreadContext; 3510553Salexandru.dutu@amd.com 3610553Salexandru.dutu@amd.comusing namespace GenericISA; 3710553Salexandru.dutu@amd.com 3810553Salexandru.dutu@amd.comvoid 3910553Salexandru.dutu@amd.comGenericISA::m5Syscall(ThreadContext *tc) 4010553Salexandru.dutu@amd.com{ 4110553Salexandru.dutu@amd.com panic("m5Syscall not implemented for current ISA"); 4210553Salexandru.dutu@amd.com} 4310553Salexandru.dutu@amd.com 4410553Salexandru.dutu@amd.comvoid 4510553Salexandru.dutu@amd.comGenericISA::m5PageFault(ThreadContext *tc) 4610553Salexandru.dutu@amd.com{ 4710553Salexandru.dutu@amd.com panic("m5PageFault not implemented for current ISA"); 4810553Salexandru.dutu@amd.com} 49