HomeFreeBSD

bhyve: make basl_table_add_* functions public

Description

bhyve: make basl_table_add_* functions public

The code will be more readable if we use struct definitions from ACPI-CA
to build ACPI tables. We can fill out the struct and append it to the
basl_table by using basl_table_append_bytes. After that, we have to
declare which checksums, length and pointers should be patched by basl.
That's done by the add_* functions.

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/D37405

Details

Provenance
corvinkAuthored on Nov 16 2022, 8:15 AM
Reviewer
jhb
Differential Revision
D37405: bhyve: make basl_table_add_* functions public
Parents
rGbdbb1da75a8c: bhyve: build FACS table by basl
Branches
Unknown
Tags
Unknown