kernel.cc (13207:034ca389a810) | kernel.cc (13273:af60ddcf2a32) |
---|---|
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 --- 79 unchanged lines hidden (view full) --- 88Kernel::regStats() 89{ 90 if (scMainDone || stopAfterCallbacks) 91 return; 92 93 try { 94 for (auto p: allPorts) 95 p->finalize(); | 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 --- 79 unchanged lines hidden (view full) --- 88Kernel::regStats() 89{ 90 if (scMainDone || stopAfterCallbacks) 91 return; 92 93 try { 94 for (auto p: allPorts) 95 p->finalize(); |
96 for (auto p: allPorts) 97 p->regPort(); |
|
96 97 status(::sc_core::SC_END_OF_ELABORATION); 98 for (auto p: allPorts) 99 p->sc_port_base()->end_of_elaboration(); 100 for (auto m: sc_gem5::allModules) 101 m->endOfElaboration(); 102 for (auto c: sc_gem5::allChannels) 103 c->sc_chan()->end_of_elaboration(); --- 92 unchanged lines hidden --- | 98 99 status(::sc_core::SC_END_OF_ELABORATION); 100 for (auto p: allPorts) 101 p->sc_port_base()->end_of_elaboration(); 102 for (auto m: sc_gem5::allModules) 103 m->endOfElaboration(); 104 for (auto c: sc_gem5::allChannels) 105 c->sc_chan()->end_of_elaboration(); --- 92 unchanged lines hidden --- |