gem5
|
#include <init.hh>
Public Member Functions | |
EmbeddedPython (const char *filename, const char *abspath, const char *modpath, const uint8_t *code, int zlen, int len) | |
PyObject * | getCode () const |
bool | addModule () const |
Static Public Member Functions | |
static std::list < EmbeddedPython * > & | getList () |
static int | initAll () |
Public Attributes | |
const char * | filename |
const char * | abspath |
const char * | modpath |
const uint8_t * | code |
int | zlen |
int | len |
Static Public Attributes | |
static EmbeddedPython * | importer = NULL |
static PyObject * | importerModule = NULL |
EmbeddedPython::EmbeddedPython | ( | const char * | filename, |
const char * | abspath, | ||
const char * | modpath, | ||
const uint8_t * | code, | ||
int | zlen, | ||
int | len | ||
) |
bool EmbeddedPython::addModule | ( | ) | const |
PyObject * EmbeddedPython::getCode | ( | ) | const |
|
static |
Definition at line 91 of file init.cc.
Referenced by EmbeddedPython(), and initAll().
|
static |
Definition at line 133 of file init.cc.
References code, getCode(), getList(), ArmISA::i, importer, importerModule, and PyCC.
Referenced by initM5Python().
const char* EmbeddedPython::abspath |
Definition at line 65 of file init.hh.
Referenced by addModule().
const uint8_t* EmbeddedPython::code |
Definition at line 67 of file init.hh.
Referenced by addModule(), getCode(), and initAll().
const char* EmbeddedPython::filename |
Definition at line 64 of file init.hh.
Referenced by addModule().
|
static |
Definition at line 77 of file init.hh.
Referenced by EmbeddedPython(), and initAll().
|
static |
Definition at line 78 of file init.hh.
Referenced by addModule(), and initAll().
const char* EmbeddedPython::modpath |
Definition at line 66 of file init.hh.
Referenced by addModule().