Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/nvmm Remove nvmm_exit_memory.npc, useless.



details:   https://anonhg.NetBSD.org/src/rev/8b3f08814722
branches:  trunk
changeset: 447840:8b3f08814722
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sat Jan 26 15:12:20 2019 +0000

description:
Remove nvmm_exit_memory.npc, useless.

diffstat:

 sys/dev/nvmm/nvmm.h             |  3 +--
 sys/dev/nvmm/x86/nvmm_x86_svm.c |  5 ++---
 2 files changed, 3 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r 4192b0a66f5e -r 8b3f08814722 sys/dev/nvmm/nvmm.h
--- a/sys/dev/nvmm/nvmm.h       Sat Jan 26 14:44:54 2019 +0000
+++ b/sys/dev/nvmm/nvmm.h       Sat Jan 26 15:12:20 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nvmm.h,v 1.3 2019/01/24 13:05:59 maxv Exp $    */
+/*     $NetBSD: nvmm.h,v 1.4 2019/01/26 15:12:20 maxv Exp $    */
 
 /*
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -75,7 +75,6 @@
        gpaddr_t gpa;
        uint8_t inst_len;
        uint8_t inst_bytes[15];
-       uint64_t npc;
 };
 
 enum nvmm_exit_io_type {
diff -r 4192b0a66f5e -r 8b3f08814722 sys/dev/nvmm/x86/nvmm_x86_svm.c
--- a/sys/dev/nvmm/x86/nvmm_x86_svm.c   Sat Jan 26 14:44:54 2019 +0000
+++ b/sys/dev/nvmm/x86/nvmm_x86_svm.c   Sat Jan 26 15:12:20 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nvmm_x86_svm.c,v 1.17 2019/01/24 13:05:59 maxv Exp $   */
+/*     $NetBSD: nvmm_x86_svm.c,v 1.18 2019/01/26 15:12:20 maxv Exp $   */
 
 /*
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nvmm_x86_svm.c,v 1.17 2019/01/24 13:05:59 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nvmm_x86_svm.c,v 1.18 2019/01/26 15:12:20 maxv Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1051,7 +1051,6 @@
                exit->u.mem.inst_len = cpudata->vmcb->ctrl.inst_len;
                memcpy(exit->u.mem.inst_bytes, cpudata->vmcb->ctrl.inst_bytes,
                    sizeof(exit->u.mem.inst_bytes));
-               exit->u.mem.npc = cpudata->vmcb->ctrl.nrip;
        } else {
                exit->reason = NVMM_EXIT_NONE;
        }



Home | Main Index | Thread Index | Old Index