Go to the documentation of this file.
38 #ifndef __DEV_VIRTIO_CONSOLE_HH__
39 #define __DEV_VIRTIO_CONSOLE_HH__
44 struct VirtIOConsoleParams;
153 #endif // __DEV_VIRTIO_CONSOLE_HH__
void onNotify()
Notify queue of pending events.
TermTransQueue qTrans
Transmit queue for port 0.
Base wrapper around a virtqueue.
TermRecvQueue(PortProxy &proxy, ByteOrder bo, uint16_t size, VirtIOConsole &_parent)
static const FeatureBits F_SIZE
Provides the size information.
void readConfig(PacketPtr pkt, Addr cfgOffset)
Read from the configuration space of a device.
static const FeatureBits F_MULTIPORT
Supports the multi-port interface.
Base class for all VirtIO-based devices.
uint16_t DeviceId
Device Type (sometimes known as subsystem ID)
VirtIOConsoleParams Params
virtual ~TermTransQueue()
struct VirtIOConsole::Config M5_ATTR_PACKED
TermTransQueue(PortProxy &proxy, ByteOrder bo, uint16_t size, VirtIOConsole &_parent)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
const Params * params() const
Virtqueue for data going from the guest to the host.
virtual const std::string name() const
Base class for serial devices such as terminals.
Console configuration structure.
This object is a proxy for a port or other object which implements the functional response protocol,...
static const DeviceId ID_CONSOLE
VirtIO device ID.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
VirtIOConsole(Params *params)
Config config
Currently active configuration (host byte order)
void onNotifyDescriptor(VirtDescriptor *desc)
Notify queue of pending incoming descriptor.
TermRecvQueue qRecv
Receive queue for port 0.
Virtqueue for data going from the host to the guest.
void trySend()
Try to send data pending data from the terminal.
VirtIO descriptor (chain) wrapper.
Generated on Wed Sep 30 2020 14:02:11 for gem5 by doxygen 1.8.17