cpu.cc (3512:cefe7f965104) | cpu.cc (3675:dc883b610345) |
---|---|
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; --- 483 unchanged lines hidden (view full) --- 492 ThreadContext *src_tc = thread[tid]->getTC(); 493#endif 494 // Threads start in the Suspended State 495 if (src_tc->status() != ThreadContext::Suspended) { 496 continue; 497 } 498 499#if FULL_SYSTEM | 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; --- 483 unchanged lines hidden (view full) --- 492 ThreadContext *src_tc = thread[tid]->getTC(); 493#endif 494 // Threads start in the Suspended State 495 if (src_tc->status() != ThreadContext::Suspended) { 496 continue; 497 } 498 499#if FULL_SYSTEM |
500 src_tc->init(); 501 |
|
500 TheISA::initCPU(src_tc, src_tc->readCpuId()); 501#endif 502 } 503 504 // Clear inSyscall. 505 for (int i = 0; i < number_of_threads; ++i) 506 thread[i]->inSyscall = false; 507 --- 946 unchanged lines hidden --- | 502 TheISA::initCPU(src_tc, src_tc->readCpuId()); 503#endif 504 } 505 506 // Clear inSyscall. 507 for (int i = 0; i < number_of_threads; ++i) 508 thread[i]->inSyscall = false; 509 --- 946 unchanged lines hidden --- |