From 70d5086c3274b1a5b099d642d546581070374e6e Mon Sep 17 00:00:00 2001 From: Rebecca Cran Date: Wed, 29 Apr 2020 15:53:27 -0600 Subject: OvmfPkg: replace old EFI_D_ debug levels with new DEBUG_ ones Generated mechanically with: find OvmfPkg -type f -exec sed -i -e 's/EFI_D_/DEBUG_/g' {} \; Signed-off-by: Rebecca Cran Cc: Philippe Mathieu-Daude Cc: Jordan Justen Cc: Ard Biesheuvel Cc: Laszlo Ersek Message-Id: <20200429215327.606467-1-rebecca@bsdio.com> Reviewed-by: Laszlo Ersek --- OvmfPkg/PlatformDxe/Platform.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'OvmfPkg/PlatformDxe/Platform.c') diff --git a/OvmfPkg/PlatformDxe/Platform.c b/OvmfPkg/PlatformDxe/Platform.c index 23ad43901f..f2e51960ce 100644 --- a/OvmfPkg/PlatformDxe/Platform.c +++ b/OvmfPkg/PlatformDxe/Platform.c @@ -228,7 +228,7 @@ ExtractConfig ( MAIN_FORM_STATE MainFormState; EFI_STATUS Status; - DEBUG ((EFI_D_VERBOSE, "%a: Request=\"%s\"\n", __FUNCTION__, Request)); + DEBUG ((DEBUG_VERBOSE, "%a: Request=\"%s\"\n", __FUNCTION__, Request)); Status = PlatformConfigToFormState (&MainFormState); if (EFI_ERROR (Status)) { @@ -243,10 +243,10 @@ ExtractConfig ( (VOID *) &MainFormState, sizeof MainFormState, Results, Progress); if (EFI_ERROR (Status)) { - DEBUG ((EFI_D_ERROR, "%a: BlockToConfig(): %r, Progress=\"%s\"\n", + DEBUG ((DEBUG_ERROR, "%a: BlockToConfig(): %r, Progress=\"%s\"\n", __FUNCTION__, Status, (Status == EFI_DEVICE_ERROR) ? NULL : *Progress)); } else { - DEBUG ((EFI_D_VERBOSE, "%a: Results=\"%s\"\n", __FUNCTION__, *Results)); + DEBUG ((DEBUG_VERBOSE, "%a: Results=\"%s\"\n", __FUNCTION__, *Results)); } return Status; } @@ -321,7 +321,7 @@ RouteConfig ( UINTN BlockSize; EFI_STATUS Status; - DEBUG ((EFI_D_VERBOSE, "%a: Configuration=\"%s\"\n", __FUNCTION__, + DEBUG ((DEBUG_VERBOSE, "%a: Configuration=\"%s\"\n", __FUNCTION__, Configuration)); // @@ -343,7 +343,7 @@ RouteConfig ( Status = gHiiConfigRouting->ConfigToBlock (gHiiConfigRouting, Configuration, (VOID *) &MainFormState, &BlockSize, Progress); if (EFI_ERROR (Status)) { - DEBUG ((EFI_D_ERROR, "%a: ConfigToBlock(): %r, Progress=\"%s\"\n", + DEBUG ((DEBUG_ERROR, "%a: ConfigToBlock(): %r, Progress=\"%s\"\n", __FUNCTION__, Status, (Status == EFI_BUFFER_TOO_SMALL) ? NULL : *Progress)); return Status; @@ -372,7 +372,7 @@ Callback ( OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest ) { - DEBUG ((EFI_D_VERBOSE, "%a: Action=0x%Lx QuestionId=%d Type=%d\n", + DEBUG ((DEBUG_VERBOSE, "%a: Action=0x%Lx QuestionId=%d Type=%d\n", __FUNCTION__, (UINT64) Action, QuestionId, Type)); if (Action != EFI_BROWSER_ACTION_CHANGED) { @@ -661,7 +661,7 @@ ExecutePlatformConfig ( Status = PlatformConfigLoad (&PlatformConfig, &OptionalElements); if (EFI_ERROR (Status)) { - DEBUG (((Status == EFI_NOT_FOUND) ? EFI_D_VERBOSE : EFI_D_ERROR, + DEBUG (((Status == EFI_NOT_FOUND) ? DEBUG_VERBOSE : DEBUG_ERROR, "%a: failed to load platform config: %r\n", __FUNCTION__, Status)); return Status; } -- cgit v1.2.3