gem5  v20.1.0.0
Namespaces | Functions | Variables
pseudo_inst.cc File Reference
#include "sim/pseudo_inst.hh"
#include <fcntl.h>
#include <unistd.h>
#include <array>
#include <cerrno>
#include <fstream>
#include <string>
#include <vector>
#include "base/debug.hh"
#include "base/output.hh"
#include "config/the_isa.hh"
#include "cpu/base.hh"
#include "cpu/thread_context.hh"
#include "debug/Loader.hh"
#include "debug/Quiesce.hh"
#include "debug/WorkItems.hh"
#include "dev/net/dist_iface.hh"
#include "params/BaseCPU.hh"
#include "sim/full_system.hh"
#include "sim/process.hh"
#include "sim/serialize.hh"
#include "sim/sim_events.hh"
#include "sim/sim_exit.hh"
#include "sim/stat_control.hh"
#include "sim/stats.hh"
#include "sim/system.hh"

Go to the source code of this file.

Namespaces

 PseudoInst
 
 PseudoInst::InitParamKey
 Unique keys to retrieve various params by the initParam pseudo inst.
 

Functions

static void PseudoInst::panicFsOnlyPseudoInst (const char *name)
 
void PseudoInst::arm (ThreadContext *tc)
 
void PseudoInst::quiesce (ThreadContext *tc)
 
void PseudoInst::quiesceSkip (ThreadContext *tc)
 
void PseudoInst::quiesceNs (ThreadContext *tc, uint64_t ns)
 
void PseudoInst::quiesceCycles (ThreadContext *tc, uint64_t cycles)
 
uint64_t PseudoInst::quiesceTime (ThreadContext *tc)
 
uint64_t PseudoInst::rpns (ThreadContext *tc)
 
void PseudoInst::wakeCPU (ThreadContext *tc, uint64_t cpuid)
 
void PseudoInst::m5exit (ThreadContext *tc, Tick delay)
 
uint64_t PseudoInst::m5sum (ThreadContext *tc, uint64_t a, uint64_t b, uint64_t c, uint64_t d, uint64_t e, uint64_t f)
 
void PseudoInst::m5fail (ThreadContext *tc, Tick delay, uint64_t code)
 
void PseudoInst::loadsymbol (ThreadContext *tc)
 
void PseudoInst::addsymbol (ThreadContext *tc, Addr addr, Addr symbolAddr)
 
uint64_t PseudoInst::initParam (ThreadContext *tc, uint64_t key_str1, uint64_t key_str2)
 
void PseudoInst::resetstats (ThreadContext *tc, Tick delay, Tick period)
 
void PseudoInst::dumpstats (ThreadContext *tc, Tick delay, Tick period)
 
void PseudoInst::dumpresetstats (ThreadContext *tc, Tick delay, Tick period)
 
void PseudoInst::m5checkpoint (ThreadContext *tc, Tick delay, Tick period)
 
uint64_t PseudoInst::readfile (ThreadContext *tc, Addr vaddr, uint64_t len, uint64_t offset)
 
uint64_t PseudoInst::writefile (ThreadContext *tc, Addr vaddr, uint64_t len, uint64_t offset, Addr filename_addr)
 
void PseudoInst::debugbreak (ThreadContext *tc)
 
void PseudoInst::switchcpu (ThreadContext *tc)
 
void PseudoInst::m5Syscall (ThreadContext *tc)
 
void PseudoInst::togglesync (ThreadContext *tc)
 
void PseudoInst::workbegin (ThreadContext *tc, uint64_t workid, uint64_t threadid)
 
void PseudoInst::workend (ThreadContext *tc, uint64_t workid, uint64_t threadid)
 

Variables

const std::string PseudoInst::InitParamKey::DEFAULT = ""
 The default key (empty string) More...
 
const std::string PseudoInst::InitParamKey::DIST_RANK = "dist-rank"
 Unique key for "rank" param (distributed gem5 runs) More...
 
const std::string PseudoInst::InitParamKey::DIST_SIZE = "dist-size"
 Unique key for "size" param (distributed gem5 runs) More...
 

Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17