debug.isa (7965:f4c89fe1246b) debug.isa (7975:4ddb6f13cf13)
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

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

93 return new GenericISA::M5DebugFault(func, message);
94 } else {
95 return NoFault;
96 }
97 }
98}};
99
100def template MicroDebugConstructor {{
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

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

93 return new GenericISA::M5DebugFault(func, message);
94 } else {
95 return NoFault;
96 }
97 }
98}};
99
100def template MicroDebugConstructor {{
101 inline %(class_name)s::%(class_name)s(
101 %(class_name)s::%(class_name)s(
102 ExtMachInst machInst, const char * instMnem, uint64_t setFlags,
103 std::string _message, uint8_t _cc) :
104 %(base_class)s(machInst, "%(func)s", instMnem,
105 setFlags, %(func_num)s, _message, _cc)
106 {
107 %(constructor)s;
108 }
109}};

--- 60 unchanged lines hidden ---
102 ExtMachInst machInst, const char * instMnem, uint64_t setFlags,
103 std::string _message, uint8_t _cc) :
104 %(base_class)s(machInst, "%(func)s", instMnem,
105 setFlags, %(func_num)s, _message, _cc)
106 {
107 %(constructor)s;
108 }
109}};

--- 60 unchanged lines hidden ---