includes: sort all includes
This commit is contained in:
@@ -32,12 +32,11 @@
|
||||
%module(package="m5.internal") core
|
||||
|
||||
%{
|
||||
#include "python/swig/pyobject.hh"
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/random.hh"
|
||||
#include "base/socket.hh"
|
||||
#include "base/types.hh"
|
||||
#include "python/swig/pyobject.hh"
|
||||
#include "sim/core.hh"
|
||||
|
||||
extern const char *compileDate;
|
||||
@@ -64,8 +63,8 @@ seedRandom(uint64_t seed)
|
||||
|
||||
%}
|
||||
|
||||
%include <stdint.i>
|
||||
%include <std_string.i>
|
||||
%include <stdint.i>
|
||||
|
||||
%include "base/types.hh"
|
||||
|
||||
|
||||
@@ -70,15 +70,15 @@
|
||||
%ignore EventQueue::schedule;
|
||||
%ignore EventQueue::deschedule;
|
||||
|
||||
%include <std_string.i>
|
||||
%include <stdint.i>
|
||||
|
||||
%import "base/fast_alloc.hh"
|
||||
%import "sim/serialize.hh"
|
||||
|
||||
%include <stdint.i>
|
||||
%include <std_string.i>
|
||||
|
||||
%include "base/types.hh"
|
||||
%include "sim/eventq.hh"
|
||||
%include "python/swig/pyevent.hh"
|
||||
%include "sim/eventq.hh"
|
||||
|
||||
struct CountedDrainEvent : public Event
|
||||
{
|
||||
|
||||
@@ -34,8 +34,8 @@
|
||||
#include "base/inet.hh"
|
||||
%}
|
||||
|
||||
%import <stdint.i>
|
||||
%import <std_string.i>
|
||||
%import <stdint.i>
|
||||
|
||||
namespace Net {
|
||||
struct EthAddr
|
||||
|
||||
@@ -41,8 +41,8 @@
|
||||
|
||||
#if FULL_SYSTEM
|
||||
#include "dev/etherdevice.hh"
|
||||
#include "dev/etherobject.hh"
|
||||
#include "dev/etherint.hh"
|
||||
#include "dev/etherobject.hh"
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -33,8 +33,8 @@
|
||||
%}
|
||||
|
||||
// import these files for SWIG to wrap
|
||||
%include <stdint.i>
|
||||
%include <std_string.i>
|
||||
%include <stdint.i>
|
||||
|
||||
%include "base/types.hh"
|
||||
%include "sim/sim_object_params.hh"
|
||||
|
||||
@@ -34,14 +34,15 @@
|
||||
%include <std_string.i>
|
||||
|
||||
%{
|
||||
#include "base/statistics.hh"
|
||||
#include "base/stats/mysql.hh"
|
||||
#include "base/stats/text.hh"
|
||||
#include "base/statistics.hh"
|
||||
#include "sim/core.hh"
|
||||
#include "sim/stat_control.hh"
|
||||
%}
|
||||
|
||||
%import "base/stats/types.hh"
|
||||
|
||||
%include "base/stats/info.hh"
|
||||
|
||||
namespace Stats {
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
#include "sim/system.hh"
|
||||
%}
|
||||
|
||||
%import "python/swig/sim_object.i"
|
||||
%import "enums/MemoryMode.hh"
|
||||
%import "python/swig/sim_object.i"
|
||||
|
||||
class System : public SimObject
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user