1/* 2 * Copyright 2014 Google, Inc. 3 * Copyright (c) 2010-2014, 2017 ARM Limited 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 1211 unchanged lines hidden (view full) --- 1220 thread[tid]->noSquashFromTC = true; 1221 1222 // Execute the trap. Although it's slightly unrealistic in 1223 // terms of timing (as it doesn't wait for the full timing of 1224 // the trap event to complete before updating state), it's 1225 // needed to update the state as soon as possible. This 1226 // prevents external agents from changing any specific state 1227 // that the trap need. |
1228 cpu->trap(inst_fault, tid, 1229 head_inst->notAnInst() ? 1230 StaticInst::nullStaticInstPtr : 1231 head_inst->staticInst); |
1232 1233 // Exit state update mode to avoid accidental updating. 1234 thread[tid]->noSquashFromTC = false; 1235 1236 commitStatus[tid] = TrapPending; 1237 1238 DPRINTF(Commit, "Committing instruction with fault [sn:%lli]\n", 1239 head_inst->seqNum); --- 290 unchanged lines hidden --- |