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/71681393d91a
branches:  trunk
changeset: 937777:71681393d91a
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 783de39807e8 -r 71681393d91a 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