kernel.cc (13094:e74742df378b) | kernel.cc (13130:e67ad27f0858) |
---|---|
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 --- 89 unchanged lines hidden (view full) --- 98 return; 99 100 for (auto m: sc_gem5::allModules) 101 for (auto p: m->ports) 102 p->_gem5Finalize(); 103 104 status(::sc_core::SC_END_OF_ELABORATION); 105 for (auto m: sc_gem5::allModules) { | 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 --- 89 unchanged lines hidden (view full) --- 98 return; 99 100 for (auto m: sc_gem5::allModules) 101 for (auto p: m->ports) 102 p->_gem5Finalize(); 103 104 status(::sc_core::SC_END_OF_ELABORATION); 105 for (auto m: sc_gem5::allModules) { |
106 callbackModule(m); |
|
106 m->sc_mod()->end_of_elaboration(); 107 for (auto p: m->ports) 108 p->end_of_elaboration(); 109 for (auto e: m->exports) 110 e->end_of_elaboration(); 111 } | 107 m->sc_mod()->end_of_elaboration(); 108 for (auto p: m->ports) 109 p->end_of_elaboration(); 110 for (auto e: m->exports) 111 e->end_of_elaboration(); 112 } |
113 callbackModule(nullptr); |
|
112 for (auto c: sc_gem5::allChannels) 113 c->sc_chan()->end_of_elaboration(); 114 115 if (stopAfterCallbacks) 116 stopWork(); 117} 118 119void --- 76 unchanged lines hidden --- | 114 for (auto c: sc_gem5::allChannels) 115 c->sc_chan()->end_of_elaboration(); 116 117 if (stopAfterCallbacks) 118 stopWork(); 119} 120 121void --- 76 unchanged lines hidden --- |