cpu.cc (2910:7eb6f817e267) | cpu.cc (2911:854ee6cd377e) |
---|---|
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; --- 563 unchanged lines hidden (view full) --- 572 } 573} 574 575template <class Impl> 576void 577FullO3CPU<Impl>::suspendContext(int tid) 578{ 579 DPRINTF(O3CPU,"[tid: %i]: Suspending Thread Context.\n", tid); | 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; --- 563 unchanged lines hidden (view full) --- 572 } 573} 574 575template <class Impl> 576void 577FullO3CPU<Impl>::suspendContext(int tid) 578{ 579 DPRINTF(O3CPU,"[tid: %i]: Suspending Thread Context.\n", tid); |
580 deactivateThread(); | 580 deactivateThread(tid); |
581 if (activeThreads.size() == 0) 582 unscheduleTickEvent(); 583 _status = Idle; 584} 585 586template <class Impl> 587void 588FullO3CPU<Impl>::haltContext(int tid) --- 790 unchanged lines hidden --- | 581 if (activeThreads.size() == 0) 582 unscheduleTickEvent(); 583 _status = Idle; 584} 585 586template <class Impl> 587void 588FullO3CPU<Impl>::haltContext(int tid) --- 790 unchanged lines hidden --- |