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/EmuVariableFvbRuntimeDxe/Fvb.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'OvmfPkg/EmuVariableFvbRuntimeDxe') diff --git a/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c b/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c index b6c6abef1e..766ad1e59f 100644 --- a/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c +++ b/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c @@ -579,7 +579,7 @@ ValidateFvHeader ( (FwVolHeader->FvLength != EMU_FVB_SIZE) || (FwVolHeader->HeaderLength != EMU_FV_HEADER_LENGTH) ) { - DEBUG ((EFI_D_INFO, "EMU Variable FVB: Basic FV headers were invalid\n")); + DEBUG ((DEBUG_INFO, "EMU Variable FVB: Basic FV headers were invalid\n")); return EFI_NOT_FOUND; } // @@ -588,7 +588,7 @@ ValidateFvHeader ( Checksum = CalculateSum16((VOID*) FwVolHeader, FwVolHeader->HeaderLength); if (Checksum != 0) { - DEBUG ((EFI_D_INFO, "EMU Variable FVB: FV checksum was invalid\n")); + DEBUG ((DEBUG_INFO, "EMU Variable FVB: FV checksum was invalid\n")); return EFI_NOT_FOUND; } @@ -719,7 +719,7 @@ FvbInitialize ( EFI_PHYSICAL_ADDRESS Address; RETURN_STATUS PcdStatus; - DEBUG ((EFI_D_INFO, "EMU Variable FVB Started\n")); + DEBUG ((DEBUG_INFO, "EMU Variable FVB Started\n")); // // Verify that the PCD's are set correctly. @@ -732,12 +732,12 @@ FvbInitialize ( ) > EMU_FVB_NUM_SPARE_BLOCKS * EMU_FVB_BLOCK_SIZE ) { - DEBUG ((EFI_D_ERROR, "EMU Variable invalid PCD sizes\n")); + DEBUG ((DEBUG_ERROR, "EMU Variable invalid PCD sizes\n")); return EFI_INVALID_PARAMETER; } if (PcdGet64 (PcdFlashNvStorageVariableBase64) != 0) { - DEBUG ((EFI_D_INFO, "Disabling EMU Variable FVB since " + DEBUG ((DEBUG_INFO, "Disabling EMU Variable FVB since " "flash variables appear to be supported.\n")); return EFI_ABORTED; } @@ -754,13 +754,13 @@ FvbInitialize ( if (PcdGet64 (PcdEmuVariableNvStoreReserved) != 0) { Ptr = (VOID*)(UINTN) PcdGet64 (PcdEmuVariableNvStoreReserved); DEBUG (( - EFI_D_INFO, + DEBUG_INFO, "EMU Variable FVB: Using pre-reserved block at %p\n", Ptr )); Status = ValidateFvHeader (Ptr); if (!EFI_ERROR (Status)) { - DEBUG ((EFI_D_INFO, "EMU Variable FVB: Found valid pre-existing FV\n")); + DEBUG ((DEBUG_INFO, "EMU Variable FVB: Found valid pre-existing FV\n")); Initialize = FALSE; } } else { @@ -806,7 +806,7 @@ FvbInitialize ( // // Install the protocols // - DEBUG ((EFI_D_INFO, "Installing FVB for EMU Variable support\n")); + DEBUG ((DEBUG_INFO, "Installing FVB for EMU Variable support\n")); Handle = 0; Status = gBS->InstallMultipleProtocolInterfaces ( &Handle, -- cgit v1.2.3