]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/AcpiPlatformDxe/Qemu.c
BaseTools: Library hashing fix and optimization for --hash feature
[mirror_edk2.git] / OvmfPkg / AcpiPlatformDxe / Qemu.c
index ef2ba114b64296923512bd032412daad45d4ae1b..f60e00f58af3b72fc153ae497a605ab8e7670cee 100644 (file)
@@ -1,27 +1,21 @@
 /** @file\r
   OVMF ACPI QEMU support\r
 \r
-  Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR>\r
 \r
   Copyright (C) 2012-2014, Red Hat, Inc.\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 "AcpiPlatform.h"\r
-#include "QemuLoader.h"\r
 #include <Library/BaseMemoryLib.h>\r
 #include <Library/MemoryAllocationLib.h>\r
 #include <Library/QemuFwCfgLib.h>\r
 #include <Library/DxeServicesTableLib.h>\r
 #include <Library/PcdLib.h>\r
+#include <Library/OrderedCollectionLib.h>\r
 #include <IndustryStandard/Acpi.h>\r
 \r
 BOOLEAN\r
@@ -515,33 +509,3 @@ QemuInstallAcpiTable (
            TableKey\r
            );\r
 }\r
-\r
-\r
-/**\r
-  Download all ACPI table data files from QEMU and interpret them.\r
-\r
-  @param[in] AcpiProtocol  The ACPI table protocol used to install tables.\r
-\r
-  @retval  EFI_UNSUPPORTED       Firmware configuration is unavailable.\r
-\r
-  @retval  EFI_NOT_FOUND         The host doesn't export the required fw_cfg\r
-                                 files.\r
-\r
-  @retval  EFI_OUT_OF_RESOURCES  Memory allocation failed, or more than\r
-                                 INSTALLED_TABLES_MAX tables found.\r
-\r
-  @retval  EFI_PROTOCOL_ERROR    Found invalid fw_cfg contents.\r
-\r
-  @return                        Status codes returned by\r
-                                 AcpiProtocol->InstallAcpiTable().\r
-\r
-**/\r
-\r
-EFI_STATUS\r
-EFIAPI\r
-InstallAllQemuLinkedTables (\r
-  IN   EFI_ACPI_TABLE_PROTOCOL       *AcpiProtocol\r
-  )\r
-{\r
-  return EFI_NOT_FOUND;\r
-}\r