head	1.1;
access;
symbols
	netbsd-11-0-RC4:1.1
	netbsd-11-0-RC3:1.1
	netbsd-11-0-RC2:1.1
	netbsd-11-0-RC1:1.1
	perseant-exfatfs-base-20250801:1.1
	netbsd-11:1.1.0.42
	netbsd-11-base:1.1
	netbsd-10-1-RELEASE:1.1
	perseant-exfatfs-base-20240630:1.1
	perseant-exfatfs:1.1.0.40
	perseant-exfatfs-base:1.1
	netbsd-9-4-RELEASE:1.1
	netbsd-10-0-RELEASE:1.1
	netbsd-10-0-RC6:1.1
	netbsd-10-0-RC5:1.1
	netbsd-10-0-RC4:1.1
	netbsd-10-0-RC3:1.1
	netbsd-10-0-RC2:1.1
	thorpej-ifq:1.1.0.38
	thorpej-ifq-base:1.1
	thorpej-altq-separation:1.1.0.36
	thorpej-altq-separation-base:1.1
	netbsd-10-0-RC1:1.1
	netbsd-10:1.1.0.34
	netbsd-10-base:1.1
	bouyer-sunxi-drm:1.1.0.32
	bouyer-sunxi-drm-base:1.1
	netbsd-9-3-RELEASE:1.1
	thorpej-i2c-spi-conf2:1.1.0.30
	thorpej-i2c-spi-conf2-base:1.1
	thorpej-futex2:1.1.0.28
	thorpej-futex2-base:1.1
	thorpej-cfargs2:1.1.0.26
	thorpej-cfargs2-base:1.1
	cjep_sun2x-base1:1.1
	cjep_sun2x:1.1.0.24
	cjep_sun2x-base:1.1
	cjep_staticlib_x-base1:1.1
	netbsd-9-2-RELEASE:1.1
	cjep_staticlib_x:1.1.0.22
	cjep_staticlib_x-base:1.1
	thorpej-i2c-spi-conf:1.1.0.20
	thorpej-i2c-spi-conf-base:1.1
	thorpej-cfargs:1.1.0.18
	thorpej-cfargs-base:1.1
	thorpej-futex:1.1.0.16
	thorpej-futex-base:1.1
	netbsd-9-1-RELEASE:1.1
	bouyer-xenpvh-base2:1.1
	phil-wifi-20200421:1.1
	bouyer-xenpvh-base1:1.1
	phil-wifi-20200411:1.1
	bouyer-xenpvh:1.1.0.14
	bouyer-xenpvh-base:1.1
	is-mlppp:1.1.0.12
	is-mlppp-base:1.1
	phil-wifi-20200406:1.1
	ad-namecache-base3:1.1
	netbsd-9-0-RELEASE:1.1
	netbsd-9-0-RC2:1.1
	ad-namecache-base2:1.1
	ad-namecache-base1:1.1
	ad-namecache:1.1.0.10
	ad-namecache-base:1.1
	netbsd-9-0-RC1:1.1
	phil-wifi-20191119:1.1
	netbsd-9:1.1.0.8
	netbsd-9-base:1.1
	phil-wifi:1.1.0.6
	phil-wifi-20190609:1.1
	isaki-audio2:1.1.0.4
	isaki-audio2-base:1.1
	pgoyette-compat-merge-20190127:1.1.2.2
	pgoyette-compat-20190127:1.1
	pgoyette-compat-20190118:1.1
	pgoyette-compat-1226:1.1
	pgoyette-compat:1.1.0.2
	pgoyette-compat-1126:1.1;
locks; strict;
comment	@# @;


1.1
date	2018.11.07.07.43.08;	author maxv;	state Exp;
branches
	1.1.2.1
	1.1.6.1;
next	;
commitid	wcR77DxkGB823ZYA;

1.1.2.1
date	2018.11.07.07.43.08;	author pgoyette;	state dead;
branches;
next	1.1.2.2;
commitid	Zj4q5SspGdKXto1B;

1.1.2.2
date	2018.11.26.01.52.31;	author pgoyette;	state Exp;
branches;
next	;
commitid	Zj4q5SspGdKXto1B;

1.1.6.1
date	2018.11.07.07.43.08;	author christos;	state dead;
branches;
next	1.1.6.2;
commitid	jtc8rnCzWiEEHGqB;

1.1.6.2
date	2019.06.10.22.07.14;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;


desc
@@


1.1
log
@Add NVMM - for NetBSD Virtual Machine Monitor -, a kernel driver that
provides support for hardware-accelerated virtualization on NetBSD.

It is made of an MI frontend, to which MD backends can be plugged. One
MD backend is implemented, x86-SVM, for x86 AMD CPUs.

We install

	/usr/include/dev/nvmm/nvmm.h
	/usr/include/dev/nvmm/nvmm_ioctl.h
	/usr/include/dev/nvmm/{arch}/nvmm_{arch}.h

And the kernel module. For now, the only architecture where we do that
is amd64 (arch=x86).

NVMM is not enabled by default in amd64-GENERIC, but is instead easily
modloadable.

Sent to tech-kern@@ a month ago. Validated with kASan, and optimized
with tprof.
@
text
@#	$NetBSD: Makefile,v 1.1 2018/11/05 00:00:00 maxv Exp $

.if ${MACHINE_ARCH} == "x86_64"
SUBDIR= x86
.endif

.include <bsd.own.mk>

INCSDIR= /usr/include/dev/nvmm

INCS=	nvmm.h nvmm_ioctl.h

.include <bsd.kinc.mk>
@


1.1.6.1
log
@file Makefile was added on branch phil-wifi on 2019-06-10 22:07:14 +0000
@
text
@d1 13
@


1.1.6.2
log
@Sync with HEAD
@
text
@a0 13
#	$NetBSD: Makefile,v 1.1 2018/11/07 07:43:08 maxv Exp $

.if ${MACHINE_ARCH} == "x86_64"
SUBDIR= x86
.endif

.include <bsd.own.mk>

INCSDIR= /usr/include/dev/nvmm

INCS=	nvmm.h nvmm_ioctl.h

.include <bsd.kinc.mk>
@


1.1.2.1
log
@file Makefile was added on branch pgoyette-compat on 2018-11-26 01:52:31 +0000
@
text
@d1 13
@


1.1.2.2
log
@Sync with HEAD, resolve a couple of conflicts
@
text
@a0 13
#	$NetBSD: Makefile,v 1.1 2018/11/07 07:43:08 maxv Exp $

.if ${MACHINE_ARCH} == "x86_64"
SUBDIR= x86
.endif

.include <bsd.own.mk>

INCSDIR= /usr/include/dev/nvmm

INCS=	nvmm.h nvmm_ioctl.h

.include <bsd.kinc.mk>
@


