]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/SmbiosPlatformDxe/X86Xen.c
OvmfPkg/SmbiosPlatformDxe: split GetXenSmbiosTables() decl. to new header
[mirror_edk2.git] / OvmfPkg / SmbiosPlatformDxe / X86Xen.c
index 3d2abcea7c8f3804fd913572a587b2d4a0bf0d32..0acedf8995da28ac0382a9da61ffb51c9c7bdba4 100644 (file)
@@ -4,19 +4,15 @@
   Copyright (c) 2011, Bei Guan <gbtju85@gmail.com>\r
   Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\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
-#include "SmbiosPlatformDxe.h"\r
-#include <Library/HobLib.h>\r
-#include <Guid/XenInfo.h>\r
+#include <Library/BaseLib.h> // AsciiStrnCmp()\r
+#include <Library/HobLib.h>  // GetFirstGuidHob()\r
+#include <Pi/PiHob.h>        // EFI_HOB_GUID_TYPE\r
+\r
+#include "XenSmbiosPlatformDxe.h"\r
 \r
 #define XEN_SMBIOS_PHYSICAL_ADDRESS       0x000EB000\r
 #define XEN_SMBIOS_PHYSICAL_END           0x000F0000\r