]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/PlatformDxe/Platform.c
OvmfPkg: replace old EFI_D_ debug levels with new DEBUG_ ones
[mirror_edk2.git] / OvmfPkg / PlatformDxe / Platform.c
index 23ad43901f66cfd9c53da70901683751be08d378..f2e51960ce8b7c1d00fe76764598e1f55fd5cea8 100644 (file)
@@ -228,7 +228,7 @@ ExtractConfig (
   MAIN_FORM_STATE MainFormState;\r
   EFI_STATUS      Status;\r
 \r
-  DEBUG ((EFI_D_VERBOSE, "%a: Request=\"%s\"\n", __FUNCTION__, Request));\r
+  DEBUG ((DEBUG_VERBOSE, "%a: Request=\"%s\"\n", __FUNCTION__, Request));\r
 \r
   Status = PlatformConfigToFormState (&MainFormState);\r
   if (EFI_ERROR (Status)) {\r
@@ -243,10 +243,10 @@ ExtractConfig (
                                 (VOID *) &MainFormState, sizeof MainFormState,\r
                                 Results, Progress);\r
   if (EFI_ERROR (Status)) {\r
-    DEBUG ((EFI_D_ERROR, "%a: BlockToConfig(): %r, Progress=\"%s\"\n",\r
+    DEBUG ((DEBUG_ERROR, "%a: BlockToConfig(): %r, Progress=\"%s\"\n",\r
       __FUNCTION__, Status, (Status == EFI_DEVICE_ERROR) ? NULL : *Progress));\r
   } else {\r
-    DEBUG ((EFI_D_VERBOSE, "%a: Results=\"%s\"\n", __FUNCTION__, *Results));\r
+    DEBUG ((DEBUG_VERBOSE, "%a: Results=\"%s\"\n", __FUNCTION__, *Results));\r
   }\r
   return Status;\r
 }\r
@@ -321,7 +321,7 @@ RouteConfig (
   UINTN           BlockSize;\r
   EFI_STATUS      Status;\r
 \r
-  DEBUG ((EFI_D_VERBOSE, "%a: Configuration=\"%s\"\n", __FUNCTION__,\r
+  DEBUG ((DEBUG_VERBOSE, "%a: Configuration=\"%s\"\n", __FUNCTION__,\r
     Configuration));\r
 \r
   //\r
@@ -343,7 +343,7 @@ RouteConfig (
   Status = gHiiConfigRouting->ConfigToBlock (gHiiConfigRouting, Configuration,\r
                                 (VOID *) &MainFormState, &BlockSize, Progress);\r
   if (EFI_ERROR (Status)) {\r
-    DEBUG ((EFI_D_ERROR, "%a: ConfigToBlock(): %r, Progress=\"%s\"\n",\r
+    DEBUG ((DEBUG_ERROR, "%a: ConfigToBlock(): %r, Progress=\"%s\"\n",\r
       __FUNCTION__, Status,\r
       (Status == EFI_BUFFER_TOO_SMALL) ? NULL : *Progress));\r
     return Status;\r
@@ -372,7 +372,7 @@ Callback (
   OUT    EFI_BROWSER_ACTION_REQUEST             *ActionRequest\r
   )\r
 {\r
-  DEBUG ((EFI_D_VERBOSE, "%a: Action=0x%Lx QuestionId=%d Type=%d\n",\r
+  DEBUG ((DEBUG_VERBOSE, "%a: Action=0x%Lx QuestionId=%d Type=%d\n",\r
     __FUNCTION__, (UINT64) Action, QuestionId, Type));\r
 \r
   if (Action != EFI_BROWSER_ACTION_CHANGED) {\r
@@ -661,7 +661,7 @@ ExecutePlatformConfig (
 \r
   Status = PlatformConfigLoad (&PlatformConfig, &OptionalElements);\r
   if (EFI_ERROR (Status)) {\r
-    DEBUG (((Status == EFI_NOT_FOUND) ? EFI_D_VERBOSE : EFI_D_ERROR,\r
+    DEBUG (((Status == EFI_NOT_FOUND) ? DEBUG_VERBOSE : DEBUG_ERROR,\r
       "%a: failed to load platform config: %r\n", __FUNCTION__, Status));\r
     return Status;\r
   }\r