gem5
|
#include <pollevent.hh>
Public Member Functions | |
PollQueue () | |
~PollQueue () | |
void | copy () |
void | remove (PollEvent *event) |
void | schedule (PollEvent *event) |
void | service () |
Static Public Member Functions | |
static void | setupAsyncIO (int fd, bool set) |
Private Types | |
typedef std::vector< PollEvent * > | eventvec_t |
Private Attributes | |
eventvec_t | events |
pollfd * | poll_fds |
int | max_size |
int | num_fds |
Definition at line 67 of file pollevent.hh.
|
private |
Definition at line 70 of file pollevent.hh.
PollQueue::PollQueue | ( | ) |
Definition at line 111 of file pollevent.cc.
PollQueue::~PollQueue | ( | ) |
Definition at line 115 of file pollevent.cc.
References ArmISA::fd, ArmISA::i, num_fds, poll_fds, and setupAsyncIO().
void PollQueue::copy | ( | ) |
Definition at line 124 of file pollevent.cc.
References events, ArmISA::i, num_fds, and poll_fds.
Referenced by PollEvent::disable(), PollEvent::enable(), remove(), and schedule().
void PollQueue::remove | ( | PollEvent * | event | ) |
Definition at line 139 of file pollevent.cc.
References copy(), events, ArmISA::i, and panic.
Referenced by Terminal::detach(), VncServer::detach(), BaseRemoteGDB::detach(), and PollEvent::~PollEvent().
void PollQueue::schedule | ( | PollEvent * | event | ) |
Definition at line 159 of file pollevent.cc.
References copy(), events, max_size, num_fds, panic, PollEvent::pfd, poll_fds, PollEvent::queue, and setupAsyncIO().
Referenced by Terminal::accept(), VncServer::accept(), BaseRemoteGDB::attach(), Terminal::listen(), VncServer::listen(), TapListener::listen(), GDBListener::listen(), EtherTapBase::pollFd(), VirtIO9PDiod::startup(), VirtIO9PSocket::startup(), and EtherTapBase::unserialize().
void PollQueue::service | ( | ) |
Definition at line 186 of file pollevent.cc.
References events, ArmISA::i, num_fds, and poll_fds.
Referenced by doSimLoop().
|
static |
Definition at line 204 of file pollevent.cc.
References async_event, async_io, getEventQueue(), panic, and EventQueue::wakeup().
Referenced by schedule(), and ~PollQueue().
|
private |
Definition at line 71 of file pollevent.hh.
Referenced by copy(), remove(), schedule(), and service().
|
private |
Definition at line 74 of file pollevent.hh.
Referenced by schedule().
|
private |
Definition at line 75 of file pollevent.hh.
Referenced by copy(), schedule(), service(), and ~PollQueue().
|
private |
Definition at line 73 of file pollevent.hh.
Referenced by copy(), schedule(), service(), and ~PollQueue().