module.hh (13045:ccedccd0d93d) module.hh (13046:3a5e942051db)
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

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

26 *
27 * Authors: Gabe Black
28 */
29
30#ifndef __SYSTEMC_CORE_MODULE_HH__
31#define __SYSTEMC_CORE_MODULE_HH__
32
33#include <cassert>
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

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

26 *
27 * Authors: Gabe Black
28 */
29
30#ifndef __SYSTEMC_CORE_MODULE_HH__
31#define __SYSTEMC_CORE_MODULE_HH__
32
33#include <cassert>
34#include <list>
34#include <map>
35#include <map>
35#include <set>
36#include <sstream>
37#include <string>
38
39#include "systemc/core/object.hh"
40#include "systemc/ext/core/sc_module.hh"
41
42namespace sc_gem5
43{

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

104};
105
106Module *currentModule();
107Module *newModule();
108
109void callbackModule(Module *m);
110Module *callbackModule();
111
36#include <sstream>
37#include <string>
38
39#include "systemc/core/object.hh"
40#include "systemc/ext/core/sc_module.hh"
41
42namespace sc_gem5
43{

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

104};
105
106Module *currentModule();
107Module *newModule();
108
109void callbackModule(Module *m);
110Module *callbackModule();
111
112extern std::set<Module *> allModules;
112extern std::list<Module *> allModules;
113
114} // namespace sc_gem5
115
116#endif //__SYSTEMC_CORE_MODULE_HH__
113
114} // namespace sc_gem5
115
116#endif //__SYSTEMC_CORE_MODULE_HH__