git: 371dcd4c3554 - stable/14 - amd64 la57_trampoline: lgdt descriptor is always 10 bytes in long mode

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Mon, 23 Sep 2024 13:03:46 UTC
The branch stable/14 has been updated by kib:

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

commit 371dcd4c355481860e21f4bfa7f62a12ce1986ec
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-09-12 03:33:48 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-09-23 13:03:06 +0000

    amd64 la57_trampoline: lgdt descriptor is always 10 bytes in long mode
    
    (cherry picked from commit 687b896f8ea58e67c3a0bfbd3af3041733e57dcf)
---
 sys/amd64/amd64/locore.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/amd64/amd64/locore.S b/sys/amd64/amd64/locore.S
index d05f38dbba05..3df3dd722f45 100644
--- a/sys/amd64/amd64/locore.S
+++ b/sys/amd64/amd64/locore.S
@@ -151,7 +151,7 @@ l2:	movq	%r11,%rsp
 	.p2align 4,0
 ENTRY(la57_trampoline_gdt_desc)
 	.word	la57_trampoline_end - la57_trampoline_gdt
-	.long	0		/* filled by pmap_bootstrap_la57 */
+	.long	0, 0		/* filled by pmap_bootstrap_la57 */
 	.p2align 4,0
 ENTRY(la57_trampoline_gdt)
 	.long	0x00000000	/* null desc */