Page MenuHomeFreeBSD

D17958.1794104731.diff
No OneTemporary

Authored By
Unknown
Size
583 B
Referenced Files
None
Subscribers
None

D17958.1794104731.diff

Index: stand/efi/loader/efi_main.c
===================================================================
--- stand/efi/loader/efi_main.c
+++ stand/efi/loader/efi_main.c
@@ -94,8 +94,10 @@
heapsize = 64 * 1024 * 1024;
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
EFI_SIZE_TO_PAGES(heapsize), &heap);
- if (status != EFI_SUCCESS)
+ if (status != EFI_SUCCESS) {
+ ST->ConOut->OutputString(ST->ConOut, L"Failed to allocate memory for heap.\r\n");
BS->Exit(IH, status, 0, NULL);
+ }
setheap((void *)(uintptr_t)heap, (void *)(uintptr_t)(heap + heapsize));

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 8, 2:25 AM (21 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41562869
Default Alt Text
D17958.1794104731.diff (583 B)

Event Timeline