Source-Changes-HG archive

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

[src/pgoyette-compat]: src/sys/arch/amd64/amd64 Make a note that the code doe...



details:   https://anonhg.NetBSD.org/src/rev/de5ed4ad8639
branches:  pgoyette-compat
changeset: 830737:de5ed4ad8639
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Fri Sep 21 23:05:35 2018 +0000

description:
Make a note that the code does not exist in loadable modules, only in
built-in compat modules.

diffstat:

 sys/arch/amd64/amd64/trap.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r e19ce2d9c914 -r de5ed4ad8639 sys/arch/amd64/amd64/trap.c
--- a/sys/arch/amd64/amd64/trap.c       Fri Sep 21 03:42:20 2018 +0000
+++ b/sys/arch/amd64/amd64/trap.c       Fri Sep 21 23:05:35 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.113.2.1 2018/07/28 04:37:26 pgoyette Exp $  */
+/*     $NetBSD: trap.c,v 1.113.2.2 2018/09/21 23:05:35 pgoyette Exp $  */
 
 /*
  * Copyright (c) 1998, 2000, 2017 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.113.2.1 2018/07/28 04:37:26 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.113.2.2 2018/09/21 23:05:35 pgoyette Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -351,6 +351,11 @@
 
        case T_PROTFLT|T_USER:          /* protection fault */
 #if defined(COMPAT_NETBSD32) && defined(COMPAT_10)
+
+/*
+ * XXX This code currently not included in loadable module;  it is
+ * only included in built-in modules.
+ */
        {
                static const char lcall[7] = { 0x9a, 0, 0, 0, 0, 7, 0 };
                const size_t sz = sizeof(lcall);



Home | Main Index | Thread Index | Old Index