diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2026-03-05 08:37:23 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2026-03-05 23:43:55 +0000 |
| commit | 347cec10e25eacb2906a0a8105eff036850db766 (patch) | |
| tree | 80111476ead0f44327ef30d7d0db198fc2814c8e | |
| parent | 35da55c28dbb56dd7056b7863efc5b547950d885 (diff) | |
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
| -rw-r--r-- | sys/amd64/amd64/efirt_support.S | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
