1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * Copyright (c) 2010 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer;
--- 160 unchanged lines hidden (view full) ---
170
171 /**
172 * Provide a default implementation of the drain interface that
173 * simply returns 0 (draining completed) and sets the drain state
174 * to Drained.
175 */
176 unsigned int drain(DrainManager *drainManger);
177
178
179 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE {};
180 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE {};
181
182 /**
183 * Serialize all SimObjects in the system.
184 */
185 static void serializeAll(CheckpointOut &cp);
186
--- 19 unchanged lines hidden ---
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * Copyright (c) 2010 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer;
--- 160 unchanged lines hidden (view full) ---
170
171 /**
172 * Provide a default implementation of the drain interface that
173 * simply returns 0 (draining completed) and sets the drain state
174 * to Drained.
175 */
176 unsigned int drain(DrainManager *drainManger);
177
178
179 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE {};
180 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE {};
181
182 /**
183 * Serialize all SimObjects in the system.
184 */
185 static void serializeAll(CheckpointOut &cp);
186
--- 19 unchanged lines hidden ---