Date: Thu, 05 Mar 2026 23:44:54 +0000 From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 347cec10e25e - main - amd64: align stack on 16 bytes when calling into a EFIRT method Message-ID: <69aa1576.3e2ad.945c091@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=347cec10e25eacb2906a0a8105eff036850db766 commit 347cec10e25eacb2906a0a8105eff036850db766 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2026-03-05 08:37:23 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2026-03-05 23:43:55 +0000 amd64: align stack on 16 bytes when calling into a EFIRT method Reported by: Abdelkader Boudih Sponsored by: The FreeBSD Foundation MFC after: 1 week --- sys/amd64/amd64/efirt_support.S | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/amd64/amd64/efirt_support.S b/sys/amd64/amd64/efirt_support.S index 98063ad561aa..54578f573750 100644 --- a/sys/amd64/amd64/efirt_support.S +++ b/sys/amd64/amd64/efirt_support.S @@ -58,6 +58,7 @@ ENTRY(efi_rt_arch_call) cmovbl %eax, %ecx shll $3, %ecx subq %rcx, %rsp + andq $~0xf, %rsp cmpl $0, %ebx jz 1fhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69aa1576.3e2ad.945c091>
