thread_context_impl.hh (5704:98224505352a) | thread_context_impl.hh (5712:199d31b47f7b) |
---|---|
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; --- 49 unchanged lines hidden (view full) --- 58 assert(getSystemPtr() == old_context->getSystemPtr()); 59#else 60 assert(getProcessPtr() == old_context->getProcessPtr()); 61#endif 62 63 // copy over functional state 64 setStatus(old_context->status()); 65 copyArchRegs(old_context); | 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; --- 49 unchanged lines hidden (view full) --- 58 assert(getSystemPtr() == old_context->getSystemPtr()); 59#else 60 assert(getProcessPtr() == old_context->getProcessPtr()); 61#endif 62 63 // copy over functional state 64 setStatus(old_context->status()); 65 copyArchRegs(old_context); |
66 setCpuId(old_context->readCpuId()); | |
67 68#if !FULL_SYSTEM 69 thread->funcExeInst = old_context->readFuncExeInst(); 70#else 71 EndQuiesceEvent *other_quiesce = old_context->getQuiesceEvent(); 72 if (other_quiesce) { 73 // Point the quiesce event's TC at this TC so that it wakes up 74 // the proper CPU. --- 435 unchanged lines hidden --- | 66 67#if !FULL_SYSTEM 68 thread->funcExeInst = old_context->readFuncExeInst(); 69#else 70 EndQuiesceEvent *other_quiesce = old_context->getQuiesceEvent(); 71 if (other_quiesce) { 72 // Point the quiesce event's TC at this TC so that it wakes up 73 // the proper CPU. --- 435 unchanged lines hidden --- |