Date: Mon, 22 Jun 2026 23:08:23 +0000 From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: e8a3352e8b57 - main - loader.efi: Fix a comment Message-ID: <6a39c067.27c1d.44882bc0@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=e8a3352e8b5784fe3417a367a488159f0ab30ae8 commit e8a3352e8b5784fe3417a367a488159f0ab30ae8 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2026-06-22 22:17:12 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2026-06-22 23:06:15 +0000 loader.efi: Fix a comment Move a comment further up in the file. After the sethead() we need to use efi_exit(), not after the performance measuring stuff. Sponsored by: Netflix --- stand/efi/loader/efi_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stand/efi/loader/efi_main.c b/stand/efi/loader/efi_main.c index 6945c97c1d90..412b893a2c18 100644 --- a/stand/efi/loader/efi_main.c +++ b/stand/efi/loader/efi_main.c @@ -105,11 +105,11 @@ efi_main(EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *system_table) setheap((void *)(uintptr_t)heap, (void *)(uintptr_t)(heap + heapsize)); + /* Use efi_exit() from here on... */ + /* Start tslog now that we have a heap.*/ tslog_init(); - /* Use efi_exit() from here on... */ - status = OpenProtocolByHandle(IH, &image_protocol, (void**)&img); if (status != EFI_SUCCESS) efi_exit(status);home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a39c067.27c1d.44882bc0>
