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: cosmetic changes
details: https://anonhg.NetBSD.org/src/rev/1b69c0bb1f32
branches: trunk
changeset: 954695:1b69c0bb1f32
user: maxv <maxv%NetBSD.org@localhost>
date: Tue Sep 08 16:58:38 2020 +0000
description:
nvmm: cosmetic changes
- Style.
- Explicitly include ioccom.h.
diffstat:
sys/dev/nvmm/nvmm.c | 6 +++---
sys/dev/nvmm/nvmm_ioctl.h | 3 ++-
sys/dev/nvmm/x86/nvmm_x86.c | 6 +++---
sys/dev/nvmm/x86/nvmm_x86_svm.c | 6 +++---
4 files changed, 11 insertions(+), 10 deletions(-)
diffs (98 lines):
diff -r a9044e344559 -r 1b69c0bb1f32 sys/dev/nvmm/nvmm.c
--- a/sys/dev/nvmm/nvmm.c Tue Sep 08 16:56:29 2020 +0000
+++ b/sys/dev/nvmm/nvmm.c Tue Sep 08 16:58:38 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nvmm.c,v 1.40 2020/09/05 16:30:11 riastradh Exp $ */
+/* $NetBSD: nvmm.c,v 1.41 2020/09/08 16:58:38 maxv Exp $ */
/*
* Copyright (c) 2018-2020 Maxime Villard, m00nbsd.net
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nvmm.c,v 1.40 2020/09/05 16:30:11 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nvmm.c,v 1.41 2020/09/08 16:58:38 maxv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1085,7 +1085,7 @@
}
fp->f_data = NULL;
- return 0;
+ return 0;
}
static int
diff -r a9044e344559 -r 1b69c0bb1f32 sys/dev/nvmm/nvmm_ioctl.h
--- a/sys/dev/nvmm/nvmm_ioctl.h Tue Sep 08 16:56:29 2020 +0000
+++ b/sys/dev/nvmm/nvmm_ioctl.h Tue Sep 08 16:58:38 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nvmm_ioctl.h,v 1.11 2020/09/05 07:22:25 maxv Exp $ */
+/* $NetBSD: nvmm_ioctl.h,v 1.12 2020/09/08 16:58:38 maxv Exp $ */
/*
* Copyright (c) 2018-2020 Maxime Villard, m00nbsd.net
@@ -31,6 +31,7 @@
#ifndef _NVMM_IOCTL_H_
#define _NVMM_IOCTL_H_
+#include <sys/ioccom.h>
#include <dev/nvmm/nvmm.h>
struct nvmm_ioc_capability {
diff -r a9044e344559 -r 1b69c0bb1f32 sys/dev/nvmm/x86/nvmm_x86.c
--- a/sys/dev/nvmm/x86/nvmm_x86.c Tue Sep 08 16:56:29 2020 +0000
+++ b/sys/dev/nvmm/x86/nvmm_x86.c Tue Sep 08 16:58:38 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nvmm_x86.c,v 1.20 2020/09/06 02:18:53 riastradh Exp $ */
+/* $NetBSD: nvmm_x86.c,v 1.21 2020/09/08 16:58:38 maxv Exp $ */
/*
* Copyright (c) 2018-2020 Maxime Villard, m00nbsd.net
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nvmm_x86.c,v 1.20 2020/09/06 02:18:53 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nvmm_x86.c,v 1.21 2020/09/08 16:58:38 maxv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -405,7 +405,7 @@
CPUID_MPC |
CPUID_XD |
CPUID_MMXX |
- CPUID_MMX |
+ CPUID_MMX |
CPUID_FXSR |
CPUID_FFXSR |
CPUID_PAGE1GB |
diff -r a9044e344559 -r 1b69c0bb1f32 sys/dev/nvmm/x86/nvmm_x86_svm.c
--- a/sys/dev/nvmm/x86/nvmm_x86_svm.c Tue Sep 08 16:56:29 2020 +0000
+++ b/sys/dev/nvmm/x86/nvmm_x86_svm.c Tue Sep 08 16:58:38 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nvmm_x86_svm.c,v 1.79 2020/09/06 02:18:53 riastradh Exp $ */
+/* $NetBSD: nvmm_x86_svm.c,v 1.80 2020/09/08 16:58:38 maxv Exp $ */
/*
* Copyright (c) 2018-2020 Maxime Villard, m00nbsd.net
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nvmm_x86_svm.c,v 1.79 2020/09/06 02:18:53 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nvmm_x86_svm.c,v 1.80 2020/09/08 16:58:38 maxv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -787,7 +787,7 @@
KASSERT(ret == 0);
}
-static inline int
+static inline int
svm_vcpu_event_commit(struct nvmm_cpu *vcpu)
{
if (__predict_true(!vcpu->comm->event_commit)) {
Home |
Main Index |
Thread Index |
Old Index