HomeFreeBSD

bhyve: add helper to append a basl table without a header

Description

bhyve: add helper to append a basl table without a header

The common style for build an ACPI table will be:

  1. basl_table_create
  2. basl_table_append_header
  3. setup an ACPI_TABLE_* struct
  4. basl_table_append_bytes (without header)

Add a helper for the last step.

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

(cherry picked from commit 8897b562abbf1dbc2d6c83d31ed673d5220c3da3)

Details

Provenance
corvinkAuthored on Nov 16 2022, 8:31 AM
Reviewer
jhb
Differential Revision
D37406: bhyve: add helper to append a basl table without a header
Parents
rGfa0b9dec6931: bhyve: make basl_table_add_* functions public
Branches
Unknown
Tags
Unknown