mirror of https://github.com/acidanthera/audk.git
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 <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@14807 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
9edb2933ab
commit
b342c97dfc
|
@ -34,6 +34,13 @@
|
|||
#define VIRTIO_SUBSYSTEM_9P_TRANSPORT 9
|
||||
#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.
|
||||
|
|
Loading…
Reference in New Issue