Logo SoCRocket

Transaction-Level Modeling Framework for Space Applications

Public Member Functions | Public Attributes | Static Public Attributes | List of all members
trap::OSEmulatorBase Class Referenceabstract

#include <syscCallB.hpp>

Inheritance diagram for trap::OSEmulatorBase:
Collaboration diagram for trap::OSEmulatorBase:

Public Member Functions

virtual std::set< std::string > getRegisteredFunctions ()=0
 
void set_program_args (const std::vector< std::string > args)
 
void correct_flags (int &val)
 
void set_environ (const std::string name, const std::string value)
 
void set_sysconf (const std::string name, int value)
 
void reset ()
 

Public Attributes

std::map< std::string,
std::string > 
env
 
std::map< std::string, intsysconfmap
 
std::vector< std::string > programArgs
 
unsigned int heapPointer
 

Static Public Attributes

static std::vector< unsigned intgroupIDs
 
static unsigned int programsCount = 0
 

Member Function Documentation

void trap::OSEmulatorBase::correct_flags ( int val)
virtual std::set<std::string> trap::OSEmulatorBase::getRegisteredFunctions ( )
pure virtual
void trap::OSEmulatorBase::reset ( )

References trap::ELFFrontend::reset().

Here is the call graph for this function:

void trap::OSEmulatorBase::set_environ ( const std::string  name,
const std::string  value 
)

References core.waf.sparcelf::env, and setup::name.

Referenced by sc_main().

void trap::OSEmulatorBase::set_program_args ( const std::vector< std::string >  args)

References usi.shell::args().

Referenced by sc_main().

Here is the call graph for this function:

void trap::OSEmulatorBase::set_sysconf ( const std::string  name,
int  value 
)

References setup::name.

Referenced by sc_main().

Member Data Documentation

std::map<std::string, std::string> trap::OSEmulatorBase::env
std::vector< unsigned int > trap::OSEmulatorBase::groupIDs
static
unsigned int trap::OSEmulatorBase::heapPointer
std::vector<std::string> trap::OSEmulatorBase::programArgs
unsigned int trap::OSEmulatorBase::programsCount = 0
static
std::map<std::string, int> trap::OSEmulatorBase::sysconfmap

The documentation for this class was generated from the following files: