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 --- 432 unchanged lines hidden (view full) --- 441 void doContextSwitch(); 442 443 /** Update The Order In Which We Process Threads. */ 444 void updateThreadPriority(); 445 446 /** Is the CPU draining? */ 447 bool isDraining() const { return getDrainState() == Drainable::Draining; } 448 |
449 void serializeThread(std::ostream &os, ThreadID tid); |
450 |
451 void unserializeThread(Checkpoint *cp, const std::string §ion, 452 ThreadID tid); |
453 454 public: 455 /** Executes a syscall. 456 * @todo: Determine if this needs to be virtual. 457 */ 458 void syscall(int64_t callnum, ThreadID tid); 459 460 /** Starts draining the CPU's pipeline of all instructions in --- 386 unchanged lines hidden --- |