cpu.hh (10713:eddb533708cb) cpu.hh (10905:a6ca6831e775)
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

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

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; }
340
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

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

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; }
340
341 void serializeThread(std::ostream &os, ThreadID tid);
341 void serializeThread(CheckpointOut &cp,
342 ThreadID tid) const M5_ATTR_OVERRIDE;
343 void unserializeThread(CheckpointIn &cp, ThreadID tid) M5_ATTR_OVERRIDE;
342
344
343 void unserializeThread(Checkpoint *cp, const std::string &section,
344 ThreadID tid);
345
346 public:
347 /** Executes a syscall.
348 * @todo: Determine if this needs to be virtual.
349 */
350 void syscall(int64_t callnum, ThreadID tid);
351
352 /** Starts draining the CPU's pipeline of all instructions in
353 * order to stop all memory accesses. */

--- 393 unchanged lines hidden ---
345 public:
346 /** Executes a syscall.
347 * @todo: Determine if this needs to be virtual.
348 */
349 void syscall(int64_t callnum, ThreadID tid);
350
351 /** Starts draining the CPU's pipeline of all instructions in
352 * order to stop all memory accesses. */

--- 393 unchanged lines hidden ---