
When logging pool allocations, show the address of the pointer, not the pointer itself. This makes it easier to debug with sandbox
Signed-off-by: Simon Glass sjg@chromium.org ---
(no changes since v4)
Changes in v4: - Add new patch to show the address for pool allocations
lib/efi_loader/efi_boottime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index f27b3827ed2..47ed22b1d9e 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c @@ -533,7 +533,7 @@ static efi_status_t EFIAPI efi_free_pool_ext(void *buffer) { efi_status_t r;
- EFI_ENTRY("%p", buffer); + EFI_ENTRY("%llx", (u64)map_to_sysmem(buffer)); r = efi_free_pool(buffer); return EFI_EXIT(r); }