summaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorryo <ryo@NetBSD.org>2020-10-27 08:57:10 +0000
committerryo <ryo@NetBSD.org>2020-10-27 08:57:10 +0000
commit83cd9ae7051cd33708ec8aacf025ec61f4078c25 (patch)
tree05581473e9163498139340a689fbf5b4bf833810 /sys/modules
parentba00db691ee1eb852c6e6c3c4983077feede5871 (diff)
move vmt(4) from MD to MI, and add support vmt on aarch64. tested on ESXi-Arm Fling
- move from sys/arch/x86/x86/{vmt.c,vmtreg.h,vmtvar.h} to sys/dev/vmt/{vmt_subr.c,vmtreg.h,vmtvar.h}, and split the attach part of the cpufeaturebus and fdt - add aarch64 vmware backdoor op - add include guard to vmt{reg,var}.h - Yet there is still some little-endian dependency. it needs to be fixed in order to work properly on aarch64eb
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/vmt/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/modules/vmt/Makefile b/sys/modules/vmt/Makefile
index b6983bca4e8..60714bc19e5 100644
--- a/sys/modules/vmt/Makefile
+++ b/sys/modules/vmt/Makefile
@@ -1,11 +1,13 @@
-# $NetBSD: Makefile,v 1.3 2019/02/17 04:06:00 rin Exp $
+# $NetBSD: Makefile,v 1.4 2020/10/27 08:57:11 ryo Exp $
.include "../Makefile.inc"
.PATH: ${S}/arch/x86/x86
+.PATH: ${S}/dev/vmt
KMOD= vmt
IOCONF= vmt.ioconf
-SRCS= vmt.c
+SRCS= vmt.c \
+ vmt_subr.c
.include <bsd.kmodule.mk>