gem5
v20.1.0.0
|
#include <map>
#include <memory>
#include <string>
#include "base/pollevent.hh"
#include "dev/virtio/base.hh"
Go to the source code of this file.
Classes | |
struct | P9MsgHeader |
class | VirtIO9PBase |
This class implements a VirtIO transport layer for the 9p network file system. More... | |
struct | VirtIO9PBase::Config |
VirtIO 9p configuration structure. More... | |
class | VirtIO9PBase::FSQueue |
Virtqueue for 9p requests. More... | |
class | VirtIO9PProxy |
VirtIO 9p proxy base class. More... | |
class | VirtIO9PDiod |
VirtIO 9p proxy that communicates with the diod 9p server using pipes. More... | |
class | VirtIO9PDiod::DiodDataEvent |
class | VirtIO9PSocket |
VirtIO 9p proxy that communicates with a 9p server over tcp sockets. More... | |
class | VirtIO9PSocket::SocketDataEvent |
Typedefs | |
typedef uint8_t | P9MsgType |
typedef uint16_t | P9Tag |
Functions | |
template<typename T > | |
T | p9toh (T v) |
Convert p9 byte order (LE) to host byte order. More... | |
template<typename T > | |
T | htop9 (T v) |
Convert host byte order to p9 byte order (LE) More... | |
template<> | |
P9MsgHeader | p9toh (P9MsgHeader v) |
template<> | |
P9MsgHeader | htop9 (P9MsgHeader v) |
Variables | |
struct P9MsgHeader | M5_ATTR_PACKED |
|
inline |
|
inline |
Convert host byte order to p9 byte order (LE)
Definition at line 68 of file fs9p.hh.
References htole(), and ArmISA::v.
Referenced by htop9(), VirtIO9PProxy::recvTMsg(), and VirtIO9PBase::sendRMsg().
|
inline |
|
inline |
Convert p9 byte order (LE) to host byte order.
Definition at line 64 of file fs9p.hh.
References letoh(), and ArmISA::v.
Referenced by VirtIO9PBase::FSQueue::onNotifyDescriptor(), p9toh(), and VirtIO9PProxy::serverDataReady().
struct P9MsgHeader M5_ATTR_PACKED |