39#ifndef __DEV_ARM_VIO_MMIO_HH__
40#define __DEV_ARM_VIO_MMIO_HH__
49struct RiscvMmioVirtIOParams;
99 static const uint32_t
MAGIC = 0x74726976;
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
const Params & params() const
MmioVirtIO(const RiscvMmioVirtIOParams ¶ms)
@ OFF_GUEST_FEATURES_SELECT
@ OFF_HOST_FEATURES_SELECT
static const uint32_t MAGIC
Tick read(PacketPtr pkt) override
Pure virtual function that the device must implement.
static const uint32_t VERSION
uint32_t guestFeaturesSelect
uint32_t hostFeaturesSelect
static const uint32_t VENDOR_ID
void setInterrupts(uint32_t value)
Tick write(PacketPtr pkt) override
Pure virtual function that the device must implement.
Base class for all VirtIO-based devices.
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.