sim_object.hh (9196:87967784f101) | sim_object.hh (9253:e0d2a8e9f445) |
---|---|
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 /** | 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 * Change the memory mode the simulator operates in. 260 * 261 * @note Should only be implemented in the System object. 262 */ 263 virtual void setMemoryMode(Enums::MemoryMode new_mode); 264 265 /** | |
266 * Prepare a CPU model to be switched out, invoked on active CPUs 267 * that are about to be replaced. 268 * 269 * @note This should only be implemented in CPU models. 270 */ 271 virtual void switchOut(); 272 273 /** --- 29 unchanged lines hidden --- | 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 --- |