debug.isa (9211:46c3a74952ec) debug.isa (10196:be0e1724eb39)
1// Copyright (c) 2008 The Hewlett-Packard Development Company
2// All rights reserved.
3//
4// The license below extends only to copyright in the software and shall
5// not be construed as granting a license to any other intellectual
6// property including but not limited to intellectual property relating
7// to a hardware implementation of the functionality of the software
8// licensed hereunder. You may use the software subject to the license

--- 70 unchanged lines hidden (view full) ---

79 uint64_t setFlags, std::string _message, uint8_t _cc);
80
81 %(BasicExecDeclare)s
82 };
83}};
84
85def template MicroDebugExecute {{
86 Fault
1// Copyright (c) 2008 The Hewlett-Packard Development Company
2// All rights reserved.
3//
4// The license below extends only to copyright in the software and shall
5// not be construed as granting a license to any other intellectual
6// property including but not limited to intellectual property relating
7// to a hardware implementation of the functionality of the software
8// licensed hereunder. You may use the software subject to the license

--- 70 unchanged lines hidden (view full) ---

79 uint64_t setFlags, std::string _message, uint8_t _cc);
80
81 %(BasicExecDeclare)s
82 };
83}};
84
85def template MicroDebugExecute {{
86 Fault
87 %(class_name)s::execute(%(CPU_exec_context)s *xc,
87 %(class_name)s::execute(CPU_EXEC_CONTEXT *xc,
88 Trace::InstRecord *traceData) const
89 {
90 %(op_decl)s
91 %(op_rd)s
92 if (%(cond_test)s) {
93 return new GenericISA::M5DebugFault(func, message);
94 } else {
95 return NoFault;

--- 75 unchanged lines hidden ---
88 Trace::InstRecord *traceData) const
89 {
90 %(op_decl)s
91 %(op_rd)s
92 if (%(cond_test)s) {
93 return new GenericISA::M5DebugFault(func, message);
94 } else {
95 return NoFault;

--- 75 unchanged lines hidden ---