Module Name: src
Committed By: pgoyette
Date: Fri Sep 21 23:05:35 UTC 2018
Modified Files:
src/sys/arch/amd64/amd64 [pgoyette-compat]: trap.c
Log Message:
Make a note that the code does not exist in loadable modules, only in
built-in compat modules.
To generate a diff of this commit:
cvs rdiff -u -r1.113.2.1 -r1.113.2.2 src/sys/arch/amd64/amd64/trap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/amd64/amd64/trap.c
diff -u src/sys/arch/amd64/amd64/trap.c:1.113.2.1 src/sys/arch/amd64/amd64/trap.c:1.113.2.2
--- src/sys/arch/amd64/amd64/trap.c:1.113.2.1 Sat Jul 28 04:37:26 2018
+++ src/sys/arch/amd64/amd64/trap.c Fri Sep 21 23:05:35 2018
@@ -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 @@ trap(struct trapframe *frame)
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);