base.cc (12284:b91c036913da) base.cc (12392:e0dbdf30a2a5)
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

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

378 // The state of the CPU is consistent, so we don't need to do
379 // anything special to drain it. We simply de-schedule the
380 // tick event and enter the Idle state to prevent nasty things
381 // like MMIOs from happening.
382 if (tickEvent.scheduled())
383 deschedule(tickEvent);
384 _status = Idle;
385
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

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

378 // The state of the CPU is consistent, so we don't need to do
379 // anything special to drain it. We simply de-schedule the
380 // tick event and enter the Idle state to prevent nasty things
381 // like MMIOs from happening.
382 if (tickEvent.scheduled())
383 deschedule(tickEvent);
384 _status = Idle;
385
386 /** FALLTHROUGH */
386 M5_FALLTHROUGH;
387 case Idle:
388 // Idle, no need to drain
389 assert(!tickEvent.scheduled());
390
391 // Sync the thread context here since we'll need it when we
392 // switch CPUs or checkpoint the CPU.
393 syncThreadContext();
394

--- 1006 unchanged lines hidden ---
387 case Idle:
388 // Idle, no need to drain
389 assert(!tickEvent.scheduled());
390
391 // Sync the thread context here since we'll need it when we
392 // switch CPUs or checkpoint the CPU.
393 syncThreadContext();
394

--- 1006 unchanged lines hidden ---