Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-9]: src/sys/arch/amd64/amd64 Pull up following revision(s) (reque...



details:   https://anonhg.NetBSD.org/src/rev/d9dbfab2bd4a
branches:  netbsd-9
changeset: 745436:d9dbfab2bd4a
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Mar 02 07:55:24 2020 +0000

description:
Pull up following revision(s) (requested by christos in ticket #750):

        sys/arch/amd64/amd64/db_interface.c: revision 1.37

Fix boot -c or -d by avoiding ipi handling before the vector is initialized.

diffstat:

 sys/arch/amd64/amd64/db_interface.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r ada39f4e4ee1 -r d9dbfab2bd4a sys/arch/amd64/amd64/db_interface.c
--- a/sys/arch/amd64/amd64/db_interface.c       Sun Mar 01 12:52:01 2020 +0000
+++ b/sys/arch/amd64/amd64/db_interface.c       Mon Mar 02 07:55:24 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_interface.c,v 1.36 2019/02/14 07:12:40 cherry Exp $ */
+/*     $NetBSD: db_interface.c,v 1.36.4.1 2020/03/02 07:55:24 martin Exp $     */
 
 /*
  * Mach Operating System
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.36 2019/02/14 07:12:40 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.36.4.1 2020/03/02 07:55:24 martin Exp $");
 
 #include "opt_ddb.h"
 #include "opt_multiprocessor.h"
@@ -150,7 +150,9 @@
                xen_broadcast_ipi(XEN_IPI_DDB);
 #else
 #if NLAPIC > 0
-               x86_ipi(ddb_vec, LAPIC_DEST_ALLEXCL, LAPIC_DLMODE_FIXED);
+               if (ddb_vec != 0)
+                       x86_ipi(ddb_vec, LAPIC_DEST_ALLEXCL,
+                           LAPIC_DLMODE_FIXED);
 #endif
 #endif /* XENPV */
        }



Home | Main Index | Thread Index | Old Index