]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/XenBusDxe/XenBus.c
OvmfPkg: replace old EFI_D_ debug levels with new DEBUG_ ones
[mirror_edk2.git] / OvmfPkg / XenBusDxe / XenBus.c
index a203beaaa7e74112d8a663f6bc0ada7d980b1c35..f8a41b6d363203e33ec15588c3096c7532504357 100644 (file)
@@ -148,7 +148,7 @@ XenBusAddDevice (
        * happen if a device is going away after\r
        * switching to Closed.\r
        */\r
-      DEBUG ((EFI_D_INFO, "XenBus: Device %a ignored. "\r
+      DEBUG ((DEBUG_INFO, "XenBus: Device %a ignored. "\r
               "State %d\n", DevicePath, State));\r
       Status = EFI_SUCCESS;\r
       goto out;\r
@@ -157,7 +157,7 @@ XenBusAddDevice (
     StatusXenStore = XenStoreRead (XST_NIL, DevicePath, "backend",\r
                                    NULL, (VOID **) &BackendPath);\r
     if (StatusXenStore != XENSTORE_STATUS_SUCCESS) {\r
-      DEBUG ((EFI_D_ERROR, "xenbus: %a no backend path.\n", DevicePath));\r
+      DEBUG ((DEBUG_ERROR, "xenbus: %a no backend path.\n", DevicePath));\r
       Status = EFI_NOT_FOUND;\r
       goto out;\r
     }\r
@@ -197,12 +197,12 @@ XenBusAddDevice (
                Private->Handle,\r
                EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER);\r
     if (EFI_ERROR (Status)) {\r
-      DEBUG ((EFI_D_ERROR, "open by child controller fail (%r)\n",\r
+      DEBUG ((DEBUG_ERROR, "open by child controller fail (%r)\n",\r
               Status));\r
       goto ErrorOpenProtocolByChild;\r
     }\r
   } else {\r
-    DEBUG ((EFI_D_ERROR, "XenBus: does not exist: %a\n", DevicePath));\r
+    DEBUG ((DEBUG_ERROR, "XenBus: does not exist: %a\n", DevicePath));\r
     Status = EFI_NOT_FOUND;\r
   }\r
 \r
@@ -312,7 +312,7 @@ XenBusSetState (
   XENSTORE_STATUS Status;\r
   CHAR8 *Temp;\r
 \r
-  DEBUG ((EFI_D_INFO, "XenBus: Set state to %d\n", NewState));\r
+  DEBUG ((DEBUG_INFO, "XenBus: Set state to %d\n", NewState));\r
 \r
   Status = XenStoreRead (Transaction, This->Node, "state", NULL, (VOID **)&Temp);\r
   if (Status != XENSTORE_STATUS_SUCCESS) {\r
@@ -328,10 +328,10 @@ XenBusSetState (
     Status = XenStoreSPrint (Transaction, This->Node, "state", "%d", NewState);\r
   } while (Status == XENSTORE_STATUS_EAGAIN);\r
   if (Status != XENSTORE_STATUS_SUCCESS) {\r
-    DEBUG ((EFI_D_ERROR, "XenBus: failed to write new state\n"));\r
+    DEBUG ((DEBUG_ERROR, "XenBus: failed to write new state\n"));\r
     goto Out;\r
   }\r
-  DEBUG ((EFI_D_INFO, "XenBus: Set state to %d, done\n", NewState));\r
+  DEBUG ((DEBUG_INFO, "XenBus: Set state to %d, done\n", NewState));\r
 \r
 Out:\r
   return Status;\r