Revision: 14807
http://sourceforge.net/p/edk2/code/14807
Author: oliviermartin
Date: 2013-10-29 06:07:35 +0000 (Tue, 29 Oct 2013)
Log Message:
-----------
OvmfPkg/Virtio.h: Added the macros that define the Device Specific
Configuration Offset
The Device Specific Configuration region is located at different locations
for the VirtIo devices over PCI, PCI with MSI-X capability, MMIO.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Tested-by: Laszlo Ersek <[email protected]>
Modified Paths:
--------------
trunk/edk2/OvmfPkg/Include/IndustryStandard/Virtio.h
Modified: trunk/edk2/OvmfPkg/Include/IndustryStandard/Virtio.h
===================================================================
--- trunk/edk2/OvmfPkg/Include/IndustryStandard/Virtio.h 2013-10-29
06:02:46 UTC (rev 14806)
+++ trunk/edk2/OvmfPkg/Include/IndustryStandard/Virtio.h 2013-10-29
06:07:35 UTC (rev 14807)
@@ -35,6 +35,13 @@
#define VIRTIO_SUBSYSTEM_MAC80211_WLAN 10
//
+// VirtIo Device Specific Configuration Offsets
+//
+#define VIRTIO_DEVICE_SPECIFIC_CONFIGURATION_OFFSET_PCI 20
+#define VIRTIO_DEVICE_SPECIFIC_CONFIGURATION_OFFSET_PCI_WITH_MSI_X 24
+#define VIRTIO_DEVICE_SPECIFIC_CONFIGURATION_OFFSET_MMIO 0x100
+
+//
// Data in the communication area is defined as packed and accessed as
// volatile.
//
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits