sim_object.cc (9342:6fec8f26e56d) | sim_object.cc (9983:2cce74fe359e) |
---|---|
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 --- 46 unchanged lines hidden (view full) --- 55// static list of all SimObjects, used for initialization etc. 56// 57SimObject::SimObjectList SimObject::simObjectList; 58 59// 60// SimObject constructor: used to maintain static simObjectList 61// 62SimObject::SimObject(const Params *p) | 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 --- 46 unchanged lines hidden (view full) --- 55// static list of all SimObjects, used for initialization etc. 56// 57SimObject::SimObjectList SimObject::simObjectList; 58 59// 60// SimObject constructor: used to maintain static simObjectList 61// 62SimObject::SimObject(const Params *p) |
63 : EventManager(p->eventq), _params(p) | 63 : EventManager(getEventQueue(p->eventq_index)), _params(p) |
64{ 65#ifdef DEBUG 66 doDebugBreak = false; 67#endif 68 69 simObjectList.push_back(this); 70} 71 --- 102 unchanged lines hidden --- | 64{ 65#ifdef DEBUG 66 doDebugBreak = false; 67#endif 68 69 simObjectList.push_back(this); 70} 71 --- 102 unchanged lines hidden --- |