drain.cc (9342:6fec8f26e56d) drain.cc (10910:32f3d1c454ec)
1/*
1/*
2 * Copyright (c) 2012 ARM Limited
2 * Copyright (c) 2012, 2015 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
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

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

53DrainManager::drainCycleDone()
54{
55 exitSimLoop("Finished drain", 0);
56}
57
58
59
60Drainable::Drainable()
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
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

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

53DrainManager::drainCycleDone()
54{
55 exitSimLoop("Finished drain", 0);
56}
57
58
59
60Drainable::Drainable()
61 : _drainState(Running)
61 : _drainState(DrainState::Running)
62{
63}
64
65Drainable::~Drainable()
66{
67}
68
69void
70Drainable::drainResume()
71{
62{
63}
64
65Drainable::~Drainable()
66{
67}
68
69void
70Drainable::drainResume()
71{
72 _drainState = Running;
72 _drainState = DrainState::Running;
73}
73}