Hello Nikos Nikoleris,
I'd like you to reexamine a change. Please visit
https://gem5-review.googlesource.com/2326
to look at the new patch set (#2).
Change subject: dev: Add a MMIO transport interface for VirtIO
......................................................................
dev: Add a MMIO transport interface for VirtIO
Add an implementation of the VirtIO MMIO transport interface. Due to
the way gem5 handles interrupts, each architecture needs its own
specialization of this class to implement interrupts.
An architecture-specific implementation needs to provide an
implementation of these methods:
void raiseInterrupt();
void clearInterrupt();
The MMIO interface currently only supports a subset of version 0.9.5
of the VirtIO specification. It has the following known limitations:
* The queue size hint (the QUEUE_NUM register) is ignored.
* Queue alignment is assumed to be hard-coded to
VirtQueue::ALIGN_SIZE (4096 bytes).
* Only 4096 byte pages are currently supported.
Change-Id: Ifd318f5e5bddab0b6a42d8c8af9ff2fbb477f98b
Signed-off-by: Andreas Sandberg <[email protected]>
Reviewed-by: Nikos Nikoleris <[email protected]>
Reviewed-by: Rekai Gonzalez Alberquilla <[email protected]>
---
M src/dev/virtio/SConscript
M src/dev/virtio/VirtIO.py
A src/dev/virtio/mmio.cc
A src/dev/virtio/mmio.hh
4 files changed, 409 insertions(+), 2 deletions(-)
--
To view, visit https://gem5-review.googlesource.com/2326
To unsubscribe, visit https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ifd318f5e5bddab0b6a42d8c8af9ff2fbb477f98b
Gerrit-Change-Number: 2326
Gerrit-PatchSet: 2
Gerrit-Owner: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Nikos Nikoleris <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev