Deleted Added
sdiff udiff text old ( 10910:32f3d1c454ec ) new ( 10911:0ca18446a5bb )
full compact
1/*
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

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

199 /**
200 * Resume execution after a successful drain.
201 *
202 * @note This method is normally only called from the simulation
203 * scripts.
204 */
205 virtual void drainResume();
206
207 DrainState getDrainState() const { return _drainState; }
208
209 protected:
210 void setDrainState(DrainState new_state) { _drainState = new_state; }
211
212 private:
213 DrainState _drainState;
214};
215
216DrainManager *createDrainManager();
217void cleanupDrainManager(DrainManager *drain_manager);
218
219#endif