add a port of the VMware Tools driver vmt(4) from OpenBSD
This commit is contained in:
parent
3645bf80e9
commit
233dd477e3
@ -1,4 +1,4 @@
|
||||
# $NetBSD: files.x86,v 1.72 2011/08/29 22:46:56 dyoung Exp $
|
||||
# $NetBSD: files.x86,v 1.73 2011/10/17 22:39:22 jmcneill Exp $
|
||||
|
||||
# options for MP configuration through the MP spec
|
||||
defflag opt_mpbios.h MPBIOS MPVERBOSE MPDEBUG MPBIOS_SCANPCI
|
||||
@ -61,6 +61,10 @@ device viac7temp: sysmon_envsys
|
||||
attach viac7temp at cpufeaturebus
|
||||
file arch/x86/x86/viac7temp.c viac7temp
|
||||
|
||||
device vmt: sysmon_power
|
||||
attach vmt at cpufeaturebus
|
||||
file arch/x86/x86/vmt.c vmt
|
||||
|
||||
file arch/x86/x86/apic.c ioapic | lapic
|
||||
file arch/x86/x86/bus_dma.c
|
||||
file arch/x86/x86/bus_space.c
|
||||
|
1195
sys/arch/x86/x86/vmt.c
Normal file
1195
sys/arch/x86/x86/vmt.c
Normal file
File diff suppressed because it is too large
Load Diff
14
sys/modules/vmt/Makefile
Normal file
14
sys/modules/vmt/Makefile
Normal file
@ -0,0 +1,14 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/10/17 22:39:23 jmcneill Exp $
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
||||
.PATH: ${S}/arch/x86/x86
|
||||
|
||||
KMOD= vmt
|
||||
IOCONF= vmt.ioconf
|
||||
SRCS= vmt.c
|
||||
COPTS.vmt.c= -O0
|
||||
|
||||
WARNS= 4
|
||||
|
||||
.include <bsd.kmodule.mk>
|
10
sys/modules/vmt/vmt.ioconf
Normal file
10
sys/modules/vmt/vmt.ioconf
Normal file
@ -0,0 +1,10 @@
|
||||
# $NetBSD: vmt.ioconf,v 1.1 2011/10/17 22:39:23 jmcneill Exp $
|
||||
|
||||
ioconf vmt
|
||||
|
||||
include "conf/files"
|
||||
include "arch/x86/conf/files.x86"
|
||||
|
||||
pseudo-root cpufeaturebus*
|
||||
|
||||
vmt0 at cpufeaturebus?
|
Loading…
Reference in New Issue
Block a user