Transaction-Level Modeling Framework for Space Applications
#include <ABIIf.hpp>
Public Member Functions | |
bool | matchEndian () const throw () |
virtual void | preCall () throw () |
virtual void | postCall () throw () |
virtual void | returnFromCall () throw () |
virtual int | getProcessorID () const throw () |
virtual bool | isInstrExecuting () const =0 throw () |
virtual void | waitInstrEnd () const =0 throw () |
virtual bool | isLittleEndian () const =0 throw () |
virtual regWidth | readLR () const throw () |
virtual void | setLR (const regWidth &newValue) throw () |
virtual regWidth | readPC () const =0 throw () |
virtual void | setPC (const regWidth &newValue)=0 throw () |
virtual regWidth | readSP () const throw () |
virtual void | setSP (const regWidth &newValue) throw () |
virtual regWidth | readFP () const throw () |
virtual void | setFP (const regWidth &newValue) throw () |
virtual regWidth | readRetVal () const =0 throw () |
virtual void | setRetVal (const regWidth &newValue)=0 throw () |
virtual std::vector< regWidth > | readArgs () const =0 throw () |
virtual unsigned int | nGDBRegs () const =0 throw () |
virtual void | setArgs (const std::vector< regWidth > &args)=0 throw () |
virtual regWidth | readGDBReg (const unsigned int &gdbId) const =0 throw () |
virtual void | setGDBReg (const regWidth &newValue, const unsigned int &gdbId)=0 throw () |
virtual regWidth | readMem (const regWidth &address)=0 |
virtual unsigned char | readCharMem (const regWidth &address)=0 |
virtual void | writeMem (const regWidth &address, regWidth datum)=0 |
virtual void | writeCharMem (const regWidth &address, unsigned char datum)=0 |
virtual regWidth | getCodeLimit ()=0 |
virtual bool | isRoutineEntry (const InstructionBase *instr)=0 throw () |
virtual bool | isRoutineExit (const InstructionBase *instr)=0 throw () |
virtual unsigned char * | getState () const =0 throw () |
virtual void | setState (unsigned char *state)=0 throw () |
virtual void | setExitValue (unsigned int value)=0 throw () |
virtual unsigned int | getExitValue ()=0 throw () |
virtual | ~ABIIf () |
|
inlinevirtual |
|
pure virtual |
Implemented in leon3_funclt_trap::LEON3_ABIIf.
Referenced by trap::OSEmulator< issueWidth >::initSysCalls(), and IntrinsicManager< unsigned int >::IntrinsicManager().
|
pure virtual |
Implemented in leon3_funclt_trap::LEON3_ABIIf.
|
inlinevirtual |
Reimplemented in leon3_funclt_trap::LEON3_ABIIf.
|
pure virtual |
Implemented in leon3_funclt_trap::LEON3_ABIIf.
|
pure virtual |
Implemented in leon3_funclt_trap::LEON3_ABIIf.
|
pure virtual |
Implemented in leon3_funclt_trap::LEON3_ABIIf.
Referenced by trap::ABIIf< unsigned int >::matchEndian().
|
pure virtual |
Implemented in leon3_funclt_trap::LEON3_ABIIf.
|
pure virtual |
Implemented in leon3_funclt_trap::LEON3_ABIIf.
|
inline |
|
pure virtual |
Implemented in leon3_funclt_trap::LEON3_ABIIf.
|
inlinevirtual |
Reimplemented in leon3_funclt_trap::LEON3_ABIIf.
Referenced by trap::openSysCall< wordSize >::operator()(), trap::creatSysCall< wordSize >::operator()(), trap::closeSysCall< wordSize >::operator()(), trap::readSysCall< wordSize >::operator()(), trap::writeSysCall< wordSize >::operator()(), trap::isattySysCall< wordSize >::operator()(), trap::sbrkSysCall< wordSize >::operator()(), trap::lseekSysCall< wordSize >::operator()(), trap::fstatSysCall< wordSize >::operator()(), trap::statSysCall< wordSize >::operator()(), trap::timesSysCall< wordSize >::operator()(), trap::timeSysCall< wordSize >::operator()(), trap::randomSysCall< wordSize >::operator()(), trap::utimesSysCall< wordSize >::operator()(), trap::lstatSysCall< wordSize >::operator()(), trap::getpidSysCall< wordSize >::operator()(), trap::chmodSysCall< wordSize >::operator()(), trap::dupSysCall< wordSize >::operator()(), trap::dup2SysCall< wordSize >::operator()(), trap::getenvSysCall< wordSize >::operator()(), trap::gettimeofdaySysCall< wordSize >::operator()(), trap::errorSysCall< wordSize >::operator()(), trap::chownSysCall< wordSize >::operator()(), trap::unlinkSysCall< wordSize >::operator()(), trap::usleepSysCall< wordSize >::operator()(), trap::mainSysCall< wordSize >::operator()(), and trap::sysconfSysCall< wordSize >::operator()().
|
inlinevirtual |
Reimplemented in leon3_funclt_trap::LEON3_ABIIf.
Referenced by trap::openSysCall< wordSize >::operator()(), trap::creatSysCall< wordSize >::operator()(), trap::closeSysCall< wordSize >::operator()(), trap::readSysCall< wordSize >::operator()(), trap::writeSysCall< wordSize >::operator()(), trap::isattySysCall< wordSize >::operator()(), trap::sbrkSysCall< wordSize >::operator()(), trap::lseekSysCall< wordSize >::operator()(), trap::fstatSysCall< wordSize >::operator()(), trap::statSysCall< wordSize >::operator()(), trap::_exitSysCall< wordSize >::operator()(), trap::timesSysCall< wordSize >::operator()(), trap::timeSysCall< wordSize >::operator()(), trap::randomSysCall< wordSize >::operator()(), trap::utimesSysCall< wordSize >::operator()(), trap::lstatSysCall< wordSize >::operator()(), trap::getpidSysCall< wordSize >::operator()(), trap::chmodSysCall< wordSize >::operator()(), trap::dupSysCall< wordSize >::operator()(), trap::dup2SysCall< wordSize >::operator()(), trap::getenvSysCall< wordSize >::operator()(), trap::gettimeofdaySysCall< wordSize >::operator()(), trap::errorSysCall< wordSize >::operator()(), trap::chownSysCall< wordSize >::operator()(), trap::unlinkSysCall< wordSize >::operator()(), trap::usleepSysCall< wordSize >::operator()(), trap::mainSysCall< wordSize >::operator()(), and trap::sysconfSysCall< wordSize >::operator()().
|
pure virtual |
Implemented in leon3_funclt_trap::LEON3_ABIIf.
Referenced by trap::openSysCall< wordSize >::operator()(), trap::creatSysCall< wordSize >::operator()(), trap::closeSysCall< wordSize >::operator()(), trap::readSysCall< wordSize >::operator()(), trap::writeSysCall< wordSize >::operator()(), trap::isattySysCall< wordSize >::operator()(), trap::sbrkSysCall< wordSize >::operator()(), trap::lseekSysCall< wordSize >::operator()(), trap::fstatSysCall< wordSize >::operator()(), trap::statSysCall< wordSize >::operator()(), trap::_exitSysCall< wordSize >::operator()(), trap::timesSysCall< wordSize >::operator()(), trap::timeSysCall< wordSize >::operator()(), trap::utimesSysCall< wordSize >::operator()(), trap::lstatSysCall< wordSize >::operator()(), trap::chmodSysCall< wordSize >::operator()(), trap::dupSysCall< wordSize >::operator()(), trap::dup2SysCall< wordSize >::operator()(), trap::getenvSysCall< wordSize >::operator()(), trap::gettimeofdaySysCall< wordSize >::operator()(), trap::errorSysCall< wordSize >::operator()(), trap::chownSysCall< wordSize >::operator()(), trap::unlinkSysCall< wordSize >::operator()(), trap::mainSysCall< wordSize >::operator()(), and trap::sysconfSysCall< wordSize >::operator()().
|
pure virtual |
Implemented in leon3_funclt_trap::LEON3_ABIIf.
Referenced by trap::openSysCall< wordSize >::operator()(), trap::creatSysCall< wordSize >::operator()(), trap::writeSysCall< wordSize >::operator()(), trap::statSysCall< wordSize >::operator()(), trap::utimesSysCall< wordSize >::operator()(), trap::lstatSysCall< wordSize >::operator()(), trap::chmodSysCall< wordSize >::operator()(), trap::getenvSysCall< wordSize >::operator()(), trap::chownSysCall< wordSize >::operator()(), and trap::unlinkSysCall< wordSize >::operator()().
|
inlinevirtual |
Reimplemented in leon3_funclt_trap::LEON3_ABIIf.
|
pure virtual |
Implemented in leon3_funclt_trap::LEON3_ABIIf.
|
inlinevirtual |
Reimplemented in leon3_funclt_trap::LEON3_ABIIf.
Referenced by trap::ABIIf< unsigned int >::returnFromCall().
|
pure virtual |
Implemented in leon3_funclt_trap::LEON3_ABIIf.
Referenced by trap::sbrkSysCall< wordSize >::operator()(), and trap::utimesSysCall< wordSize >::operator()().
|
pure virtual |
Implemented in leon3_funclt_trap::LEON3_ABIIf.
|
pure virtual |
Implemented in leon3_funclt_trap::LEON3_ABIIf.
|
inlinevirtual |
Reimplemented in leon3_funclt_trap::LEON3_ABIIf.
|
inlinevirtual |
Reimplemented in leon3_funclt_trap::LEON3_ABIIf.
Referenced by trap::openSysCall< wordSize >::operator()(), trap::creatSysCall< wordSize >::operator()(), trap::closeSysCall< wordSize >::operator()(), trap::readSysCall< wordSize >::operator()(), trap::writeSysCall< wordSize >::operator()(), trap::isattySysCall< wordSize >::operator()(), trap::sbrkSysCall< wordSize >::operator()(), trap::lseekSysCall< wordSize >::operator()(), trap::fstatSysCall< wordSize >::operator()(), trap::statSysCall< wordSize >::operator()(), trap::timesSysCall< wordSize >::operator()(), trap::timeSysCall< wordSize >::operator()(), trap::randomSysCall< wordSize >::operator()(), trap::utimesSysCall< wordSize >::operator()(), trap::lstatSysCall< wordSize >::operator()(), trap::getpidSysCall< wordSize >::operator()(), trap::chmodSysCall< wordSize >::operator()(), trap::dupSysCall< wordSize >::operator()(), trap::dup2SysCall< wordSize >::operator()(), trap::getenvSysCall< wordSize >::operator()(), trap::gettimeofdaySysCall< wordSize >::operator()(), trap::errorSysCall< wordSize >::operator()(), trap::chownSysCall< wordSize >::operator()(), trap::unlinkSysCall< wordSize >::operator()(), trap::usleepSysCall< wordSize >::operator()(), and trap::sysconfSysCall< wordSize >::operator()().
|
pure virtual |
Implemented in leon3_funclt_trap::LEON3_ABIIf.
Referenced by trap::mainSysCall< wordSize >::operator()().
|
pure virtual |
Implemented in leon3_funclt_trap::LEON3_ABIIf.
|
inlinevirtual |
Reimplemented in leon3_funclt_trap::LEON3_ABIIf.
|
pure virtual |
Implemented in leon3_funclt_trap::LEON3_ABIIf.
|
inlinevirtual |
Reimplemented in leon3_funclt_trap::LEON3_ABIIf.
|
pure virtual |
Implemented in leon3_funclt_trap::LEON3_ABIIf.
Referenced by trap::ABIIf< unsigned int >::returnFromCall().
|
pure virtual |
Implemented in leon3_funclt_trap::LEON3_ABIIf.
Referenced by trap::openSysCall< wordSize >::operator()(), trap::creatSysCall< wordSize >::operator()(), trap::closeSysCall< wordSize >::operator()(), trap::readSysCall< wordSize >::operator()(), trap::writeSysCall< wordSize >::operator()(), trap::isattySysCall< wordSize >::operator()(), trap::sbrkSysCall< wordSize >::operator()(), trap::lseekSysCall< wordSize >::operator()(), trap::fstatSysCall< wordSize >::operator()(), trap::statSysCall< wordSize >::operator()(), trap::timesSysCall< wordSize >::operator()(), trap::timeSysCall< wordSize >::operator()(), trap::randomSysCall< wordSize >::operator()(), trap::utimesSysCall< wordSize >::operator()(), trap::lstatSysCall< wordSize >::operator()(), trap::getpidSysCall< wordSize >::operator()(), trap::chmodSysCall< wordSize >::operator()(), trap::dupSysCall< wordSize >::operator()(), trap::dup2SysCall< wordSize >::operator()(), trap::getenvSysCall< wordSize >::operator()(), trap::gettimeofdaySysCall< wordSize >::operator()(), trap::errorSysCall< wordSize >::operator()(), trap::chownSysCall< wordSize >::operator()(), trap::unlinkSysCall< wordSize >::operator()(), and trap::sysconfSysCall< wordSize >::operator()().
|
inlinevirtual |
Reimplemented in leon3_funclt_trap::LEON3_ABIIf.
|
pure virtual |
Implemented in leon3_funclt_trap::LEON3_ABIIf.
|
pure virtual |
Implemented in leon3_funclt_trap::LEON3_ABIIf.
|
pure virtual |
|
pure virtual |
Implemented in leon3_funclt_trap::LEON3_ABIIf.
Referenced by trap::fstatSysCall< wordSize >::operator()(), trap::statSysCall< wordSize >::operator()(), trap::timesSysCall< wordSize >::operator()(), trap::timeSysCall< wordSize >::operator()(), trap::lstatSysCall< wordSize >::operator()(), trap::gettimeofdaySysCall< wordSize >::operator()(), and trap::mainSysCall< wordSize >::operator()().