HomeFreeBSD

bhyve: add basic basl implementation

Description

bhyve: add basic basl implementation

Basl is the bhyve ASL compiler. At the moment, it's just a small wrapper
to call iasl, the Intel ASL compiler. As bhyve will gain support for
qemu's ACPI table loader in the future, it has to create ACPI tables on
it's own. Therefore, it makes sense to create a new file which keeps the
code for basl.

This first implementation of basl supports creating an ACPI table by
appending raw bytes to it. It's also capable of loading all tables into
guest memory.

Reviewed by: jhb, markj (older version)
Approved by: manu (mentor)
MFC after: 2 weeks
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D36984

(cherry picked from commit 21bbc28426d6b88adfdd8c66d0bc936652e0191d)

Details

Provenance
corvinkAuthored on Nov 4 2022, 11:24 AM
Reviewer
jhb
Differential Revision
D36984: [PATCH 1/19] bhyve: add basic basl implementation
Parents
rG59339f3a16c0: vmm: remove unneccessary rendezvous assertion
Branches
Unknown
Tags
Unknown