1/* |
2 * Copyright (c) 2012, 2015, 2017 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 9 * licensed hereunder. You may use the software subject to the license 10 * terms below provided that you ensure that this notice is replicated --- 568 unchanged lines hidden (view full) --- 579 suspendContext(thread_num); 580} 581 582void 583BaseKvmCPU::haltContext(ThreadID thread_num) 584{ 585 // for now, these are equivalent 586 suspendContext(thread_num); |
587 updateCycleCounters(BaseCPU::CPU_STATE_SLEEP); |
588} 589 590ThreadContext * 591BaseKvmCPU::getContext(int tn) 592{ 593 assert(tn == 0); 594 syncThreadContext(); 595 return tc; --- 805 unchanged lines hidden --- |