virtio: Add codes for virtual queue/ring management
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Mon, 15 Oct 2018 09:21:01 +0000 (02:21 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 14 Nov 2018 17:16:27 +0000 (09:16 -0800)
commitc011641ec4fcb61d1335f61b413117c1b7d83e5e
treefbe2ad2f529009817ee9e90c5fec12da5a473da9
parent8fb49b4c7a820461db7c11dce767f36fd6395cac
virtio: Add codes for virtual queue/ring management

This adds support for managing virtual queue/ring, the channel
for high performance I/O between host and guest.

Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/virtio/Makefile
drivers/virtio/virtio_ring.c [new file with mode: 0644]
include/virtio_ring.h [new file with mode: 0644]