Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/include Remove INTRENTRY_L, it's not used any...



details:   https://anonhg.NetBSD.org/src/rev/1c061ec20d66
branches:  trunk
changeset: 830084:1c061ec20d66
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sun Feb 25 13:14:27 2018 +0000

description:
Remove INTRENTRY_L, it's not used anymore.

diffstat:

 sys/arch/amd64/include/frameasm.h |  12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diffs (36 lines):

diff -r 19526adec928 -r 1c061ec20d66 sys/arch/amd64/include/frameasm.h
--- a/sys/arch/amd64/include/frameasm.h Sun Feb 25 13:09:33 2018 +0000
+++ b/sys/arch/amd64/include/frameasm.h Sun Feb 25 13:14:27 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: frameasm.h,v 1.36 2018/02/22 10:42:11 maxv Exp $       */
+/*     $NetBSD: frameasm.h,v 1.37 2018/02/25 13:14:27 maxv Exp $       */
 
 #ifndef _AMD64_MACHINE_FRAMEASM_H
 #define _AMD64_MACHINE_FRAMEASM_H
@@ -150,23 +150,19 @@
 #define SVS_LEAVE_ALTSTACK     /* nothing */
 #endif
 
-#define        INTRENTRY_L(kernel_trap, usertrap) \
+#define        INTRENTRY \
        subq    $TF_REGSIZE,%rsp        ; \
        INTR_SAVE_GPRS                  ; \
        cld                             ; \
        SMAP_ENABLE                     ; \
        testb   $SEL_UPL,TF_CS(%rsp)    ; \
-       je      kernel_trap             ; \
-usertrap                               ; \
+       je      98f                     ; \
        SWAPGS                          ; \
        SVS_ENTER                       ; \
        movw    %gs,TF_GS(%rsp)         ; \
        movw    %fs,TF_FS(%rsp)         ; \
        movw    %es,TF_ES(%rsp)         ; \
-       movw    %ds,TF_DS(%rsp) 
-
-#define        INTRENTRY \
-       INTRENTRY_L(98f,)               ; \
+       movw    %ds,TF_DS(%rsp)         ; \
 98:
 
 #define INTRFASTEXIT \



Home | Main Index | Thread Index | Old Index