diff options
author | Andreas Sandberg <Andreas.Sandberg@ARM.com> | 2014-09-20 17:17:51 -0400 |
---|---|---|
committer | Andreas Sandberg <Andreas.Sandberg@ARM.com> | 2014-09-20 17:17:51 -0400 |
commit | bf2c2183c6292e8052cdf47c743e0b63f248f6ab (patch) | |
tree | 1346c169af344351d7b8d5d33d8f5955ce7667b7 /src/mem/packet_queue.cc | |
parent | 0c5139310d634d6d366f4120d88deef66c9266af (diff) | |
download | gem5-bf2c2183c6292e8052cdf47c743e0b63f248f6ab.tar.xz |
dev, pci: Implement basic VirtIO support
This patch adds support for VirtIO over the PCI bus. It does so by
providing the following new SimObjects:
* VirtIODeviceBase - Abstract base class for VirtIO devices.
* PciVirtIO - VirtIO PCI transport interface.
A VirtIO device is hooked up to the guest system by adding a PciVirtIO
device to the PCI bus and connecting it to a VirtIO device using the
vio parameter.
New VirtIO devices should inherit from VirtIODevice base and
implementing one or more VirtQueues. The VirtQueues are usually
device-specific and all derive from the VirtQueue class. Queues must
be registered with the base class from the constructor since the
device assumes that the number of queues stay constant.
Diffstat (limited to 'src/mem/packet_queue.cc')
0 files changed, 0 insertions, 0 deletions