diff options
author | Olivier Martin <olivier.martin@arm.com> | 2013-10-29 06:09:46 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-10-29 06:09:46 +0000 |
commit | 10b9b03794128d94038463e4867ac862f966901e (patch) | |
tree | 301c81a8fe4a0249d03b342f63ab0b73749102aa /OvmfPkg | |
parent | d092ba8e71fb3516ad4965ebf55aaa90692f3cd0 (diff) | |
download | edk2-10b9b03794128d94038463e4867ac862f966901e.tar.gz edk2-10b9b03794128d94038463e4867ac862f966901e.tar.bz2 edk2-10b9b03794128d94038463e4867ac862f966901e.zip |
OvmfPkg/Virtio.h: Added the Virtio Vendor and MMIO IDs
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14809 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg')
-rw-r--r-- | OvmfPkg/Include/IndustryStandard/Virtio.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OvmfPkg/Include/IndustryStandard/Virtio.h b/OvmfPkg/Include/IndustryStandard/Virtio.h index f1eb2ea120..9b97e6db2f 100644 --- a/OvmfPkg/Include/IndustryStandard/Virtio.h +++ b/OvmfPkg/Include/IndustryStandard/Virtio.h @@ -36,6 +36,13 @@ #define VIRTIO_SUBSYSTEM_MAC80211_WLAN 10
//
+// Virtio IDs
+//
+#define VIRTIO_VENDOR_ID 0x1AF4
+#define VIRTIO_MMIO_MAGIC 0x74726976 // "virt"
+
+
+//
// VirtIo Device Specific Configuration Offsets
//
#define VIRTIO_DEVICE_SPECIFIC_CONFIGURATION_OFFSET_PCI 20
|