faults.cc (11218:d135bc832ffe) | faults.cc (11320:42ecb523c64a) |
---|---|
1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 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 --- 89 unchanged lines hidden (view full) --- 98 std::stringstream ss; 99 ccprintf(ss, "%s", mnemonic()); 100 if (errorCode != (uint64_t)(-1)) { 101 ccprintf(ss, "(%#x)", errorCode); 102 } 103 104 return ss.str(); 105 } | 1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 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 --- 89 unchanged lines hidden (view full) --- 98 std::stringstream ss; 99 ccprintf(ss, "%s", mnemonic()); 100 if (errorCode != (uint64_t)(-1)) { 101 ccprintf(ss, "(%#x)", errorCode); 102 } 103 104 return ss.str(); 105 } |
106 | 106 |
107 void X86Trap::invoke(ThreadContext * tc, const StaticInstPtr &inst) 108 { 109 X86FaultBase::invoke(tc); 110 if (!FullSystem) 111 return; 112 113 // This is the same as a fault, but it happens -after- the 114 // instruction. --- 198 unchanged lines hidden --- | 107 void X86Trap::invoke(ThreadContext * tc, const StaticInstPtr &inst) 108 { 109 X86FaultBase::invoke(tc); 110 if (!FullSystem) 111 return; 112 113 // This is the same as a fault, but it happens -after- the 114 // instruction. --- 198 unchanged lines hidden --- |