]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Replay r349335 by scottl accidentally reverted by r349352
authorimp <imp@FreeBSD.org>
Tue, 25 Jun 2019 06:14:05 +0000 (06:14 +0000)
committerimp <imp@FreeBSD.org>
Tue, 25 Jun 2019 06:14:05 +0000 (06:14 +0000)
commit650d07809ae099ab8f062186dcaf0b5034f00fb7
treeb5fc130cdabb202d197a1d6c05f5709f028ebef3
parent98da6f1c00e274a2a2f4601ae8f8d5326516d7b8
Replay r349335 by scottl accidentally reverted by r349352

Add the PCI HDAudio device model from the 2016 GSoC.  Detailed information
can be found at

https://wiki.freebsd.org/SummerOfCode2016/HDAudioEmulationForBhyve

This commit has evolved from the original work to include Capsicum
integration.  As part of that, it only opens the host audio devices once
and leaves them open, instead of opening and closing them on each guest
access.  Thanks to Peter Grehan and Marcelo Araujo for their help in
bringing the work forward and providing some of the final techncial push.

Submitted by: Alex Teaca <iateaca@freebsd.org>
Differential Revision: D7840, D12419
usr.sbin/bhyve/Makefile
usr.sbin/bhyve/audio.c [new file with mode: 0644]
usr.sbin/bhyve/audio.h [new file with mode: 0644]
usr.sbin/bhyve/hda_codec.c [new file with mode: 0644]
usr.sbin/bhyve/hda_reg.h [new file with mode: 0644]
usr.sbin/bhyve/hdac_reg.h [new file with mode: 0644]
usr.sbin/bhyve/pci_hda.c [new file with mode: 0644]
usr.sbin/bhyve/pci_hda.h [new file with mode: 0644]