Deleted Added
sdiff udiff text old ( 9444:ab47fe7f03f0 ) new ( 9448:569d1e8f74e4 )
full compact
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 /** Serialize state. */
450 virtual void serialize(std::ostream &os);
451
452 /** Unserialize from a checkpoint. */
453 virtual void unserialize(Checkpoint *cp, const std::string &section);
454
455 public:
456 /** Executes a syscall.
457 * @todo: Determine if this needs to be virtual.
458 */
459 void syscall(int64_t callnum, ThreadID tid);
460
461 /** Starts draining the CPU's pipeline of all instructions in

--- 386 unchanged lines hidden ---