View | Details | Raw Unified | Return to bug 39415
Collapse All | Expand All

(-)elf_freebsd.c (-1 / +1 lines)
Lines 151-157 Link Here
151
	hdr = (Elf_Ehdr *)&(md->md_data);
151
	hdr = (Elf_Ehdr *)&(md->md_data);
152
152
153
	status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
153
	status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
154
	    EFI_SIZE_TO_PAGES(sizeof(struct bootinfo)), (void*)&bi);
154
				   8192/4096, (void*)&bi);
155
	if (EFI_ERROR(status)) {
155
	if (EFI_ERROR(status)) {
156
		printf("unable to create bootinfo block (status=0x%lx)\n",
156
		printf("unable to create bootinfo block (status=0x%lx)\n",
157
		    (long)status);
157
		    (long)status);

Return to bug 39415