38 #ifndef __DEV_ARM_VIO_MMIO_HH__ 39 #define __DEV_ARM_VIO_MMIO_HH__ 45 struct MmioVirtIOParams;
90 static const uint32_t
MAGIC = 0x74726976;
113 #endif // __DEV_ARM_VIO_MMIO_HH__ Base class for all VirtIO-based devices.
static const uint32_t MAGIC
static const uint32_t VERSION
Tick write(PacketPtr pkt) override
Pure virtual function that the device must implement.
ArmInterruptPin *const interrupt
MakeCallback< MmioVirtIO, &MmioVirtIO::kick > callbackKick
uint64_t Tick
Tick count type.
uint32_t guestFeaturesSelect
uint32_t hostFeaturesSelect
const Params * params() const
MmioVirtIO(const MmioVirtIOParams *params)
Tick read(PacketPtr pkt) override
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...
void setInterrupts(uint32_t value)
Generic representation of an Arm interrupt pin.
static const uint32_t VENDOR_ID