39#ifndef __DEV_VIRTIO_RNG_HH__
40#define __DEV_VIRTIO_RNG_HH__
49struct VirtIORngParams;
virtual std::string name() const
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
This object is a proxy for a port or other object which implements the functional response protocol,...
std::shared_ptr< Random > RandomPtr
static RandomPtr genRandom()
Base class for all VirtIO-based devices.
uint16_t DeviceId
Device Type (sometimes known as subsystem ID)
Virtqueue for data going from the host to the guest.
void onNotify()
Notify queue of pending events.
void trySend()
Try to send data pending data from the terminal.
RngQueue qReq
Receive queue for port 0.
void readConfig(PacketPtr pkt, Addr cfgOffset)
Read from the configuration space of a device.
static const DeviceId ID_RNG
VirtIO device ID.
Base wrapper around a virtqueue.
const Params & params() const
Copyright (c) 2024 Arm Limited All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.