Transaction-Level Modeling Framework for Space Applications
#include <exception>
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <string>
#include "core/common/trapgen/utils/customExceptions.hpp"
Namespaces | |
trap | |
Macros | |
#define | __PRETTY_FUNCTION__ "NONAME" |
#define | MAKE_STRING(msg) (((std::ostringstream &)((std::ostringstream() << '\x0') << msg)).str().substr(1)) |
#define | THROW_EXCEPTION(msg) |
#define | THROW_ERROR(msg) |
Functions | |
void | trap::throw_exception_helper (std::string message) |
void | trap::throw_error_helper (std::string message) |
#define __PRETTY_FUNCTION__ "NONAME" |
#define MAKE_STRING | ( | msg | ) | (((std::ostringstream &)((std::ostringstream() << '\x0') << msg)).str().substr(1)) |
#define THROW_ERROR | ( | msg | ) |
Referenced by trap::ExecLoader::getDataStart(), trap::ExecLoader::getProgData(), trap::ExecLoader::getProgDim(), trap::ExecLoader::getProgStart(), trap::GDBConnectionManager::initialize(), leon3_funclt_trap::LocalMemory::read_byte(), leon3_funclt_trap::LocalMemory::read_byte_dbg(), leon3_funclt_trap::LocalMemory::read_dword(), leon3_funclt_trap::LocalMemory::read_dword_dbg(), leon3_funclt_trap::LocalMemory::read_half(), leon3_funclt_trap::LocalMemory::read_half_dbg(), leon3_funclt_trap::LocalMemory::read_word(), leon3_funclt_trap::LocalMemory::read_word_dbg(), trap::ABIIf< unsigned int >::readFP(), trap::ABIIf< unsigned int >::readLR(), trap::ABIIf< unsigned int >::readSP(), trap::ABIIf< unsigned int >::setFP(), trap::ABIIf< unsigned int >::setLR(), trap::ABIIf< unsigned int >::setSP(), leon3_funclt_trap::LocalMemory::write_byte(), trap::MemoryLT< N_INITIATORS, sockSize >::write_byte_dbg(), leon3_funclt_trap::LocalMemory::write_byte_dbg(), trap::MemoryAT< N_INITIATORS, sockSize >::write_byte_dbg(), leon3_funclt_trap::LocalMemory::write_dword(), leon3_funclt_trap::LocalMemory::write_dword_dbg(), leon3_funclt_trap::LocalMemory::write_half(), leon3_funclt_trap::LocalMemory::write_half_dbg(), leon3_funclt_trap::LocalMemory::write_word(), and leon3_funclt_trap::LocalMemory::write_word_dbg().
#define THROW_EXCEPTION | ( | msg | ) |
Referenced by trap::PINTarget< sockSize >::b_transport(), leon3_funclt_trap::InvalidInstr::behavior(), leon3_funclt_trap::RETT_imm::behavior(), leon3_funclt_trap::RETT_reg::behavior(), IrqGenerator::callbackMethod(), trap::ExecLoader::ExecLoader(), getCycleRange(), trap::OSEmulator< issueWidth >::initSysCalls(), trap::GDBStub< unsigned int >::notifyAddress(), closeIntrinsic< wordSize >::operator()(), trap::closeSysCall< wordSize >::operator()(), readIntrinsic< wordSize >::operator()(), trap::readSysCall< wordSize >::operator()(), writeIntrinsic< wordSize >::operator()(), trap::writeSysCall< wordSize >::operator()(), lseekIntrinsic< wordSize >::operator()(), fstatIntrinsic< wordSize >::operator()(), trap::lseekSysCall< wordSize >::operator()(), trap::fstatSysCall< wordSize >::operator()(), dupIntrinsic< wordSize >::operator()(), dup2Intrinsic< wordSize >::operator()(), trap::dupSysCall< wordSize >::operator()(), trap::dup2SysCall< wordSize >::operator()(), killIntrinsic< wordSize >::operator()(), trap::killSysCall< wordSize >::operator()(), leon3_funclt_trap::Instruction::RaiseException(), trap::PINTarget< sockSize >::readPIN(), leon3_funclt_trap::LEON3_ABIIf::setArgs(), leon3_funclt_trap::LEON3_ABIIf::setGDBReg(), and leon3_funclt_trap::RegisterBankClass::setNewRegister().