Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2023 03:24:00 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 99dcb59a67c2 - stable/13 - i386: print trampoline disposition value for verbose boot
Message-ID:  <202301200324.30K3O0mo042929@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301200324.30K3O0mo042929>