Page MenuHomeFreeBSD

D17958.1778244233.diff
No OneTemporary

Size
598 B
Referenced Files
None
Subscribers
None

D17958.1778244233.diff

Index: head/stand/efi/loader/efi_main.c
===================================================================
--- head/stand/efi/loader/efi_main.c
+++ head/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
Fri, May 8, 12:43 PM (7 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28606326
Default Alt Text
D17958.1778244233.diff (598 B)

Event Timeline