|
gem5
v19.0.0.0
|
#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) |
| #define PyCC | ( | x | ) | (const_cast<char *>(x)) |
Definition at line 74 of file init.cc.
Referenced by EmbeddedPython::addModule(), EmbeddedPython::initAll(), and m5Main().
| const char* __attribute__ | ( | (weak) | ) |
Referenced by ComputeUnit::cacheLineSize(), and registerNativeModules().
| int m5Main | ( | int | argc, |
| char ** | _argv | ||
| ) |
| void registerNativeModules | ( | ) |
Definition at line 239 of file init.cc.
References __attribute__(), EmbeddedPyBind::initAll(), m5MainCommands, and panic.
Referenced by main().