]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve: add helper func to write a dsdt entry
authorCorvin Köhne <corvink@FreeBSD.org>
Thu, 7 Oct 2021 13:58:27 +0000 (15:58 +0200)
committerCorvin Köhne <corvink@FreeBSD.org>
Tue, 14 Feb 2023 07:28:27 +0000 (08:28 +0100)
commit682a522d61223920f23a202aa57901f38bdfd8dd
treeee9776280c8fc6de3474ce405d1eef90cddd50c0
parent13a1df5b85e992570f45248bfe9d581dc182b755
bhyve: add helper func to write a dsdt entry

The guest will check the dsdt to detect acpi devices. Therefore, add a
helper function to create such a dsdt entry for an acpi device.

Reviewed by: markj
MFC after: 1 week
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D38329
usr.sbin/bhyve/acpi_device.c
usr.sbin/bhyve/acpi_device.h