Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/nvmm nvmm: slightly clarify



details:   https://anonhg.NetBSD.org/src/rev/d246cb949f02
branches:  trunk
changeset: 943097:d246cb949f02
user:      maxv <maxv%NetBSD.org@localhost>
date:      Wed Aug 26 16:29:49 2020 +0000

description:
nvmm: slightly clarify

diffstat:

 sys/dev/nvmm/nvmm_ioctl.h |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r 75679e9c0b1d -r d246cb949f02 sys/dev/nvmm/nvmm_ioctl.h
--- a/sys/dev/nvmm/nvmm_ioctl.h Wed Aug 26 16:29:19 2020 +0000
+++ b/sys/dev/nvmm/nvmm_ioctl.h Wed Aug 26 16:29:49 2020 +0000
@@ -1,7 +1,7 @@
-/*     $NetBSD: nvmm_ioctl.h,v 1.9 2019/10/28 09:00:08 maxv Exp $      */
+/*     $NetBSD: nvmm_ioctl.h,v 1.10 2020/08/26 16:29:49 maxv Exp $     */
 
 /*
- * Copyright (c) 2018-2019 The NetBSD Foundation, Inc.
+ * Copyright (c) 2018-2020 The NetBSD Foundation, Inc.
  * All rights reserved.
  *
  * This code is derived from software contributed to The NetBSD Foundation
@@ -121,7 +121,9 @@
 };
 
 struct nvmm_ctl_mach_info {
+       /* input */
        nvmm_machid_t machid;
+       /* output */
        uint32_t nvcpus;
        uint64_t nram;
        pid_t pid;
@@ -151,7 +153,6 @@
 #define NVMM_IOC_GPA_UNMAP             _IOW ('N', 12, struct nvmm_ioc_gpa_unmap)
 #define NVMM_IOC_HVA_MAP               _IOW ('N', 13, struct nvmm_ioc_hva_map)
 #define NVMM_IOC_HVA_UNMAP             _IOW ('N', 14, struct nvmm_ioc_hva_unmap)
-
 #define NVMM_IOC_CTL                   _IOW ('N', 20, struct nvmm_ioc_ctl)
 
 #endif /* _NVMM_IOCTL_H_ */



Home | Main Index | Thread Index | Old Index