Module Name: src
Committed By: maxv
Date: Sat Oct 21 07:23:22 UTC 2017
Modified Files:
src/sys/arch/amd64/amd64: trap.c
Log Message:
Handle by default.
To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 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.102 src/sys/arch/amd64/amd64/trap.c:1.103
--- src/sys/arch/amd64/amd64/trap.c:1.102 Tue Oct 17 06:58:15 2017
+++ src/sys/arch/amd64/amd64/trap.c Sat Oct 21 07:23:22 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.102 2017/10/17 06:58:15 maxv Exp $ */
+/* $NetBSD: trap.c,v 1.103 2017/10/21 07:23:22 maxv 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.102 2017/10/17 06:58:15 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.103 2017/10/21 07:23:22 maxv Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -281,10 +281,8 @@ trap_user_kernelmode(struct trapframe *f
case 0x848e: /* mov 0xa8(%rsp),%es (8e 84 24 a8 00 00 00) */
case 0x9c8e: /* mov 0xb0(%rsp),%ds (8e 9c 24 b0 00 00 00) */
-#ifdef USER_LDT
case 0xa48e: /* mov 0xa0(%rsp),%fs (8e a4 24 a0 00 00 00) */
case 0xac8e: /* mov 0x98(%rsp),%gs (8e ac 24 98 00 00 00) */
-#endif
/*
* We faulted loading one of the user segment registers.
* The stack frame containing the user registers is