faults.cc (7412:b62d0343ad8f) faults.cc (7426:5da64155a605)
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

156
157#else
158
159void
160UndefinedInstruction::invoke(ThreadContext *tc)
161{
162 assert(unknown || mnemonic != NULL);
163 if (unknown) {
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

156
157#else
158
159void
160UndefinedInstruction::invoke(ThreadContext *tc)
161{
162 assert(unknown || mnemonic != NULL);
163 if (unknown) {
164 panic("Attempted to execute unknown instruction "
165 "(inst 0x%08x, opcode 0x%x, binary:%s)",
166 machInst, machInst.opcode, inst2string(machInst));
164 panic("Attempted to execute unknown instruction (inst 0x%08x)",
165 machInst);
167 } else {
166 } else {
168 panic("Attempted to execute unimplemented instruction '%s' "
169 "(inst 0x%08x, opcode 0x%x, binary:%s)",
170 mnemonic, machInst, machInst.opcode, inst2string(machInst));
167 panic("Attempted to execute unimplemented instruction "
168 "'%s' (inst 0x%08x)", mnemonic, machInst);
171 }
172}
173
174void
175SupervisorCall::invoke(ThreadContext *tc)
176{
177 // As of now, there isn't a 32 bit thumb version of this instruction.
178 assert(!machInst.bigThumb);

--- 44 unchanged lines hidden ---
169 }
170}
171
172void
173SupervisorCall::invoke(ThreadContext *tc)
174{
175 // As of now, there isn't a 32 bit thumb version of this instruction.
176 assert(!machInst.bigThumb);

--- 44 unchanged lines hidden ---