]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / OvmfPkg / XenPvBlkDxe / XenPvBlkDxe.h
index e5b1b5f4b90dfb7339df21d41ad35afd5bb38528..350b7bd309c09d67a7c79ab69d51d3f768e2fc11 100644 (file)
@@ -3,13 +3,7 @@
 \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
@@ -37,7 +27,6 @@
 #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
@@ -79,5 +63,4 @@ extern EFI_COMPONENT_NAME_PROTOCOL  gXenPvBlkDxeComponentName;
 #include "ComponentName.h"\r
 #include "BlockIo.h"\r
 \r
-\r
 #endif\r