gem5  v20.0.0.3
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();
}
}}
Bitfield< 4 > pc
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Definition: types.hh:140

Definition at line 61 of file nop.cc.

Referenced by Minor::Fetch2::evaluate(), SimpleThread::getDecoderPtr(), 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;
};
}}
decltype(nullptr) constexpr NoFault
Definition: types.hh:243
def format Nop(code, *opt_flags)
Definition: nop.cc:82
uint64_t ExtMachInst
Definition: types.hh:39
The ExecContext is an abstract base class the provides the interface used by the ISA to manipulate th...
Definition: exec_context.hh:70
Bitfield< 4 > pc
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Definition: types.hh:140
std::shared_ptr< FaultBase > Fault
Definition: types.hh:238

Definition at line 36 of file nop.cc.

Referenced by TCPIface::anyislistening(), BmpWriter::getCompleteHeader(), VirtIO9PBase::FSQueue::onNotifyDescriptor(), DistIface::packetOut(), VirtQueue::VirtRing< struct vring_used_elem >::read(), VirtQueue::VirtRing< struct vring_used_elem >::readHeader(), DistIface::recvThreadFunc(), DistIface::SyncNode::run(), DistIface::SyncSwitch::run(), VirtIO9PProxy::serverDataReady(), BmpWriter::write(), VirtQueue::VirtRing< struct vring_used_elem >::write(), and VirtQueue::VirtRing< struct vring_used_elem >::writeHeader().

◆ 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;
}
}}
decltype(nullptr) constexpr NoFault
Definition: types.hh:243
The ExecContext is an abstract base class the provides the interface used by the ISA to manipulate th...
Definition: exec_context.hh:70
std::shared_ptr< FaultBase > Fault
Definition: types.hh:238

Definition at line 72 of file nop.cc.

Referenced by Nop().


Generated on Fri Jul 3 2020 15:53:08 for gem5 by doxygen 1.8.13