Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2026 11:43:31 +0000
Message-ID:  <69b003e3.1c6f3.1c7e7768@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=ade737514f5aa4e8af61e322c7d04d2a539692fa

commit ade737514f5aa4e8af61e322c7d04d2a539692fa
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-03-05 08:37:23 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-03-10 11:41:31 +0000

    amd64: align stack on 16 bytes when calling into a EFIRT method
    
    (cherry picked from commit 347cec10e25eacb2906a0a8105eff036850db766)
---
 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	1f


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b003e3.1c6f3.1c7e7768>