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 --- 42 unchanged lines hidden (view full) --- 51 Kernel(Params *params); 52 53 void init() override; 54 void regStats() override; 55 void startup() override; 56 57 void t0Handler(); 58 |
59 static sc_core::sc_status status(); 60 static void status(sc_core::sc_status s); |
61 |
62 static void stop(); |
63 |
64 static bool startOfSimulationComplete(); 65 static bool endOfSimulationComplete(); |
66 67 private: |
68 static void stopWork(); |
69 |
70 EventWrapper<Kernel, &Kernel::t0Handler> t0Event; 71}; 72 73extern Kernel *kernel; 74 75} // namespace sc_gem5 76 77#endif // __SYSTEMC_KERNEL_H__ |