\r
Copyright (C) 2014, Citrix Ltd.\r
\r
- This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
\r
#include <Uefi.h>\r
\r
-//\r
-// Xen interface version used\r
-//\r
-#define __XEN_INTERFACE_VERSION__ 0x00040400\r
-#define xen_mb() MemoryFence()\r
-#define xen_rmb() MemoryFence()\r
-#define xen_wmb() MemoryFence()\r
+#define xen_mb() MemoryFence()\r
+#define xen_rmb() MemoryFence()\r
+#define xen_wmb() MemoryFence()\r
\r
//\r
// Libraries\r
#include <Library/DevicePathLib.h>\r
#include <Library/DebugLib.h>\r
\r
-\r
//\r
// UEFI Driver Model Protocols\r
//\r
#include <Protocol/ComponentName2.h>\r
#include <Protocol/ComponentName.h>\r
\r
-\r
//\r
// Consumed Protocols\r
//\r
#include <Protocol/XenBus.h>\r
\r
-\r
//\r
// Produced Protocols\r
//\r
#include <Protocol/BlockIo.h>\r
\r
-\r
//\r
// Driver Version\r
//\r
#define XEN_PV_BLK_DXE_VERSION 0x00000010\r
\r
-\r
//\r
// Protocol instances\r
//\r
-extern EFI_DRIVER_BINDING_PROTOCOL gXenPvBlkDxeDriverBinding;\r
+extern EFI_DRIVER_BINDING_PROTOCOL gXenPvBlkDxeDriverBinding;\r
extern EFI_COMPONENT_NAME2_PROTOCOL gXenPvBlkDxeComponentName2;\r
-extern EFI_COMPONENT_NAME_PROTOCOL gXenPvBlkDxeComponentName;\r
-\r
+extern EFI_COMPONENT_NAME_PROTOCOL gXenPvBlkDxeComponentName;\r
\r
//\r
// Include files with function prototypes\r
#include "ComponentName.h"\r
#include "BlockIo.h"\r
\r
-\r
#endif\r