gem5  v20.1.0.0
Functions | Variables
nop.cc File Reference

Go to the source code of this file.

Functions

def format Nop (code, *opt_flags)
 

Variables

def template NopExec
 
output header
 
output decoder
 
def template NopExecute
 

Function Documentation

◆ Nop()

def format Nop ( code  ,
opt_flags 
)

Variable Documentation

◆ decoder

output decoder
Initial value:
{{
std::string
Nop::generateDisassembly(
Addr pc, const Loader::SymbolTable *symtab) const
{
std::stringstream response;
printMnemonic(response, mnemonic);
return response.str();
}
}}

Definition at line 61 of file nop.cc.

Referenced by GenericISA::BasicDecodeCache::decode(), Minor::Fetch2::evaluate(), and BaseSimpleCPU::preExecute().

◆ header

output header
Initial value:
{{
class Nop : public SparcStaticInst
{
public:
Nop(const char *mnem, ExtMachInst _machInst, OpClass __opClass) :
SparcStaticInst(mnem, _machInst, __opClass)
{
flags[IsNop] = true;
}
execute(ExecContext *xc, Trace::InstRecord *traceData) const
{
return NoFault;
}
std::string generateDisassembly(Addr pc,
const Loader::SymbolTable *symtab) const override;
};
}}

Definition at line 36 of file nop.cc.

Referenced by VirtIO9PBase::dumpMsg(), BmpWriter::getCompleteHeader(), VirtIO9PBase::FSQueue::onNotifyDescriptor(), DistIface::packetOut(), TCPIface::recvHeader(), TCPIface::recvPacket(), DistIface::recvThreadFunc(), VirtIO9PProxy::recvTMsg(), DistIface::SyncNode::run(), DistIface::SyncSwitch::run(), TCPIface::sendCmd(), TCPIface::sendPacket(), VirtIO9PBase::sendRMsg(), VirtIO9PProxy::serverDataReady(), BmpWriter::write(), and X86ISA::FsWorkload::writeOutSMBiosTable().

◆ NopExec

def template NopExec
Initial value:
{{
}}

Definition at line 33 of file nop.cc.

◆ NopExecute

def template NopExecute
Initial value:
{{
Fault %(class_name)s::execute(ExecContext *xc,
Trace::InstRecord *traceData) const
{
return NoFault;
}
}}

Definition at line 72 of file nop.cc.

Referenced by Nop().

Loader::SymbolTable
Definition: symtab.hh:59
Trace::InstRecord
Definition: insttracer.hh:55
Nop
def format Nop(code, *opt_flags)
Definition: nop.cc:82
Fault
std::shared_ptr< FaultBase > Fault
Definition: types.hh:240
MipsISA::pc
Bitfield< 4 > pc
Definition: pra_constants.hh:240
ExecContext
The ExecContext is an abstract base class the provides the interface used by the ISA to manipulate th...
Definition: exec_context.hh:70
NoFault
constexpr decltype(nullptr) NoFault
Definition: types.hh:245
Addr
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Definition: types.hh:142
MipsISA::ExtMachInst
uint64_t ExtMachInst
Definition: types.hh:39

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