git: 99dcb59a67c2 - stable/13 - i386: print trampoline disposition value for verbose boot
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 20 Jan 2023 03:24:00 UTC
The branch stable/13 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=99dcb59a67c269df380b3b0474ddf91a898d4d34
commit 99dcb59a67c269df380b3b0474ddf91a898d4d34
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-01-06 18:18:51 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-01-20 03:22:26 +0000
i386: print trampoline disposition value for verbose boot
Tested by: pho
(cherry picked from commit 29bfaf1c6d8bc0a06aaa7e09363544769eade3c0)
---
sys/i386/i386/machdep.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c
index 22a40a4151c3..27a323bce62a 100644
--- a/sys/i386/i386/machdep.c
+++ b/sys/i386/i386/machdep.c
@@ -1654,6 +1654,8 @@ machdep_init_trampoline(void)
/* Re-initialize new IDT since the handlers were relocated */
setidt_disp = trampoline - start_exceptions;
+ if (bootverbose)
+ printf("Trampoline disposition %#zx\n", setidt_disp);
fixup_idt();
r_idt.rd_limit = sizeof(struct gate_descriptor) * NIDT - 1;