1// Copyright (c) 2006 The Regents of The University of Michigan 2// All rights reserved. 3// 4// Redistribution and use in source and binary forms, with or without 5// modification, are permitted provided that the following conditions are 6// met: redistributions of source code must retain the above copyright 7// notice, this list of conditions and the following disclaimer; 8// redistributions in binary form must reproduce the above copyright --- 49 unchanged lines hidden (view full) --- 58 std::string Unknown::generateDisassembly(Addr pc, 59 const SymbolTable *symtab) const 60 { 61 return "Unknown instruction"; 62 } 63}}; 64 65output exec {{ |
66 Fault Unknown::execute(CPU_EXEC_CONTEXT *xc, |
67 Trace::InstRecord *traceData) const 68 { 69 return new IllegalInstruction; 70 } 71}}; 72 73def format Unknown() {{ 74 decode_block = 'return new Unknown(machInst);\n' 75}}; |