diff options
author | Anthony PERARD <anthony.perard@citrix.com> | 2014-10-29 06:49:38 +0000 |
---|---|---|
committer | jljusten <jljusten@Edk2> | 2014-10-29 06:49:38 +0000 |
commit | 12a16f2d1c610942a3420c86e7a3c6bcc7a6eedf (patch) | |
tree | f7afa61321b6c6d7ca82d2c93d6d03a285cc6284 /OvmfPkg/XenBusDxe | |
parent | 956622c4c9b25becf57ccc1771ffbc92b78ed005 (diff) | |
download | edk2-platforms-12a16f2d1c610942a3420c86e7a3c6bcc7a6eedf.tar.xz |
OvmfPkg: Introduce XenBus Protocol.
This protocol will be used for communication between a PV driver (like a
PV block driver) and the XenBus/XenStore.
Change in V5:
- Replace the license by the commonly used file header text.
Change in V3:
- Add disclaimer about the volatile nature of the protocol.
- Add a description on the two introduced members to the protocol.
Change in V2:
- Comment, file header
- Protocol License
- Declare xen interface version earlier
- Rename protocol from Xenbus to XenBus
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16262 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/XenBusDxe')
-rw-r--r-- | OvmfPkg/XenBusDxe/XenBusDxe.h | 6 | ||||
-rw-r--r-- | OvmfPkg/XenBusDxe/XenBusDxe.inf | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/OvmfPkg/XenBusDxe/XenBusDxe.h b/OvmfPkg/XenBusDxe/XenBusDxe.h index 388d299695..64579bb832 100644 --- a/OvmfPkg/XenBusDxe/XenBusDxe.h +++ b/OvmfPkg/XenBusDxe/XenBusDxe.h @@ -19,6 +19,11 @@ #include <Uefi.h>
//
+// Xen interface version used
+//
+#define __XEN_INTERFACE_VERSION__ 0x00040400
+
+//
// Libraries
//
#include <Library/UefiBootServicesTableLib.h>
@@ -45,6 +50,7 @@ //
// Produced Protocols
//
+#include <Protocol/XenBus.h>
//
diff --git a/OvmfPkg/XenBusDxe/XenBusDxe.inf b/OvmfPkg/XenBusDxe/XenBusDxe.inf index 6da3d2d670..add85213c6 100644 --- a/OvmfPkg/XenBusDxe/XenBusDxe.inf +++ b/OvmfPkg/XenBusDxe/XenBusDxe.inf @@ -62,6 +62,7 @@ gEfiPciIoProtocolGuid
gEfiComponentName2ProtocolGuid
gEfiComponentNameProtocolGuid
+ gXenBusProtocolGuid
[Guids]
|