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/5c5c3e48439e
branches:  trunk
changeset: 833812:5c5c3e48439e
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 bc61cd75ced7 -r 5c5c3e48439e 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