git: 29bfaf1c6d8b - main - i386: print trampoline disposition value for verbose boot
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 Jan 2023 18:19:47 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=29bfaf1c6d8bc0a06aaa7e09363544769eade3c0
commit 29bfaf1c6d8bc0a06aaa7e09363544769eade3c0
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-01-06 18:18:51 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-01-06 18:18:51 +0000
i386: print trampoline disposition value for verbose boot
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
---
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 41759c07e3d3..e9de8ef602e7 100644
--- a/sys/i386/i386/machdep.c
+++ b/sys/i386/i386/machdep.c
@@ -1646,6 +1646,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;