Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/amd64 Handle by default.



details:   https://anonhg.NetBSD.org/src/rev/8ca2b6912dbd
branches:  trunk
changeset: 356927:8ca2b6912dbd
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sat Oct 21 07:23:22 2017 +0000

description:
Handle by default.

diffstat:

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

diffs (29 lines):

diff -r c6269f5d5588 -r 8ca2b6912dbd sys/arch/amd64/amd64/trap.c
--- a/sys/arch/amd64/amd64/trap.c       Sat Oct 21 06:55:54 2017 +0000
+++ b/sys/arch/amd64/amd64/trap.c       Sat Oct 21 07:23:22 2017 +0000
@@ -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 @@
 
        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



Home | Main Index | Thread Index | Old Index