88ac695858
to the qemu one, and uses the same i/o ports but with different messaging. Requires the 'bootrom' option to be enabled. This is used by UEFI (and potentially other BIOSs/firmware) to request information from bhyve. Currently, only the number of vCPUs is made available, with more to follow. A very large thankyou to Ben Perrault who helped out testing an earlier version of this, and bhyve/Windows in general. Reviewed by: tychon Discussed with: neel Sponsored by: Nahanni Systems
53 lines
673 B
Makefile
53 lines
673 B
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PROG= bhyve
|
|
|
|
DEBUG_FLAGS= -g -O0
|
|
|
|
MAN= bhyve.8
|
|
|
|
SRCS= \
|
|
atkbdc.c \
|
|
acpi.c \
|
|
bhyverun.c \
|
|
block_if.c \
|
|
bootrom.c \
|
|
consport.c \
|
|
dbgport.c \
|
|
fwctl.c \
|
|
inout.c \
|
|
ioapic.c \
|
|
mem.c \
|
|
mevent.c \
|
|
mptbl.c \
|
|
pci_ahci.c \
|
|
pci_emul.c \
|
|
pci_hostbridge.c \
|
|
pci_irq.c \
|
|
pci_lpc.c \
|
|
pci_passthru.c \
|
|
pci_virtio_block.c \
|
|
pci_virtio_net.c \
|
|
pci_virtio_rnd.c \
|
|
pci_uart.c \
|
|
pm.c \
|
|
post.c \
|
|
rtc.c \
|
|
smbiostbl.c \
|
|
task_switch.c \
|
|
uart_emul.c \
|
|
virtio.c \
|
|
xmsr.c \
|
|
spinup_ap.c
|
|
|
|
.PATH: ${.CURDIR}/../../sys/amd64/vmm
|
|
SRCS+= vmm_instruction_emul.c
|
|
|
|
LIBADD= vmmapi md pthread
|
|
|
|
WARNS?= 2
|
|
|
|
.include <bsd.prog.mk>
|