sim_object.cc (8320:c03e683e83fe) | sim_object.cc (8737:770ccf3af571) |
---|---|
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 --- 155 unchanged lines hidden (view full) --- 164 165void 166SimObject::resume() 167{ 168 state = Running; 169} 170 171void | 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 --- 155 unchanged lines hidden (view full) --- 164 165void 166SimObject::resume() 167{ 168 state = Running; 169} 170 171void |
172SimObject::setMemoryMode(State new_mode) | 172SimObject::setMemoryMode(Enums::MemoryMode new_mode) |
173{ 174 panic("setMemoryMode() should only be called on systems"); 175} 176 177void 178SimObject::switchOut() 179{ 180 panic("Unimplemented!"); --- 23 unchanged lines hidden --- | 173{ 174 panic("setMemoryMode() should only be called on systems"); 175} 176 177void 178SimObject::switchOut() 179{ 180 panic("Unimplemented!"); --- 23 unchanged lines hidden --- |