38#ifndef __DEV_VIRTIO_PCI_HH__
39#define __DEV_VIRTIO_PCI_HH__
48struct PciVirtIOParams;
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
PCI device, base implementation is only config space.
static const Addr OFF_GUEST_FEATURES
Tick read(PacketPtr pkt)
Pure virtual function that the device must implement.
Tick write(PacketPtr pkt)
Pure virtual function that the device must implement.
static const Addr OFF_DEVICE_FEATURES
Offsets into VirtIO header (BAR0 relative).
static const Addr OFF_QUEUE_SELECT
static const Addr OFF_QUEUE_NOTIFY
static const Addr OFF_QUEUE_ADDRESS
PciVirtIO(const Params ¶ms)
static const Addr OFF_VIO_DEVICE
static const Addr BAR0_SIZE_BASE
bool interruptDeliveryPending
static const Addr OFF_QUEUE_SIZE
static const Addr OFF_DEVICE_STATUS
static const Addr OFF_ISR_STATUS
VirtIODeviceBase::QueueID queueNotify
Base class for all VirtIO-based devices.
const Params & params() const
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
uint64_t Tick
Tick count type.
Declaration of Statistics objects.