unknown.isa (2665:a124942bacb8) | unknown.isa (10196:be0e1724eb39) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2003-2005 The Regents of The University of Michigan 4// All rights reserved. 5// 6// Redistribution and use in source and binary forms, with or without 7// modification, are permitted provided that the following conditions are 8// met: redistributions of source code must retain the above copyright --- 30 unchanged lines hidden (view full) --- 39 { 40 return csprintf("%-10s (inst 0x%x, opcode 0x%x)", 41 "unknown", machInst, OPCODE); 42 } 43}}; 44 45output exec {{ 46 Fault | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2003-2005 The Regents of The University of Michigan 4// All rights reserved. 5// 6// Redistribution and use in source and binary forms, with or without 7// modification, are permitted provided that the following conditions are 8// met: redistributions of source code must retain the above copyright --- 30 unchanged lines hidden (view full) --- 39 { 40 return csprintf("%-10s (inst 0x%x, opcode 0x%x)", 41 "unknown", machInst, OPCODE); 42 } 43}}; 44 45output exec {{ 46 Fault |
47 Unknown::execute(%(CPU_exec_context)s *xc, | 47 Unknown::execute(CPU_EXEC_CONTEXT *xc, |
48 Trace::InstRecord *traceData) const 49 { 50 panic("attempt to execute unknown instruction " 51 "(inst 0x%08x, opcode 0x%x)", machInst, OPCODE); 52 return new UnimplementedOpcodeFault; 53 } 54}}; 55 56def format Unknown() {{ 57 decode_block = 'return new Unknown(machInst);\n' 58}}; 59 | 48 Trace::InstRecord *traceData) const 49 { 50 panic("attempt to execute unknown instruction " 51 "(inst 0x%08x, opcode 0x%x)", machInst, OPCODE); 52 return new UnimplementedOpcodeFault; 53 } 54}}; 55 56def format Unknown() {{ 57 decode_block = 'return new Unknown(machInst);\n' 58}}; 59 |