]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/AcpiPlatformDxe/PciDecoding.c
OvmfPkg: replace old EFI_D_ debug levels with new DEBUG_ ones
[mirror_edk2.git] / OvmfPkg / AcpiPlatformDxe / PciDecoding.c
index eb0417bba40cf74737ce83533adc1d1247a6bb11..73894106c9ec4a4feb91223df6542b194a5d4e2e 100644 (file)
@@ -69,14 +69,14 @@ EnablePciDecoding (
   }\r
 \r
   if (EFI_ERROR (Status)) {\r
-    DEBUG ((EFI_D_WARN, "%a: LocateHandleBuffer(): %r\n", __FUNCTION__,\r
+    DEBUG ((DEBUG_WARN, "%a: LocateHandleBuffer(): %r\n", __FUNCTION__,\r
       Status));\r
     return;\r
   }\r
 \r
   OrigAttrs = AllocatePool (NoHandles * sizeof *OrigAttrs);\r
   if (OrigAttrs == NULL) {\r
-    DEBUG ((EFI_D_WARN, "%a: AllocatePool(): out of resources\n",\r
+    DEBUG ((DEBUG_WARN, "%a: AllocatePool(): out of resources\n",\r
       __FUNCTION__));\r
     goto FreeHandles;\r
   }\r
@@ -99,7 +99,7 @@ EnablePciDecoding (
     Status = PciIo->Attributes (PciIo, EfiPciIoAttributeOperationGet, 0,\r
                       &OrigAttrs[Idx].PciAttributes);\r
     if (EFI_ERROR (Status)) {\r
-      DEBUG ((EFI_D_WARN, "%a: EfiPciIoAttributeOperationGet: %r\n",\r
+      DEBUG ((DEBUG_WARN, "%a: EfiPciIoAttributeOperationGet: %r\n",\r
         __FUNCTION__, Status));\r
       goto RestoreAttributes;\r
     }\r
@@ -110,7 +110,7 @@ EnablePciDecoding (
     Status = PciIo->Attributes (PciIo, EfiPciIoAttributeOperationSupported, 0,\r
                       &Attributes);\r
     if (EFI_ERROR (Status)) {\r
-      DEBUG ((EFI_D_WARN, "%a: EfiPciIoAttributeOperationSupported: %r\n",\r
+      DEBUG ((DEBUG_WARN, "%a: EfiPciIoAttributeOperationSupported: %r\n",\r
         __FUNCTION__, Status));\r
       goto RestoreAttributes;\r
     }\r
@@ -122,7 +122,7 @@ EnablePciDecoding (
     Status = PciIo->Attributes (PciIo, EfiPciIoAttributeOperationEnable,\r
                       Attributes, NULL);\r
     if (EFI_ERROR (Status)) {\r
-      DEBUG ((EFI_D_WARN, "%a: EfiPciIoAttributeOperationEnable: %r\n",\r
+      DEBUG ((DEBUG_WARN, "%a: EfiPciIoAttributeOperationEnable: %r\n",\r
         __FUNCTION__, Status));\r
       goto RestoreAttributes;\r
     }\r