Module Name: src Committed By: maxv Date: Wed Aug 26 16:29:49 UTC 2020
Modified Files: src/sys/dev/nvmm: nvmm_ioctl.h Log Message: nvmm: slightly clarify To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/nvmm/nvmm_ioctl.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/nvmm/nvmm_ioctl.h diff -u src/sys/dev/nvmm/nvmm_ioctl.h:1.9 src/sys/dev/nvmm/nvmm_ioctl.h:1.10 --- src/sys/dev/nvmm/nvmm_ioctl.h:1.9 Mon Oct 28 09:00:08 2019 +++ src/sys/dev/nvmm/nvmm_ioctl.h Wed Aug 26 16:29:49 2020 @@ -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_ioc_gpa_unmap { }; struct nvmm_ctl_mach_info { + /* input */ nvmm_machid_t machid; + /* output */ uint32_t nvcpus; uint64_t nram; pid_t pid; @@ -151,7 +153,6 @@ struct nvmm_ioc_ctl { #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_ */