cpu.cc (9424:d631aac65246) | cpu.cc (9427:ddf45c1d54d4) |
---|---|
1/* 2 * Copyright (c) 2011-2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 665 unchanged lines hidden (view full) --- 674 TheISA::initCPU(src_tc, src_tc->contextId()); 675 } 676 } 677 678 // Clear noSquashFromTC. 679 for (int tid = 0; tid < numThreads; ++tid) 680 thread[tid]->noSquashFromTC = false; 681 | 1/* 2 * Copyright (c) 2011-2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 665 unchanged lines hidden (view full) --- 674 TheISA::initCPU(src_tc, src_tc->contextId()); 675 } 676 } 677 678 // Clear noSquashFromTC. 679 for (int tid = 0; tid < numThreads; ++tid) 680 thread[tid]->noSquashFromTC = false; 681 |
682 // Initialize stages. 683 fetch.initStage(); 684 iew.initStage(); 685 rename.initStage(); 686 commit.initStage(); 687 | |
688 commit.setThreads(thread); 689} 690 691template <class Impl> 692void | 682 commit.setThreads(thread); 683} 684 685template <class Impl> 686void |
687FullO3CPU<Impl>::startup() 688{ 689 fetch.startupStage(); 690 iew.startupStage(); 691 rename.startupStage(); 692 commit.startupStage(); 693} 694 695template <class Impl> 696void |
|
693FullO3CPU<Impl>::activateThread(ThreadID tid) 694{ 695 list<ThreadID>::iterator isActive = 696 std::find(activeThreads.begin(), activeThreads.end(), tid); 697 698 DPRINTF(O3CPU, "[tid:%i]: Calling activate thread.\n", tid); 699 700 if (isActive == activeThreads.end()) { --- 1061 unchanged lines hidden --- | 697FullO3CPU<Impl>::activateThread(ThreadID tid) 698{ 699 list<ThreadID>::iterator isActive = 700 std::find(activeThreads.begin(), activeThreads.end(), tid); 701 702 DPRINTF(O3CPU, "[tid:%i]: Calling activate thread.\n", tid); 703 704 if (isActive == activeThreads.end()) { --- 1061 unchanged lines hidden --- |