unknown.isa (10474:799c8ee4ecba) unknown.isa (12234:78ece221f9f5)
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 {{
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,
66 Fault Unknown::execute(ExecContext *xc,
67 Trace::InstRecord *traceData) const
68 {
69 return std::make_shared<IllegalInstruction>();
70 }
71}};
72
73def format Unknown() {{
74 decode_block = 'return new Unknown(machInst);\n'
75}};
67 Trace::InstRecord *traceData) const
68 {
69 return std::make_shared<IllegalInstruction>();
70 }
71}};
72
73def format Unknown() {{
74 decode_block = 'return new Unknown(machInst);\n'
75}};