]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxe.c
OvmfPkg: replace old EFI_D_ debug levels with new DEBUG_ ones
[mirror_edk2.git] / OvmfPkg / Library / QemuFwCfgLib / QemuFwCfgDxe.c
index 22077851a40cdc675ef1644f5bec8e36ced1d62e..0182c9235cac8c39a9ee2a211e25d548eb176ad1 100644 (file)
@@ -6,13 +6,7 @@
   Copyright (c) 2011 - 2013, Intel Corporation. All rights reserved.<BR>\r
   Copyright (c) 2017, Advanced Micro Devices. All rights reserved.<BR>\r
 \r
-  This program and the accompanying materials are licensed and made available\r
-  under the terms and conditions of the BSD License which accompanies this\r
-  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, WITHOUT\r
-  WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 **/\r
 \r
 #include <Uefi.h>\r
@@ -72,14 +66,14 @@ QemuFwCfgInitialize (
 \r
   QemuFwCfgSelectItem (QemuFwCfgItemSignature);\r
   Signature = QemuFwCfgRead32 ();\r
-  DEBUG ((EFI_D_INFO, "FW CFG Signature: 0x%x\n", Signature));\r
+  DEBUG ((DEBUG_INFO, "FW CFG Signature: 0x%x\n", Signature));\r
   QemuFwCfgSelectItem (QemuFwCfgItemInterfaceVersion);\r
   Revision = QemuFwCfgRead32 ();\r
-  DEBUG ((EFI_D_INFO, "FW CFG Revision: 0x%x\n", Revision));\r
+  DEBUG ((DEBUG_INFO, "FW CFG Revision: 0x%x\n", Revision));\r
   if ((Signature != SIGNATURE_32 ('Q', 'E', 'M', 'U')) ||\r
       (Revision < 1)\r
      ) {\r
-    DEBUG ((EFI_D_INFO, "QemuFwCfg interface not supported.\n"));\r
+    DEBUG ((DEBUG_INFO, "QemuFwCfg interface not supported.\n"));\r
     mQemuFwCfgSupported = FALSE;\r
     return RETURN_SUCCESS;\r
   }\r
@@ -170,7 +164,7 @@ AllocFwCfgDmaAccessBuffer (
 \r
   //\r
   // As per UEFI spec, in order to map a host address with\r
-  // BusMasterCommomBuffer64, the buffer must be allocated using the IOMMU\r
+  // BusMasterCommonBuffer64, the buffer must be allocated using the IOMMU\r
   // AllocateBuffer()\r
   //\r
   Status = mIoMmuProtocol->AllocateBuffer (\r