cpu.hh (10905:a6ca6831e775) cpu.hh (10910:32f3d1c454ec)
1/*
2 * Copyright (c) 2011-2013 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

--- 322 unchanged lines hidden (view full) ---

331 * Remove Thread Context from CPU.
332 */
333 void haltContext(ThreadID tid);
334
335 /** Update The Order In Which We Process Threads. */
336 void updateThreadPriority();
337
338 /** Is the CPU draining? */
1/*
2 * Copyright (c) 2011-2013 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

--- 322 unchanged lines hidden (view full) ---

331 * Remove Thread Context from CPU.
332 */
333 void haltContext(ThreadID tid);
334
335 /** Update The Order In Which We Process Threads. */
336 void updateThreadPriority();
337
338 /** Is the CPU draining? */
339 bool isDraining() const { return getDrainState() == Drainable::Draining; }
339 bool isDraining() const { return getDrainState() == DrainState::Draining; }
340
341 void serializeThread(CheckpointOut &cp,
342 ThreadID tid) const M5_ATTR_OVERRIDE;
343 void unserializeThread(CheckpointIn &cp, ThreadID tid) M5_ATTR_OVERRIDE;
344
345 public:
346 /** Executes a syscall.
347 * @todo: Determine if this needs to be virtual.

--- 398 unchanged lines hidden ---
340
341 void serializeThread(CheckpointOut &cp,
342 ThreadID tid) const M5_ATTR_OVERRIDE;
343 void unserializeThread(CheckpointIn &cp, ThreadID tid) M5_ATTR_OVERRIDE;
344
345 public:
346 /** Executes a syscall.
347 * @todo: Determine if this needs to be virtual.

--- 398 unchanged lines hidden ---