commit_impl.hh (6667:8b5bc1a777bc) commit_impl.hh (7678:f19b6a3a8cec)
1/*
2 * Copyright (c) 2004-2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

1063 thread[tid]->inSyscall = true;
1064
1065 // Execute the trap. Although it's slightly unrealistic in
1066 // terms of timing (as it doesn't wait for the full timing of
1067 // the trap event to complete before updating state), it's
1068 // needed to update the state as soon as possible. This
1069 // prevents external agents from changing any specific state
1070 // that the trap need.
1/*
2 * Copyright (c) 2004-2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

1063 thread[tid]->inSyscall = true;
1064
1065 // Execute the trap. Although it's slightly unrealistic in
1066 // terms of timing (as it doesn't wait for the full timing of
1067 // the trap event to complete before updating state), it's
1068 // needed to update the state as soon as possible. This
1069 // prevents external agents from changing any specific state
1070 // that the trap need.
1071 cpu->trap(inst_fault, tid);
1071 cpu->trap(inst_fault, tid, head_inst);
1072
1073 // Exit state update mode to avoid accidental updating.
1074 thread[tid]->inSyscall = false;
1075
1076 commitStatus[tid] = TrapPending;
1077
1078 if (head_inst->traceData) {
1079 if (DTRACE(ExecFaulting)) {

--- 310 unchanged lines hidden ---
1072
1073 // Exit state update mode to avoid accidental updating.
1074 thread[tid]->inSyscall = false;
1075
1076 commitStatus[tid] = TrapPending;
1077
1078 if (head_inst->traceData) {
1079 if (DTRACE(ExecFaulting)) {

--- 310 unchanged lines hidden ---