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 Provide empty SVS_ENTER_NMI/SVS_LEAVE...



details:   https://anonhg.NetBSD.org/src/rev/54f886ca2a85
branches:  trunk
changeset: 320598:54f886ca2a85
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Jul 13 14:11:02 2018 +0000

description:
Provide empty SVS_ENTER_NMI/SVS_LEAVE_NMI for kernels w/o options SVS

diffstat:

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

diffs (19 lines):

diff -r c8e6be0822d2 -r 54f886ca2a85 sys/arch/amd64/include/frameasm.h
--- a/sys/arch/amd64/include/frameasm.h Fri Jul 13 12:04:50 2018 +0000
+++ b/sys/arch/amd64/include/frameasm.h Fri Jul 13 14:11:02 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: frameasm.h,v 1.39 2018/07/12 19:48:16 maxv Exp $       */
+/*     $NetBSD: frameasm.h,v 1.40 2018/07/13 14:11:02 martin Exp $     */
 
 #ifndef _AMD64_MACHINE_FRAMEASM_H
 #define _AMD64_MACHINE_FRAMEASM_H
@@ -185,7 +185,9 @@
 
 #else
 #define SVS_ENTER      /* nothing */
+#define SVS_ENTER_NMI  /* nothing */
 #define SVS_LEAVE      /* nothing */
+#define SVS_LEAVE_NMI  /* nothing */
 #define SVS_ENTER_ALTSTACK     /* nothing */
 #define SVS_LEAVE_ALTSTACK     /* nothing */
 #endif



Home | Main Index | Thread Index | Old Index