|
gem5
|
#include <Python.h>#include "sim/init.hh"#include <marshal.h>#include <zlib.h>#include <iostream>#include <list>#include <string>#include "base/cprintf.hh"#include "base/misc.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 | |
| int | initM5Python () |
| const char * | __attribute__ ((weak)) m5MainCommands[] |
| int | m5Main (int argc, char **argv) |
| PyMODINIT_FUNC | initm5 (void) |
| #define PyCC | ( | x | ) | (const_cast<char *>(x)) |
Definition at line 73 of file init.cc.
Referenced by EmbeddedPython::addModule(), EmbeddedPython::initAll(), initm5(), and m5Main().
| const char* __attribute__ | ( | (weak) | ) |
| PyMODINIT_FUNC initm5 | ( | void | ) |
Definition at line 294 of file init.cc.
References initM5Python(), and PyCC.
| int initM5Python | ( | ) |
Definition at line 231 of file init.cc.
References EmbeddedPython::initAll(), and EmbeddedPyBind::initAll().