Skip to content

Instantly share code, notes, and snippets.

@nonakap
Created June 29, 2012 08:25
Show Gist options
  • Save nonakap/3016645 to your computer and use it in GitHub Desktop.
Save nonakap/3016645 to your computer and use it in GitHub Desktop.
BHyVe×NetBSD (1)
# BIOS32 routines
define bios32
file arch/amd64/amd64/bios32.c bios32 needs-flag
# BHyVe
device vmm {}
#
# System bus types
#
# XXX BIOS32 only if something that uses it is configured!
device mainbus {}: isabus, pcibus, bios32, acpibus, cpubus, ioapicbus, ipmibus, vmm
attach mainbus at root
file arch/amd64/amd64/mainbus.c mainbus
(snip)
# BHyVe
attach vmm at mainbus
file arch/amd64/vmm/vmm.c vmm needs-flag
file arch/amd64/vmm/vmm_dev.c vmm
file arch/amd64/vmm/vmm_ipi.c vmm
file arch/amd64/vmm/vmm_lapic.c vmm
file arch/amd64/vmm/vmm_mem.c vmm
file arch/amd64/vmm/vmm_msr.c vmm
file arch/amd64/vmm/vmm_stat.c vmm
file arch/amd64/vmm/vmm_util.c vmm
file arch/amd64/vmm/x86.c vmm
file arch/amd64/vmm/vmm_support.S
file arch/amd64/vmm/io/iommu.c vmm
#file arch/amd64/vmm/io/ppt.c vmm
file arch/amd64/vmm/io/vdev.c vmm
file arch/amd64/vmm/io/vlapic.c vmm
file arch/amd64/vmm/intel/ept.c vmm
file arch/amd64/vmm/intel/vmcs.c vmm
file arch/amd64/vmm/intel/vmx_msr.c vmm
file arch/amd64/vmm/intel/vmx.c vmm
#file arch/amd64/vmm/intel/vtd.c vmm
#file arch/amd64/vmm/amd/amdv.c vmm
include "arch/amd64/conf/majors.amd64"
endif #xen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment