summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/VirtioGpuDxe
diff options
context:
space:
mode:
authorRebecca Cran <rebecca@bsdio.com>2020-04-29 15:53:27 -0600
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-04-30 13:01:16 +0000
commit70d5086c3274b1a5b099d642d546581070374e6e (patch)
treed29d1dce98c5dd86fa7ae78844a489f65b33af80 /OvmfPkg/VirtioGpuDxe
parent2a7a1223d0c6f6ec10076584f92d40abbf6020d1 (diff)
downloadedk2-70d5086c3274b1a5b099d642d546581070374e6e.tar.gz
edk2-70d5086c3274b1a5b099d642d546581070374e6e.tar.bz2
edk2-70d5086c3274b1a5b099d642d546581070374e6e.zip
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 <rebecca@bsdio.com> Cc: Philippe Mathieu-Daude <philmd@redhat.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Cc: Laszlo Ersek <lersek@redhat.com> Message-Id: <20200429215327.606467-1-rebecca@bsdio.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'OvmfPkg/VirtioGpuDxe')
-rw-r--r--OvmfPkg/VirtioGpuDxe/Commands.c8
-rw-r--r--OvmfPkg/VirtioGpuDxe/DriverBinding.c8
-rw-r--r--OvmfPkg/VirtioGpuDxe/VirtioGpu.h2
3 files changed, 9 insertions, 9 deletions
diff --git a/OvmfPkg/VirtioGpuDxe/Commands.c b/OvmfPkg/VirtioGpuDxe/Commands.c
index 8fb6cad52d..1645100a05 100644
--- a/OvmfPkg/VirtioGpuDxe/Commands.c
+++ b/OvmfPkg/VirtioGpuDxe/Commands.c
@@ -389,7 +389,7 @@ VirtioGpuExitBoot (
@retval EFI_SUCCESS Operation successful.
@retval EFI_DEVICE_ERROR The host rejected the request. The host error
- code has been logged on the EFI_D_ERROR level.
+ code has been logged on the DEBUG_ERROR level.
@return Codes for unexpected errors in VirtIo
messaging, or request/response
@@ -489,7 +489,7 @@ VirtioGpuSendCommand (
// Verify response size.
//
if (ResponseSize != sizeof Response) {
- DEBUG ((EFI_D_ERROR, "%a: malformed response to Request=0x%x\n",
+ DEBUG ((DEBUG_ERROR, "%a: malformed response to Request=0x%x\n",
__FUNCTION__, (UINT32)RequestType));
Status = EFI_PROTOCOL_ERROR;
goto UnmapResponse;
@@ -516,7 +516,7 @@ VirtioGpuSendCommand (
return EFI_SUCCESS;
}
- DEBUG ((EFI_D_ERROR, "%a: Request=0x%x Response=0x%x\n", __FUNCTION__,
+ DEBUG ((DEBUG_ERROR, "%a: Request=0x%x Response=0x%x\n", __FUNCTION__,
(UINT32)RequestType, Response.Type));
return EFI_DEVICE_ERROR;
@@ -546,7 +546,7 @@ UnmapRequest:
@retval EFI_SUCCESS Operation successful.
@retval EFI_DEVICE_ERROR The host rejected the request. The host error
- code has been logged on the EFI_D_ERROR level.
+ code has been logged on the DEBUG_ERROR level.
@return Codes for unexpected errors in VirtIo
messaging.
diff --git a/OvmfPkg/VirtioGpuDxe/DriverBinding.c b/OvmfPkg/VirtioGpuDxe/DriverBinding.c
index bf53a9306f..666d577547 100644
--- a/OvmfPkg/VirtioGpuDxe/DriverBinding.c
+++ b/OvmfPkg/VirtioGpuDxe/DriverBinding.c
@@ -651,7 +651,7 @@ VirtioGpuDriverBindingStart (
//
// No child handle should be produced; we're done.
//
- DEBUG ((EFI_D_INFO, "%a: bound VirtIo=%p without producing GOP\n",
+ DEBUG ((DEBUG_INFO, "%a: bound VirtIo=%p without producing GOP\n",
__FUNCTION__, (VOID *)VgpuDev->VirtIo));
return EFI_SUCCESS;
}
@@ -674,7 +674,7 @@ VirtioGpuDriverBindingStart (
//
// We're done.
//
- DEBUG ((EFI_D_INFO, "%a: produced GOP %a VirtIo=%p\n", __FUNCTION__,
+ DEBUG ((DEBUG_INFO, "%a: produced GOP %a VirtIo=%p\n", __FUNCTION__,
VirtIoBoundJustNow ? "while binding" : "for pre-bound",
(VOID *)VgpuDev->VirtIo));
return EFI_SUCCESS;
@@ -756,7 +756,7 @@ VirtioGpuDriverBindingStop (
break;
}
- DEBUG ((EFI_D_INFO, "%a: unbinding GOP-less VirtIo=%p\n", __FUNCTION__,
+ DEBUG ((DEBUG_INFO, "%a: unbinding GOP-less VirtIo=%p\n", __FUNCTION__,
(VOID *)VgpuDev->VirtIo));
Status = gBS->UninstallProtocolInterface (ControllerHandle,
@@ -797,7 +797,7 @@ VirtioGpuDriverBindingStop (
VgpuDev->Child->GopHandle,
&gVirtioDeviceProtocolGuid));
- DEBUG ((EFI_D_INFO, "%a: destroying GOP under VirtIo=%p\n", __FUNCTION__,
+ DEBUG ((DEBUG_INFO, "%a: destroying GOP under VirtIo=%p\n", __FUNCTION__,
(VOID *)VgpuDev->VirtIo));
UninitVgpuGop (VgpuDev, ControllerHandle, This->DriverBindingHandle);
break;
diff --git a/OvmfPkg/VirtioGpuDxe/VirtioGpu.h b/OvmfPkg/VirtioGpuDxe/VirtioGpu.h
index c32052d83a..236cc47892 100644
--- a/OvmfPkg/VirtioGpuDxe/VirtioGpu.h
+++ b/OvmfPkg/VirtioGpuDxe/VirtioGpu.h
@@ -295,7 +295,7 @@ VirtioGpuExitBoot (
@retval EFI_SUCCESS Operation successful.
@retval EFI_DEVICE_ERROR The host rejected the request. The host error
- code has been logged on the EFI_D_ERROR level.
+ code has been logged on the DEBUG_ERROR level.
@return Codes for unexpected errors in VirtIo
messaging.