OvmfPkg/Virtio.h: Added VirtIo Subsystem IDs

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14741 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Olivier Martin 2013-09-30 08:56:50 +00:00 committed by oliviermartin
parent 24669084b6
commit a83dc3a475
1 changed files with 13 additions and 0 deletions

View File

@ -20,6 +20,19 @@
#include <Base.h> #include <Base.h>
//
// VirtIo Subsystem Device IDs
//
#define VIRTIO_SUBSYSTEM_NETWORK_CARD 1
#define VIRTIO_SUBSYSTEM_BLOCK_DEVICE 2
#define VIRTIO_SUBSYSTEM_CONSOLE 3
#define VIRTIO_SUBSYSTEM_ENTROPY_SOURCE 4
#define VIRTIO_SUBSYSTEM_MEMORY_BALLOONING 5
#define VIRTIO_SUBSYSTEM_IO_MEMORY 6
#define VIRTIO_SUBSYSTEM_RPMSG 7
#define VIRTIO_SUBSYSTEM_SCSI_HOST 8
#define VIRTIO_SUBSYSTEM_9P_TRANSPORT 9
#define VIRTIO_SUBSYSTEM_MAC80211_WLAN 10
// //
// Data in the communication area is defined as packed and accessed as // Data in the communication area is defined as packed and accessed as