init.hh (9554:406fbcf60223) init.hh (10453:d0365cc3d05f)
1/*
2 * Copyright (c) 2008 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

71 void (*initFunc)();
72
73 EmbeddedSwig(void (*init_func)());
74
75 static std::list<EmbeddedSwig *> &getList();
76 static void initAll();
77};
78
1/*
2 * Copyright (c) 2008 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

71 void (*initFunc)();
72
73 EmbeddedSwig(void (*init_func)());
74
75 static std::list<EmbeddedSwig *> &getList();
76 static void initAll();
77};
78
79void dumpStatsHandler(int sigtype);
80void dumprstStatsHandler(int sigtype);
81void exitNowHandler(int sigtype);
82void abortHandler(int sigtype);
83void initSignals();
84int initM5Python();
85int m5Main(int argc, char **argv);
86PyMODINIT_FUNC initm5(void);
87
88#endif // __SIM_INIT_HH__
79int initM5Python();
80int m5Main(int argc, char **argv);
81PyMODINIT_FUNC initm5(void);
82
83#endif // __SIM_INIT_HH__