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>
This commit is contained in:
committed by
mergify[bot]
parent
2a7a1223d0
commit
70d5086c32
@@ -107,7 +107,7 @@ XenGrantTableEndAccess (
|
||||
OldFlags = GrantTable[Ref].flags;
|
||||
do {
|
||||
if ((Flags = OldFlags) & (GTF_reading | GTF_writing)) {
|
||||
DEBUG ((EFI_D_WARN, "WARNING: g.e. still in use! (%x)\n", Flags));
|
||||
DEBUG ((DEBUG_WARN, "WARNING: g.e. still in use! (%x)\n", Flags));
|
||||
return EFI_NOT_READY;
|
||||
}
|
||||
OldFlags = InterlockedCompareExchange16 (&GrantTable[Ref].flags, Flags, 0);
|
||||
@@ -142,7 +142,7 @@ XenGrantTableInit (
|
||||
Parameters.gpfn = (xen_pfn_t) ((UINTN) GrantTable >> EFI_PAGE_SHIFT) + Index;
|
||||
ReturnCode = XenHypercallMemoryOp (XENMEM_add_to_physmap, &Parameters);
|
||||
if (ReturnCode != 0) {
|
||||
DEBUG ((EFI_D_ERROR,
|
||||
DEBUG ((DEBUG_ERROR,
|
||||
"Xen GrantTable, add_to_physmap hypercall error: %Ld\n",
|
||||
(INT64)ReturnCode));
|
||||
}
|
||||
@@ -164,11 +164,11 @@ XenGrantTableDeinit (
|
||||
for (Index = NR_GRANT_FRAMES - 1; Index >= 0; Index--) {
|
||||
Parameters.domid = DOMID_SELF;
|
||||
Parameters.gpfn = (xen_pfn_t) ((UINTN) GrantTable >> EFI_PAGE_SHIFT) + Index;
|
||||
DEBUG ((EFI_D_INFO, "Xen GrantTable, removing %Lx\n",
|
||||
DEBUG ((DEBUG_INFO, "Xen GrantTable, removing %Lx\n",
|
||||
(UINT64)Parameters.gpfn));
|
||||
ReturnCode = XenHypercallMemoryOp (XENMEM_remove_from_physmap, &Parameters);
|
||||
if (ReturnCode != 0) {
|
||||
DEBUG ((EFI_D_ERROR,
|
||||
DEBUG ((DEBUG_ERROR,
|
||||
"Xen GrantTable, remove_from_physmap hypercall error: %Ld\n",
|
||||
(INT64)ReturnCode));
|
||||
}
|
||||
|
Reference in New Issue
Block a user