base.cc (5100:7a0180040755) | base.cc (5217:bb810bb8ca2d) |
---|---|
1/* 2 * Copyright (c) 2002-2005 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; --- 320 unchanged lines hidden (view full) --- 329 assert(newTC->readCpuId() == oldTC->readCpuId()); 330#if FULL_SYSTEM 331 system->replaceThreadContext(newTC, newTC->readCpuId()); 332#else 333 assert(newTC->getProcessPtr() == oldTC->getProcessPtr()); 334 newTC->getProcessPtr()->replaceThreadContext(newTC, newTC->readCpuId()); 335#endif 336 | 1/* 2 * Copyright (c) 2002-2005 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; --- 320 unchanged lines hidden (view full) --- 329 assert(newTC->readCpuId() == oldTC->readCpuId()); 330#if FULL_SYSTEM 331 system->replaceThreadContext(newTC, newTC->readCpuId()); 332#else 333 assert(newTC->getProcessPtr() == oldTC->getProcessPtr()); 334 newTC->getProcessPtr()->replaceThreadContext(newTC, newTC->readCpuId()); 335#endif 336 |
337// TheISA::compareXCs(oldXC, newXC); | 337 if (DTRACE(Context)) 338 ThreadContext::compare(oldTC, newTC); |
338 } 339 340#if FULL_SYSTEM 341 interrupts = oldCPU->interrupts; 342 343 for (int i = 0; i < threadContexts.size(); ++i) 344 threadContexts[i]->profileClear(); 345 --- 108 unchanged lines hidden --- | 339 } 340 341#if FULL_SYSTEM 342 interrupts = oldCPU->interrupts; 343 344 for (int i = 0; i < threadContexts.size(); ++i) 345 threadContexts[i]->profileClear(); 346 --- 108 unchanged lines hidden --- |