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 --- 242 unchanged lines hidden (view full) --- 251 virtual unsigned int drain(Event *drain_event); 252 253 /** 254 * Switch an object in the Drained stated into the Running state. 255 */ 256 virtual void resume(); 257 258 /** |
259 * Prepare a CPU model to be switched out, invoked on active CPUs 260 * that are about to be replaced. 261 * 262 * @note This should only be implemented in CPU models. 263 */ 264 virtual void switchOut(); 265 266 /** --- 29 unchanged lines hidden --- |