1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 63 unchanged lines hidden (view full) --- 72{ 73 objIndex++; 74 if (::sc_gem5::allObjects.size() > objIndex) 75 return ::sc_gem5::allObjects[objIndex]; 76 else 77 return nullptr; 78} 79 |
80bool 81sc_simcontext::elaboration_done() 82{ 83 return ::sc_gem5::scheduler.elaborationDone(); 84} 85 |
86sc_simcontext * 87sc_get_curr_simcontext() 88{ 89 return &currContext; 90} 91 92} // namespace sc_core |