gem5  v20.1.0.0
Macros | Functions
init.cc File Reference
#include <Python.h>
#include "sim/init.hh"
#include <marshal.h>
#include <zlib.h>
#include <iostream>
#include <list>
#include <string>
#include <vector>
#include "base/cprintf.hh"
#include "base/logging.hh"
#include "base/types.hh"
#include "config/have_protobuf.hh"
#include "python/pybind11/pybind.hh"
#include "sim/async.hh"
#include "sim/core.hh"

Go to the source code of this file.

Macros

#define PyCC(x)   (const_cast<char *>(x))
 

Functions

void registerNativeModules ()
 
const char * __attribute__ ((weak)) m5MainCommands[]
 
int m5Main (int argc, char **_argv)
 

Macro Definition Documentation

◆ PyCC

#define PyCC (   x)    (const_cast<char *>(x))

Definition at line 72 of file init.cc.

Function Documentation

◆ __attribute__()

const char* __attribute__ ( (weak)  )

◆ m5Main()

int m5Main ( int  argc,
char **  _argv 
)

Definition at line 259 of file init.cc.

References ArmISA::i, m5MainCommands, panic, and PyCC.

Referenced by main().

◆ registerNativeModules()

void registerNativeModules ( )

Definition at line 237 of file init.cc.

References EmbeddedPyBind::initAll(), and panic.

Referenced by main().


Generated on Wed Sep 30 2020 14:02:19 for gem5 by doxygen 1.8.17