]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve: use basl to load ACPI tables
authorCorvin Köhne <corvink@FreeBSD.org>
Fri, 4 Nov 2022 11:30:37 +0000 (12:30 +0100)
committerCorvin Köhne <corvink@FreeBSD.org>
Tue, 15 Nov 2022 07:27:06 +0000 (08:27 +0100)
commit22a2e94f3805195bf8195c81f7fda4157ebae372
tree504fcae533389e385b6d9f4f4ee97c92bbc71dc4
parentac3c2b3e38fb03b0d0e26ffa0527735575984ba2
bhyve: use basl to load ACPI tables

Load the blobs compiled by iasl into a basl_table. The basl_table is a
temporary buffer which copies the ACPI tables into guest memory for us.
This allows us in the future to pass the blobs over the qemu fwcfg
interface to the guest.

Reviewed by: jhb, markj
Approved by: manu (mentor)
MFC after: 2 weeks
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D36986
usr.sbin/bhyve/acpi.c