kernel.hh (12990:19d91b53e04e) kernel.hh (13077:0037323cb4dd)
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

--- 50 unchanged lines hidden (view full) ---

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
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

--- 50 unchanged lines hidden (view full) ---

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 static bool scMainFinished();
68 static void scMainFinished(bool);
69
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__
70 private:
71 static void stopWork();
72
73 EventWrapper<Kernel, &Kernel::t0Handler> t0Event;
74};
75
76extern Kernel *kernel;
77
78} // namespace sc_gem5
79
80#endif // __SYSTEMC_KERNEL_H__