gem5
|
Port object definitions. More...
#include "mem/fs_translating_port_proxy.hh"
#include "arch/vtophys.hh"
#include "base/chunk_generator.hh"
#include "cpu/base.hh"
#include "cpu/thread_context.hh"
#include "sim/system.hh"
Go to the source code of this file.
Functions | |
void | CopyOut (ThreadContext *tc, void *dest, Addr src, size_t cplen) |
void | CopyIn (ThreadContext *tc, Addr dest, const void *source, size_t cplen) |
void | CopyStringOut (ThreadContext *tc, char *dst, Addr vaddr, size_t maxlen) |
void | CopyStringIn (ThreadContext *tc, const char *src, Addr vaddr) |
Port object definitions.
Definition in file fs_translating_port_proxy.cc.
void CopyIn | ( | ThreadContext * | tc, |
Addr | dest, | ||
const void * | source, | ||
size_t | cplen | ||
) |
Definition at line 133 of file fs_translating_port_proxy.cc.
References ThreadContext::getVirtProxy(), and FSTranslatingPortProxy::writeBlob().
Referenced by PseudoInst::readfile().
void CopyOut | ( | ThreadContext * | tc, |
void * | dest, | ||
Addr | src, | ||
size_t | cplen | ||
) |
Definition at line 126 of file fs_translating_port_proxy.cc.
References ThreadContext::getVirtProxy(), and FSTranslatingPortProxy::readBlob().
Referenced by Linux::ThreadInfo::curTaskInfo(), Linux::ThreadInfo::curTaskMm(), Linux::ThreadInfo::curTaskPID(), Linux::ThreadInfo::curTaskStart(), Linux::ThreadInfo::curTaskTGID(), MipsISA::StackTrace::decodePrologue(), X86ISA::StackTrace::decodePrologue(), AlphaISA::StackTrace::decodePrologue(), Linux::ThreadInfo::get_data(), Arguments::operator T *(), and PseudoInst::writefile().
void CopyStringIn | ( | ThreadContext * | tc, |
const char * | src, | ||
Addr | vaddr | ||
) |
Definition at line 158 of file fs_translating_port_proxy.cc.
References ChunkGenerator::done(), ThreadContext::getVirtProxy(), AlphaISA::PageBytes, and FSTranslatingPortProxy::writeBlob().
void CopyStringOut | ( | ThreadContext * | tc, |
char * | dst, | ||
Addr | vaddr, | ||
size_t | maxlen | ||
) |
Definition at line 140 of file fs_translating_port_proxy.cc.
References ThreadContext::getVirtProxy(), and FSTranslatingPortProxy::readBlob().
Referenced by PseudoInst::addsymbol(), Linux::ThreadInfo::curTaskName(), MipsISA::ProcessInfo::name(), X86ISA::ProcessInfo::name(), ArmISA::ProcessInfo::name(), AlphaISA::ProcessInfo::name(), Arguments::operator char *(), and PseudoInst::writefile().