[Bug 209821] UEFI - installation media hangs when booting on ASUS P6P67 DELUXE
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Jan 2022 01:29:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209821 --- Comment #73 from commit-hook@FreeBSD.org --- A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=f131d68e21fc360f5c8e63377f25cf60706d9afa commit f131d68e21fc360f5c8e63377f25cf60706d9afa Author: David Sebek <dasebek@gmail.com> AuthorDate: 2022-01-07 20:18:49 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2022-01-09 01:28:01 +0000 efi: loader: Inline copy_finish function in amd64 trampoline Instead of calling the efi_copy_finish function from amd64_tramp, include the copy instructions in the trampoline code itself. This avoids boot hangs and restarts in the cases when the efi_copy_finish code happens to be located at a memory location that is overwritten during the copy process. This is a direct commit to stable/12 since no-copy loader mode requires the kernel update not suitable for the branch. PR: 209821 stand/efi/loader/arch/amd64/amd64_tramp.S | 59 +++++++++++++++++++---------- stand/efi/loader/arch/amd64/elf64_freebsd.c | 18 +++++---- stand/efi/loader/copy.c | 8 ++++ stand/efi/loader/loader_efi.h | 1 + 4 files changed, 60 insertions(+), 26 deletions(-) -- You are receiving this mail because: You are the assignee for the bug.