gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::VirtIO9PSocket::SocketDataEvent Class Reference
Inheritance diagram for gem5::VirtIO9PSocket::SocketDataEvent:
gem5::PollEvent gem5::Serializable

Public Member Functions

 SocketDataEvent (VirtIO9PSocket &_parent, int fd, int event)
 
virtual ~SocketDataEvent ()
 
void process (int revent)
 
- Public Member Functions inherited from gem5::PollEvent
 PollEvent (int fd, int event)
 
virtual ~PollEvent ()
 
bool queued ()
 
void serialize (CheckpointOut &cp) const override
 Serialize an object.
 
void unserialize (CheckpointIn &cp) override
 Unserialize an object.
 
void disable ()
 
void enable ()
 
- Public Member Functions inherited from gem5::Serializable
 Serializable ()
 
virtual ~Serializable ()
 
void serializeSection (CheckpointOut &cp, const char *name) const
 Serialize an object into a new section.
 
void serializeSection (CheckpointOut &cp, const std::string &name) const
 
void unserializeSection (CheckpointIn &cp, const char *name)
 Unserialize an a child object.
 
void unserializeSection (CheckpointIn &cp, const std::string &name)
 

Private Attributes

VirtIO9PSocketparent
 

Additional Inherited Members

- Static Public Member Functions inherited from gem5::Serializable
static const std::string & currentSection ()
 Gets the fully-qualified name of the active section.
 
static void generateCheckpointOut (const std::string &cpt_dir, std::ofstream &outstream)
 Generate a checkpoint file so that the serialization can be routed to it.
 
- Protected Attributes inherited from gem5::PollEvent
pollfd pfd
 
PollQueuequeue
 
bool enabled
 

Detailed Description

Definition at line 371 of file fs9p.hh.

Constructor & Destructor Documentation

◆ SocketDataEvent()

gem5::VirtIO9PSocket::SocketDataEvent::SocketDataEvent ( VirtIO9PSocket & _parent,
int fd,
int event )
inline

Definition at line 374 of file fs9p.hh.

◆ ~SocketDataEvent()

virtual gem5::VirtIO9PSocket::SocketDataEvent::~SocketDataEvent ( )
inlinevirtual

Definition at line 377 of file fs9p.hh.

Member Function Documentation

◆ process()

void gem5::VirtIO9PSocket::SocketDataEvent::process ( int revent)
virtual

Implements gem5::PollEvent.

Definition at line 557 of file fs9p.cc.

References parent, and gem5::VirtIO9PProxy::serverDataReady().

Member Data Documentation

◆ parent

VirtIO9PSocket& gem5::VirtIO9PSocket::SocketDataEvent::parent
private

Definition at line 382 of file fs9p.hh.

Referenced by process().


The documentation for this class was generated from the following files:

Generated on Tue Jun 18 2024 16:24:15 for gem5 by doxygen 1.11.0