40 #ifndef __DEV_VIRTIO_PCI_HH__
41 #define __DEV_VIRTIO_PCI_HH__
47 struct PciVirtIOParams;
89 #endif // __DEV_VIRTIO_PCI_HH__
Base class for all VirtIO-based devices.
PCI device, base implementation is only config space.
static const Addr OFF_DEVICE_FEATURES
Offsets into VirtIO header (BAR0 relative).
MakeCallback< PciVirtIO,&PciVirtIO::kick > callbackKick
Declaration of Statistics objects.
const Params * params() const
static const Addr OFF_QUEUE_ADDRESS
uint64_t Tick
Tick count type.
bool interruptDeliveryPending
Tick write(PacketPtr pkt)
Pure virtual function that the device must implement.
Tick read(PacketPtr pkt)
Pure virtual function that the device must implement.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
A Packet is used to encapsulate a transfer between two objects in the memory system (e...
static const Addr BAR0_SIZE_BASE
static const Addr OFF_GUEST_FEATURES
static const Addr OFF_DEVICE_STATUS
static const Addr OFF_QUEUE_NOTIFY
PciVirtIO(const Params *params)
static const Addr OFF_QUEUE_SELECT
static const Addr OFF_VIO_DEVICE
VirtIODeviceBase::QueueID queueNotify
static const Addr OFF_ISR_STATUS
static const Addr OFF_QUEUE_SIZE